/agent-exchange:publish-template-changefrom agent-exchange
Change 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.
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.
Never make layout or snippet changes only in the local folder or in ~/CLAUDE.md.
The next update overwrites the managed parts. Personal preferences (location,
bookmarks) belong in ~/.config/claude-agent-exchange/config.json, not the template.
T=$(find ~ -maxdepth 6 -type d -name Claude-Agent-Exchange -path '*repos*' 2>/dev/null | head -1)
[ -n "$T" ] || { T="${TMPDIR:-/tmp}/claude-agent-exchange-dev"; gh repo clone danielrosehill/Claude-Agent-Exchange "$T"; }
git -C "$T" pull --ff-only
Don't edit ~/.cache/claude-agent-exchange/repo. The update skills reset it with
reset --hard.
template/| Change | Where |
|---|---|
| Rules Claude follows | CLAUDE-snippet.md. Keep ## File exchange folder as the first line. {root} is replaced with the user's folder |
| Add a dir | template.json → dirs, plus Claude-Exchange/<dir>/.gitkeep |
| Rename a dir | template.json → dirs, plus "renamed": {"old": "new"}. Major version bump. Update the skills and the explorer (explorer/agent_exchange/app.py constants) in the same commit |
| A file installed into the folder | the file under Claude-Exchange/, plus its entry in managed_files |
| How applying works | apply.py. Test with --dry-run --root <tmpdir> --claude-md <tmp copy> |
Bump version in template/template.json (semver). If the plugin's skills change, also
bump version in .claude-plugin/plugin.json and the plugin's entry in the
danielrosehill/Claude-Code-Plugins marketplace.
git -C "$T" add -A && git -C "$T" commit -m "Template <version>: <what changed>" && git -C "$T" push
Then run update-exchange on this machine.
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./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.Other plugins' skills for the same job
/save-for-usernpx claudepluginhub danielrosehill/claude-agent-exchange --plugin agent-exchange