Agent Skillsopen-gitagent/opengap › export-agent

export-agent

GitHub

提供Agent定义在不同框架间的导出与导入功能,支持Claude、OpenAI、CrewAI等格式转换,实现项目迁移和跨平台兼容。

examples/gitagent-helper/skills/export-agent/SKILL.md open-gitagent/opengap

触发场景

需要转换Agent到不同框架 从现有工具导入Agent配置 迁移至新框架

安装

npx skills add open-gitagent/opengap --skill export-agent -g -y
更多选项

非标准路径

npx skills add https://github.com/open-gitagent/opengap/tree/main/examples/gitagent-helper/skills/export-agent -g -y

不安装直接使用

npx skills use open-gitagent/opengap@export-agent

指定 Agent (Claude Code)

npx skills add open-gitagent/opengap --skill export-agent -a claude-code -g -y

安装 repo 全部 skill

npx skills add open-gitagent/opengap --all -g -y

预览 repo 内 skill

npx skills add open-gitagent/opengap --list

SKILL.md

Frontmatter
{
    "name": "export-agent",
    "license": "MIT",
    "metadata": {
        "author": "gitagent",
        "version": "1.0.0",
        "category": "interop"
    },
    "description": "Converts agent definitions between frameworks — exports to Claude Code, OpenAI, CrewAI, Lyzr, and GitHub Models formats, and imports from Claude, Cursor, and CrewAI projects. Use when the user wants to convert an agent, migrate to another framework, export to LangChain\/AutoGen\/CrewAI, or import from existing automation tools."
}

Export & Import Agents

Verify Export

After exporting, check the output matches expectations:

# Verify export file was created and contains agent name
opengap export -f system-prompt -d ./my-agent | head -5

Export

Convert a gitagent definition to another framework:

opengap export -f <format> -d ./my-agent [-o output-file]

Formats

Format Output Use Case
system-prompt Markdown Universal — paste into any LLM
claude-code CLAUDE.md Drop into a Claude Code project
openai Python Run with OpenAI Agents SDK
crewai YAML Run with CrewAI
openclaw JSON + MD Run with OpenClaw
nanobot JSON + MD Run with Nanobot
lyzr JSON Create agent on Lyzr Studio
github JSON Call GitHub Models API

Examples

# Get a system prompt for any LLM
opengap export -f system-prompt -d ./my-agent

# Generate a CLAUDE.md
opengap export -f claude-code -d ./my-agent -o CLAUDE.md

# Generate Python code for OpenAI
opengap export -f openai -d ./my-agent -o agent.py

# Preview what Lyzr API will receive
opengap export -f lyzr -d ./my-agent

# Preview GitHub Models payload
opengap export -f github -d ./my-agent

Import

Convert existing agent frameworks into gitagent:

opengap import --from <format> <path> [-d target-dir]

Sources

Source Input What It Creates
claude CLAUDE.md, .claude/skills/ agent.yaml, SOUL.md, RULES.md, skills
cursor .cursorrules agent.yaml, SOUL.md, AGENTS.md
crewai crew.yaml agent.yaml, SOUL.md, agents/

Examples

# Import a Claude Code project
opengap import --from claude ./my-project

# Import from Cursor
opengap import --from cursor ./.cursorrules

# Import CrewAI config
opengap import --from crewai ./crew.yaml -d ./imported

版本历史

  • d7a8e2e 当前 2026-07-25 08:12

同 Skill 集合

examples/full/skills/document-review/SKILL.md
examples/full/skills/regulatory-analysis/SKILL.md
examples/gitagent-helper/skills/create-agent/SKILL.md
examples/gitagent-helper/skills/get-started/SKILL.md
examples/gitagent-helper/skills/manage-skills/SKILL.md
examples/gitagent-helper/skills/run-agent/SKILL.md
examples/jason-my-claw-is-the-law-deebee-4567b4/skills/compute-ladder/SKILL.md
examples/jason-my-claw-is-the-law-deebee-4567b4/skills/narco-check/SKILL.md
examples/jason-my-claw-is-the-law-deebee-4567b4/skills/packet-factory/SKILL.md
examples/llm-wiki/skills/wiki-ingest/SKILL.md
examples/llm-wiki/skills/wiki-lint/SKILL.md
examples/llm-wiki/skills/wiki-query/SKILL.md
examples/lyzr-agent/skills/research/SKILL.md
examples/nvidia-deep-researcher/skills/knowledge-retrieval/SKILL.md
examples/nvidia-deep-researcher/skills/paper-search/SKILL.md
examples/nvidia-deep-researcher/skills/web-search/SKILL.md
examples/standard/skills/code-review/SKILL.md

元信息

文件数
0
版本
d7a8e2e
Hash
a9a40bc9
收录时间
2026-07-25 08:12

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-26 18:09
浙ICP备14020137号-1 $访客地图$