AgentPearl Exporter
Use this skill to build a pure agent-core export from one or more supported repositories.
When To Use It
Use this skill when the user wants to:
- extract only the files that define an agent
- package agent-core files into a clean zip
- detect which supported framework a repo uses
- prepare source material for AI-driven migration into another agent framework
- study the identity, instruction, runtime, capability, multi-agent, or composition layers of an agent repo
Supported Frameworks
The bundled exporter detects these framework signatures:
nanoclaw-ts-bootstrapnanobot-py-templatesnullclaw-zig-bootstrapzeroclaw-rs-config-promptopenfang-rs-manifestscodex-rs-builtins
Workflow
- Confirm the target repositories exist under a common base directory.
- Run
scripts/export-agent-core-pack.sh. - Inspect the resulting zip,
README.txt, andMANIFEST.txt. - If the user needs migration guidance, read
references/AGENT_CORE.mdto map the exported files into agent-core layers.
Commands
Export the default supported repositories under ~/Documents/GitHub:
./scripts/export-agent-core-pack.sh
Export a subset of repositories:
./scripts/export-agent-core-pack.sh --repos nanobot,openfang
Choose a base directory, output directory, and archive name:
./scripts/export-agent-core-pack.sh \
--base-dir ~/Documents/GitHub \
--output-dir ./out \
--name agent-core-snapshot \
--repos codex,nullclaw
Rules
- Keep the archive source-only.
- Include only files that directly define agent behavior.
- Exclude tests, build artifacts, dependency folders, unrelated app code, and target-framework metadata.
- If a repository does not match a supported signature, stop and report it instead of guessing.
References
- Read
references/AGENT_CORE.mdwhen you need the layer model for interpreting exported files.