agent-export — Claude Code skill: what it does, how to install
agent-export packs agent memory, settings, and workspace assets into a tarball for handoff to Starchild or local backups.
no license 111 installs ★ 33 updated 2026-10-22
npx skills add Starchild-ai-agent/official-skills --skill agent-export -a claude-codeWhat agent-export does
The skill compiles an agent's stored knowledge into a structured tar.gz archive. It parses accumulated context into distinct JSON files covering agent learnings, user preferences, recurring tasks, personality guidelines, and workspace files. Only the root manifest.json file is required, so partial exports remain valid.
Running scripts/export.py with the --check-relay argument validates the runtime before any upload. If this validation script fails, the archive remains safe on disk as an offline snapshot, though remote transmission will be blocked.
Secret hygiene is enforced by design: env/keys.json only tracks variable identifiers, never secret values. Successfully pushing to https://sc-agent-migration.fly.dev/paste returns a download token and a single-use transfer code that expires in 1 hour.
What it helps with
- bundle agent memory and personality into an offline archive
- migrate active tasks and preferences across agent platforms
- generate relay upload codes for receiving Starchild agents
- catalog required environment variable names without exposing secrets
Example prompts for the agent
- Export my agent memory and scheduled tasks into a migration archive
- Create a migration bundle and upload it to the Starchild relay
- Back up agent settings and project files to a local bundle
How to install agent-export
1Skills CLI (Vercel)
npx skills add Starchild-ai-agent/official-skills --skill agent-export -a claude-code2Manually: put the files in place
~/.claude/skills/agent-export/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/agent-export/
1Skills CLI (Vercel)
npx skills add Starchild-ai-agent/official-skills --skill agent-export -a codex2Manually: put the files in place
.agents/skills/agent-export/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add Starchild-ai-agent/official-skills --skill agent-export -a cursor2Manually: put the files in place
.cursor/skills/agent-export/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install Starchild-ai-agent/official-skills agent-export2Manually: put the files in place
.github/skills/agent-export/SKILL.md1Skills CLI (Vercel)
npx skills add Starchild-ai-agent/official-skills --skill agent-export -a gemini-cli2Platform CLI
gemini skills install https://github.com/Starchild-ai-agent/official-skills --path agent-exportManually: put the files in place
.devin/skills/agent-export/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add Starchild-ai-agent/official-skills --skill agent-export -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about agent-export
How to install agent-export in Claude Code?
Run npx skills add Starchild-ai-agent/official-skills --skill agent-export -a claude-code. The definition lands at ~/.claude/skills/agent-export/SKILL.md.
What does agent-export do?
It structures persona definitions, memory entries, and user preferences into a portable bundle for local storage or remote import.
Are API tokens included in the bundle?
No, the export process deliberately captures only the names of expected variables, leaving secret values untouched.