# localsend-agent-skill

> Move files between an agent's machine and phones or desktops with LocalSend, and know exactly when a transfer finished.

localsend-agent-skill is a free AI agent skill on Agensi by CovertJaguar, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [CovertJaguar](https://www.agensi.io/creators/covertjaguar)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Version: 1.1
- Last updated: 2026-11-20
- Security: scan passed (2026-11-20); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/localsend-agent-skill
- Tags: file-transfer, localsend, networking, automation, cli, local-network

## About this skill

### LocalSend agent skill

Let an agent move files both ways between this machine and any device running
[LocalSend](https://localsend.org) — Android, iOS, Windows, macOS or Linux —
with no GUI and no cloud account.

#### What the agent gets

- **Receive** transfers into a directory, auto-accepting when told to, and
  record each session as JSON: the announced manifest, the bytes actually
  written, a SHA-256 per file, and an `ok` verdict.
- **Send** files or whole directories to a device by name or IP.
- **Know when it landed** — `scripts/wait-transfer.py` blocks on the receiver's
  event log and exits `0` (verified), `2` (short or missing file) or `124`
  (timeout), so an agent is woken with a verdict instead of guessing from file
  timestamps.
- **Hook** any shell command per finished transfer with `--on-complete`.

#### Why the verification matters

The most common LocalSend failure is a file announced at 5 MB that lands as 0
bytes while every HTTP status says 200. This skill compares each saved file
against the announced size and records its SHA-256, so "done" means done. It
also presents a client certificate to LocalSend 2.1+ receivers that require
mutual TLS, and binds dual-stack so IPv6 senders are answered.

#### Contents

- `SKILL.md` — the workflow, including when to close a receiver and when to
  leave it open for more transfers.
- `references/ops-notes.md` — failure modes that produce no useful error:
  chunked bodies, mutual TLS, IPv6 binding, discovery.
- `scripts/wait-transfer.py` — stdlib-only waiter for the event log.
- `vendor/localsend-cli/` — the CLI itself, MIT, a single-file Python script.

#### Requirements

Python 3.8+, `openssl`, TCP `53317` reachable on the LAN, and the peer device on
the same L2 network.

## Requires

- Runs on macOS only
- Python 3.8+
- openssl
- TCP port 53317
- LocalSend app on the peer
- clawhub
- Node.js
- Optional: Git for Windows provides openssl

On Windows, prepend C:\Program Files\Git\usr\bin to PATH so the CLI can find openssl.

## Known limitations

LocalSend needs L2 adjacency: guest Wi-Fi, VPNs and cloud sandboxes can block discovery and transfers. The receiving app must accept each transfer unless it runs with -y.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the localsend-agent-skill skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What does localsend-agent-skill do?

Move files between an agent's machine and phones or desktops with LocalSend, and know exactly when a transfer finished.

### Which AI agents support localsend-agent-skill?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use localsend-agent-skill?

Connect your AI agent to Agensi through MCP, then ask it to use localsend-agent-skill on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
