export-agent
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.
Packaged view
This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.
Install command
npx @skill-hub/cli install open-gitagent-gitagent-export-agent
Repository
Skill path: examples/gitagent-helper/skills/export-agent
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.
Open repositoryBest for
Primary workflow: Ship Full Stack.
Technical facets: Full Stack.
Target audience: everyone.
License: MIT.
Original source
Catalog source: SkillHub Club.
Repository owner: open-gitagent.
This is still a mirrored public skill entry. Review the repository before installing into production workflows.
What it helps with
- Install export-agent into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
- Review https://github.com/open-gitagent/gitagent before adding export-agent to shared team environments
- Use export-agent for development workflows
Works across
Favorites: 0.
Sub-skills: 0.
Aggregator: No.
Original source / Raw SKILL.md
--- name: export-agent 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." license: MIT metadata: author: gitagent version: "1.0.0" category: interop --- # Export & Import Agents ## Verify Export After exporting, check the output matches expectations: ```bash # Verify export file was created and contains agent name gitagent export -f system-prompt -d ./my-agent | head -5 ``` ## Export Convert a gitagent definition to another framework: ```bash gitagent 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 ```bash # Get a system prompt for any LLM gitagent export -f system-prompt -d ./my-agent # Generate a CLAUDE.md gitagent export -f claude-code -d ./my-agent -o CLAUDE.md # Generate Python code for OpenAI gitagent export -f openai -d ./my-agent -o agent.py # Preview what Lyzr API will receive gitagent export -f lyzr -d ./my-agent # Preview GitHub Models payload gitagent export -f github -d ./my-agent ``` ## Import Convert existing agent frameworks into gitagent: ```bash gitagent 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 ```bash # Import a Claude Code project gitagent import --from claude ./my-project # Import from Cursor gitagent import --from cursor ./.cursorrules # Import CrewAI config gitagent import --from crewai ./crew.yaml -d ./imported ```