wormhole

wormhole is a skill for Claude Code, Codex from aaronsb/claude-code-config. It costs 54 tokens per session (1,265 once invoked), scanned B, original, MIT.

Instructions for transferring files, folders, or text between computers with Magic Wormhole, a tool that uses a short code to connect two devices.

In plain words
What is it for?
Use it when sending or receiving files with Magic Wormhole, checking whether it is installed, choosing an installation command, or deciding whether scp, rsync, or cloud storage is more suitable.
Why use it?
They help choose a suitable transfer method and guide installation and interactive sending or receiving. They also distinguish one-off transfers from recurring or local transfers.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/aaronsb/claude-code-config/wormhole
Any agent
npx skills add aaronsb/claude-code-config --skill wormhole
Clone the repo
git clone --depth 1 https://github.com/aaronsb/claude-code-config

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for wormhole

README.md
[![agentmods](https://agentmods.dev/badge/skills/aaronsb/claude-code-config/wormhole.svg)](https://agentmods.dev/skills/aaronsb/claude-code-config/wormhole)
Your own site
<a href="https://agentmods.dev/skills/aaronsb/claude-code-config/wormhole"><img src="https://agentmods.dev/badge/skills/aaronsb/claude-code-config/wormhole.svg" alt="Measured on agentmods" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,265 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00054 $0.01265
Opus 5 $0.00027 $0.00633
Sonnet 5 $0.00011 $0.00253
Haiku 4.5 $0.00005 $0.00127

Measured 3d ago against content hash cab1f7f1367c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

wormhole scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

| Arch Linux | `sudo pacman -S magic-wormhole` |
skills/wormhole/SKILL.md · 147 lines

How it starts

The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Magic Wormhole File Transfer

Secure, simple transfers between computers using magic-wormhole codes.

When to Suggest Wormhole

Scenario Tool
Ad-hoc transfer between two machines, no prior setup wormhole
Recurring transfers, SSH already configured scp, rsync
Transfer within same machine or LAN with shared filesystem cp, rsync
Transfer to/from cloud storage provider CLI (aws s3, gsutil, etc.)

Step 0: Check Installation

command -v wormhole 2>/dev/null && echo "installed" || echo "missing"

If missing, detect the platform and install:

uname -s  # Darwin = macOS, Linux = check distro
cat /etc/os-release 2>/dev/null | grep -E '^(ID|ID_LIKE)='
Platform Command
Arch Linux sudo pacman -S magic-wormhole
macOS (Homebrew) brew install magic-wormhole
Debian / Ubuntu sudo apt install magic-wormhole
Fedora sudo dnf install magic-wormhole
pip (fallback) pip install magic-wormhole

Use AskUserQuestion to confirm the install method before running it. Stop the skill flow until installation succeeds.

Step 1: Determine Mode

There are two modes depending on who is running the skill:

  • Interactive — a human is in the loop. Use AskUserQuestion for choices, plain text for free-form values (codes, text content).
  • Automated — a subagent is running this. All parameters (path, code, destination) must be provided in the prompt. No elicitation, no blocking waits for human input.

If you are a subagent, skip all AskUserQuestion calls and use the parameters from your task prompt directly.

Step 2: Ask What They Want To Do

Interactive: Use AskUserQuestion:

  • Send a file — transfer a file to another machine
  • Send a directory — transfer an entire directory (sent as zip)
  • Send text — send a short text snippet
  • Receive — receive an incoming transfer using a wormhole code

Automated: The operation, path/code, and destination must be specified in the task prompt.

Read the full file on GitHub · 147 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 147 lines · 54 tokens per session scan B cab1f7f1367c

Subscribe to this mod's changes

wormhole is a skill published in the GitHub repository aaronsb/claude-code-config (18 stars, last pushed 5mo ago), licensed MIT. It adds 54 tokens to every session and 1,265 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.