This is the interoperability layer you need when you're tired of rewriting agent configs for every framework. It converts agent definitions bidirectionally: export to Claude Code, OpenAI, CrewAI, Lyzr, and GitHub Models formats, or import from Claude, Cursor, and CrewAI projects into the gitagent format. The system-prompt export is genuinely useful since you can paste it into any LLM, and having standard formats for OpenAI Python or CrewAI YAML saves real time. The import side handles the reverse, pulling in CLAUDE.md files or .cursorrules and converting them to agent.yaml with proper structure. If you're migrating between frameworks or maintaining agents across multiple platforms, this beats manual translation every time.

GitHub stars
2.8K
last updated
May 28, 2026

Install

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

Installs into .claude/skills of the current project.

Files

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

FormatOutputUse Case
system-promptMarkdownUniversal — paste into any LLM
claude-codeCLAUDE.mdDrop into a Claude Code project
openaiPythonRun with OpenAI Agents SDK
crewaiYAMLRun with CrewAI
openclawJSON + MDRun with OpenClaw
nanobotJSON + MDRun with Nanobot
lyzrJSONCreate agent on Lyzr Studio
githubJSONCall 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

Sponsors

Details

Repository
github.com/open-gitagent/opengap
Categories
Git & Pull Requests, AI & Agent Building, Automation & Workflows
License
MIT
First seen
Jun 11, 2026

More from open-gitagent/opengap

All 18
1OpenHands avataradd-skillOpenHands/extensionsAdd an external skill from a GitHub repository to the current workspace. Use when users want to import, install, or add a skill from a GitHub URL (e.g., `/add-s0skills.sh installs
2rknall avatarDocker Configuration Validatorrknall/claude-skillsComprehensive Docker and Docker Compose validation following best practices and security standards. Use this skill when users ask to validate Dockerfiles, revie0skills.sh installs
3rohitg00 avatarfind-skillsrohitg00/skillkitDiscovers, searches, and installs skills from multiple AI agent skill marketplaces (400K+ skills) using the SkillKit CLI. Supports browsing official partner col0skills.sh installs
4ruvnet avatarPair Programmingruvnet/rufloAI-assisted pair programming with multiple modes (driver$navigator$switch), real-time verification, quality monitoring, and comprehensive testing. Supports TDD,0skills.sh installs
5shang-zhu avatarvideo-translatorshang-zhu/violinDub a video into another language and generate subtitles using the default Together + Cartesia stack. Trigger when the user wants to translate / dub / voice-ove0skills.sh installs
6silverstein avatarminutes-mirrorsilverstein/minutesSelf-coaching analysis of your own behavior across meetings — talk-time ratio, filler words, hedging language, monologue length, energy patterns, and (when meet0skills.sh installs