export-agent

仓库创建 2026年2月25日最近提交 24 天前SkillHot 收录 20 天前
▸ 精选理由

便于在 Claude/OpenAI/CrewAI 等框架间迁移代理定义,省去重复改写。

这个 Skill 做什么

在不同 agent 框架间导出与导入代理定义,生成多种目标格式。

把一个代理的定义在不同框架间互转,能导出到 Claude、OpenAI、CrewAI、GitHub Models 等格式,也能从 Claude、Cursor、CrewAI 导入项目。适合要迁移框架、把 agent 导出用于 LangChain/AutoGen 或将现有自动化工具接入时使用。特点是支持多种目标格式并生成可检视的输出文件,方便验证和二次集成。

▸ 展开 SKILL.md 英文原文

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.

开发编程格式转换迁移互操作导入导出通用
2.9k
Stars
342
Forks
18
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/open-gitagent/opengap/main/examples/gitagent-helper/skills/export-agent/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/open-gitagent/opengap/main/examples/gitagent-helper/skills/export-agent/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Export & Import Agents

## Verify Export

After exporting, check the output matches expectations:

```bash
# 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:

```bash
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 |
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有