/agent-exchange:update-exchangefrom agent-exchange
Bring this machine's Claude Agent Exchange up to date with the project repo — the folder layout, the ~/CLAUDE.md block and the explorer app. Compares the installed template version in <root>/.template.json with the repo's, shows what would change, then applies. Never touches user files. Use when the user says "update the exchange", "pull the template", "update the exchange explorer", after publish-template-change, or when the installed version is behind.
Ships in agent-exchange. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
REPO="${XDG_CACHE_HOME:-$HOME/.cache}/claude-agent-exchange/repo"
if [ -d "$REPO/.git" ]; then
git -C "$REPO" fetch -q origin && git -C "$REPO" reset -q --hard origin/main
else
mkdir -p "$(dirname "$REPO")" && git clone -q https://github.com/danielrosehill/Claude-Agent-Exchange "$REPO"
fi
X=$(python3 -I "$REPO/template/apply.py" --print-root)
echo "installed: $(cat "$X/.template.json" 2>/dev/null || echo none)"
echo "template: $(python3 -I -c "import json;print(json.load(open('$REPO/template/template.json'))['version'])") $(git -C "$REPO" rev-parse --short HEAD)"
If nothing is installed (no $X/.template.json), run setup-exchange instead.
"$REPO/install.sh" --dry-run
"$REPO/install.sh" # add --no-app on machines without the explorer
renamed_dirs, created_dirs or updated_files, and
claude_md: unchanged, the folder is current. Still run install.sh if the
explorer code changed (check the git log since the installed commit).renamed in template.json is applied automatically, and only when the new name
doesn't exist yet. rename_conflicts means both exist: propose merging and do it
only once the user agrees.commit before
applying.orphan_dirs lists dirs the template doesn't know. Report them and leave them alone.Give the old version → new version, what changed, and any conflicts or orphans.
What SKILL.md sets; muted values are Claude Code's defaults
8 skills in this plugin
/fetch-from-drivePick up a file the user uploaded to the exchange Shared Drive's inbox folder ("fe", first entry), usually from their phone's share sheet, download it locally, verify it, then move the Drive copy to the trash. Use when the user says "I just shared it", "it's in fe", "check the drive", "grab the recording I sent", or refers to a file sent from their phone without giving a path./publish-template-changeChange how Claude Agent Exchange works at the source — the folder layout, the CLAUDE.md snippet, or apply.py in the project repo (danielrosehill/Claude-Agent-Exchange, template/) — bump the template version, commit and push, then apply locally with update-exchange. Use when the user wants to change the exchange ("add a folder to the exchange", "change the exchange rules in CLAUDE.md", "update the template"), or when a local tweak should become the standard./read-from-humanLocal-folder mode only, when no Drive exchange is configured (otherwise use fetch-from-drive). Pick up files the user dropped into the exchange folder's from-human/ directory (default ~/Desktop/Claude-Exchange/from-human), listing what's new since Claude last looked, and use them in the current task. Use when the user says "I put something in the folder", "check the exchange", "use the file I dropped in", "grab what I gave you", or refers to a file they passed in without giving a path./save-for-userLocal-folder mode only, when no Drive exchange is configured (otherwise use send-to-drive). Save a file for the user in the exchange folder's from-agent/ directory (default ~/Desktop/Claude-Exchange/from-agent) with a dated, descriptive name, and tell them the full path. Use when the user says "save that for me", "give me the file", "export it", "put it somewhere I can grab it", or when Claude produces a file for the user and no other destination was named. Not for files that belong in a repo or on Drive./send-to-driveLeave a file for the user in the exchange Shared Drive's from-agent folder (or the optional shared folder) with a dated name, verify the upload and give them the link. Use when the user says "send it to my phone", "put it on the drive", "save it for me", "share it with us", or when Claude produces a file for the user and no other destination was named./setup-exchangeSet up Claude Agent Exchange on this machine — the exchange folder (default ~/Desktop/Claude-Exchange with from-human/ and from-agent/), the marked ~/CLAUDE.md block that makes Claude use it unprompted, and the dedicated explorer app with its desktop launcher. Use on first use on a machine, or when the user says "set up the exchange folder", "install the agent exchange", "create the drop folder", or another agent-exchange skill finds the folder missing.Other plugins' skills for the same job
npx claudepluginhub danielrosehill/claude-agent-exchange --plugin agent-exchange