export-agent

A converter for moving agent definitions between AI frameworks, which are software systems with different formats for describing and running agents.

In plain words
What is it for?
Use it to export agents as system prompts, Claude Code files, OpenAI Python code, CrewAI YAML, or formats for other listed platforms, and to import agents from Claude, Cursor, or CrewAI projects.
Why use it?
It avoids rewriting the same agent by hand when moving it to another platform or bringing an existing project into the current format.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/open-gitagent/opengap/export-agent
Any agent
npx skills add open-gitagent/opengap --skill export-agent
Clone the repo
git clone --depth 1 https://github.com/open-gitagent/opengap

Made for: Claude Code, Codex.

Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 670 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00076 $0.00670
Opus 5 $0.00038 $0.00335
Sonnet 5 $0.00015 $0.00134
Haiku 4.5 $0.00008 $0.00067

Measured 2d ago against content hash a9a40bc98fd2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

export-agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

examples/gitagent-helper/skills/export-agent/SKILL.md · 90 lines

What it actually says

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
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 90 lines · 76 tokens per session scan A a9a40bc98fd2

Subscribe to this mod's changes

export-agent is a skill published in the GitHub repository open-gitagent/opengap (2,921 stars, last pushed 2mo ago), licensed MIT. It adds 76 tokens to every session and 670 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

a0-create-agent

Create a new Agent Zero agent profile (subordinate). Covers where profiles live (user / plugin-distributed / project-scoped), the agent.yaml schema, the prompt inheritance & override model, and optional profile-specific tools and extensions. Use for any "create/add/new agent profile" request.

agent0ai/agent-zero · 63 tokens

skill-packager

Authors Agent Skills v1.0 packages (SKILL.md plus references/scripts), runs packageskill to produce a standards-compliant zip, and uses installskill to add skills from HTTPS, registry, workspace, or an uploaded archive. Use when the user wants to turn documentation, workflows, or code into a portable skill, export a…

vixues/LeAgent · 87 tokens

workflow-helper

Guidance for creating, managing and executing workflow automations that chain multiple tools and agents together. Use when the user asks about building, listing, running or composing workflows and automated task pipelines.

vixues/LeAgent · 41 tokens

using-rn-dev-agent

Entry point for the rn-dev-agent plugin. Maps user intent to the right command, agent, or skill. Use at the START of any React Native development conversation. Triggers on "I want to build", "build a feature", "add a feature to the app", "test this", "something is broken", "fix the crash", "help with my React Native…

Lykhoyda/rn-dev-agent · 92 tokens

sending-feedback

Use when the user wants to send feedback, report an rn-dev-agent bug, request a plugin feature, or says the rn-dev-agent MCP transport or tools are unavailable. Collects sanitized diagnostics and guides creation of a reviewed GitHub issue.

Lykhoyda/rn-dev-agent · 51 tokens

codex

Delegate coding to OpenAI Codex CLI (features, PRs).

john-data-chen/hermes-agent-backup · 17 tokens