# 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.

- **Type:** Skill
- **Install:** `agentstack add skill-open-gitagent-opengap-export-agent`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [open-gitagent](https://agentstack.voostack.com/s/open-gitagent)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [open-gitagent](https://github.com/open-gitagent)
- **Source:** https://github.com/open-gitagent/opengap/tree/main/examples/gitagent-helper/skills/export-agent
- **Website:** https://gitagent.sh

## Install

```sh
agentstack add skill-open-gitagent-opengap-export-agent
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

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

```bash
opengap import --from   [-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
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
```

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [open-gitagent](https://github.com/open-gitagent)
- **Source:** [open-gitagent/opengap](https://github.com/open-gitagent/opengap)
- **License:** MIT
- **Homepage:** https://gitagent.sh

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-open-gitagent-opengap-export-agent
- Seller: https://agentstack.voostack.com/s/open-gitagent
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
