# agent-export

agent-export packs agent memory, settings, and workspace assets into a tarball for handoff to Starchild or local backups.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 111 installs · ★ 33 repo stars
- Author: starchild
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Starchild-ai-agent/official-skills/tree/HEAD/agent-export/SKILL.md
- Updated: 2026-10-22
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/agent-export

## What it 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.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add Starchild-ai-agent/official-skills --skill agent-export -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/agent-export/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/agent-export/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add Starchild-ai-agent/official-skills --skill agent-export -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/agent-export/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add Starchild-ai-agent/official-skills --skill agent-export -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/agent-export/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install Starchild-ai-agent/official-skills agent-export
```

2. **Manually: put the files in place**
- File: `.github/skills/agent-export/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add Starchild-ai-agent/official-skills --skill agent-export -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/Starchild-ai-agent/official-skills --path agent-export
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/agent-export/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add Starchild-ai-agent/official-skills --skill agent-export -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/Starchild-ai-agent/official-skills/tree/HEAD/agent-export/SKILL.md

## When to use it
- 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
- 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

## Similar
- [wiki-export](https://affpapa.org/en/nevibecode/skills/wiki-export.md) — skill · 3300 installs
- [fixing-claude-export-conversations](https://affpapa.org/en/nevibecode/skills/fixing-claude-export-conversations.md) — skill · 825 installs
- [godot-export](https://affpapa.org/en/nevibecode/skills/httpsgithubcomarjun988-godot-export.md) — skill · 537 installs
- [export](https://affpapa.org/en/nevibecode/skills/export.md) — skill · 21 installs
- [dt-figma-export](https://affpapa.org/en/nevibecode/skills/dt-figma-export.md) — skill · ★ 1627 repo stars
- [export-data](https://affpapa.org/en/nevibecode/commands/export-data.md) — command · ★ 41441 repo stars

From the same set: [starchild-ai-agent/official-skills](https://affpapa.org/en/nevibecode/by/starchild-ai-agent/official-skills.md) — 66 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
