/agent-exchange:tidy-exchangefrom agent-exchange
Archive old files out of the Claude exchange folder (default ~/Desktop/Claude-Exchange) — anything in from-human/ or from-agent/ older than 14 days (or a given age) moves to archive/YYYY-MM/<side>/. Never deletes. Use when the user says "tidy the exchange", "clear out the drop folder", "archive old exchange files", or the folders have grown long.
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.
Moves files and never deletes. Default age is 14 days by modification time. Use the user's figure if they give one.
X=$(python3 -I -c 'import json,os;c=os.path.expanduser("~/.config/claude-agent-exchange/config.json");r=os.environ.get("CLAUDE_EXCHANGE_DIR") or (json.load(open(c)).get("root") if os.path.exists(c) else None) or "~/Desktop/Claude-Exchange";print(os.path.abspath(os.path.expanduser(r)))'); DAYS=14
for side in from-human from-agent; do
find "$X/$side" -mindepth 1 -maxdepth 1 ! -name '.*' -mtime +$DAYS -printf "$side\t%TY-%Tm\t%f\n"
done
Show the list: count per side, plus names if there are fewer than about 20. If nothing is old enough, say so and stop. Run it without asking when the user asked for a tidy. Ask first when you're tidying on your own initiative.
Each top-level entry (a file or a whole subfolder) goes to
$X/archive/<YYYY-MM of its mtime>/<side>/<name>. Create directories as needed. On a
name clash, add -2, -3 and so on. Use mv -n and check afterwards that the source
is gone and the target exists.
Also remove moved items from the manifests so they don't grow without limit:
from-human/.seen.json (what the agent has read) and from-agent/.opened.json (what
the human has opened in the explorer).
Give the number moved per side and where they went. The archive is never pruned by this skill. If the user wants it cleared, that's an explicit delete they confirm.
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-humanOther plugins' skills for the same job
npx claudepluginhub danielrosehill/claude-agent-exchange --plugin agent-exchange