export-agent
Translate agent configurations across multiple frameworks with a single command. Export to Claude Code, OpenAI, CrewAI, Lyzr, GitHub Models, and other formats, or import from existing Claude, Cursor, and CrewAI projects to standardize your automation setup.
export-agent converts agent definitions between frameworks like Claude Code, OpenAI, CrewAI, Lyzr, and GitHub Models.
AI-generated summary based on this skill's SKILL.md
Install
open-gitagent/opengap/export-agent · repository language: TypeScript
git clone https://github.com/open-gitagent/opengap
cp -r opengap/examples/gitagent-helper/skills/export-agent ~/.claude/skills/export-agentFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I convert an agent between different frameworks?
export-agent lets you translate agent configurations across multiple frameworks with a single command. You can convert between Claude Code, OpenAI, CrewAI, Lyzr, GitHub Models, and other formats, making it easy to standardize your automation setup or switch frameworks without rebuilding from scratch.
Can export-agent export my agent to OpenAI format?
Yes. export-agent supports exporting agents to OpenAI format, including the OpenAI Agents SDK. Simply specify your source agent and the OpenAI export target, and export-agent will handle the conversion automatically, translating your agent definition into the proper OpenAI structure.
How can I migrate CrewAI to Claude Code using export-agent?
export-agent makes CrewAI to Claude Code migration straightforward. Import your CrewAI crew YAML file, then export it to Claude Code format. export-agent handles the framework-specific syntax and configuration differences, so your agent logic transfers cleanly between platforms.
Does export-agent support importing from Cursor rules?
Yes. export-agent can import Cursor rules as agent definitions, converting them into a standardized format you can then export to any supported framework. This lets you leverage existing Cursor automation work within your broader agent ecosystem.
What formats can export-agent export agent definitions to?
export-agent exports to Claude Code, OpenAI, CrewAI, Lyzr, GitHub Models, JSON, YAML, and Python formats. You can also generate system prompts and agent definitions for LLMs, giving you flexibility to work with nearly any agent framework or deployment target.
Can I import Claude or CrewAI projects into export-agent?
Absolutely. export-agent imports existing agent projects from Claude, Cursor, and CrewAI, letting you standardize configurations across your automation setup. Once imported, you can export to any supported framework or modify the agent definition before deploying elsewhere.
SKILL.md
rendered from the published skill — quoted content, verbatim
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 |
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 1 file
examples/gitagent-helper/skills/export-agent/SKILL.md