Agent Core Extractor

👤 moshiii 📦 v1.0.0 ⭐ 4.4 ⬇️ 896 下載
💻 開發程式設計 免費

📖 技能介紹


name: agentpearl-exporter version: 1.0.0 description: Export the agent core from supported framework repositories into a small source-only zip for AI migration or cross-framework analysis. Use when the user wants to detect supported agent repos, extract only agent-defining files, produce a portability pack, or study identity, instruction, runtime, capability, multi-agent, and prompt-composition layers. metadata: license: MIT author: moshiwei homepage: https://github.com/moshiwei/AgentPearl tags: - agents - portability - migration - export - prompt-engineering openclaw: emoji: shell bins: zip: Optional but recommended for building export archives.


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-bootstrap
  • nanobot-py-templates
  • nullclaw-zig-bootstrap
  • zeroclaw-rs-config-prompt
  • openfang-rs-manifests
  • codex-rs-builtins

Workflow

  1. Confirm the target repositories exist under a common base directory.
  2. Run scripts/export-agent-core-pack.sh.
  3. Inspect the resulting zip, README.txt, and MANIFEST.txt.
  4. If the user needs migration guidance, read references/AGENT_CORE.md to 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.md when you need the layer model for interpreting exported files.

    想要更強大的技能外掛,就來小蔥技能站7w4.net看看吧。

🤖 AI 評測

這個 Skill 質量不錯,主要優點是文件清晰、使用簡單,能自動識別不同框架並提取關鍵檔案。指令碼邏輯完整,支援批次匯出和多引數配置。不足之處是依賴外部 zip 工具且提示不夠明確,Windows 使用者使用起來可能不太方便。

📊 多維度評分

適應性4.4
規範性4.2
有效性4.6
可靠性4.2
可信度4.5

📁 包含檔案 (7 個)

📄 README.md 854 B
📄 SKILL.md 2.6 KB
📄 _meta.json 139 B
📄 agents/openai.yaml 209 B
📄 manifest.yaml 722 B
📄 references/AGENT_CORE.md 3.1 KB
📄 scripts/export-agent-core-pack.sh 7.9 KB