Skip to main content
ClaudeWave
Skill2.8k repo starsupdated 16d ago

export-agent

The export-agent skill converts agent definitions between multiple frameworks and platforms, supporting export to Claude Code, OpenAI, CrewAI, Lyzr, GitHub Models, and other formats, as well as importing from Claude, Cursor, and CrewAI projects. Use this when migrating agents between different automation tools, converting existing agent configurations to a new framework, or standardizing agent definitions across platforms.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/open-gitagent/opengap /tmp/export-agent && cp -r /tmp/export-agent/examples/gitagent-helper/skills/export-agent ~/.claude/skills/export-agent
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

# 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 <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
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 <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
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
```
document-reviewSkill

Reviews financial documents (prospectuses, ADVs, marketing materials) for FINRA 2210 compliance, required disclosures, and balanced presentation. Use when reviewing financial statements, audit documents, regulatory filings, or when the user mentions compliance checks, financial audits, or document verification.

regulatory-analysisSkill

Analyzes documents and processes against FINRA, SEC, Federal Reserve, and CFPB regulatory frameworks. Identifies compliance gaps, classifies findings by severity, and recommends remediation. Use when performing compliance audits, regulatory reviews, gap analyses, or verifying policy adherence to financial regulations.

create-agentSkill

Creates and configures agent.yaml files, writes SOUL.md personality definitions, and sets up agent directory structures with skills, tools, and knowledge. Use when the user wants to configure an agent, create agent.yaml, write SOUL.md, set up agent directory structure, or customize agent settings.

get-startedSkill

Guides installation of gitagent and creation of first agent with scaffolding, configuration, and validation. Use when the user is new to gitagent, asks how to get started, wants to install gitagent, set up their first agent, or says 'how do I start?'

manage-skillsSkill

Searches the SkillsMP registry, installs skills locally or globally, creates custom skills with SKILL.md frontmatter, and manages the skill lifecycle. Use when the user wants to find skills, add new capabilities, install a skill, browse available skills, create a custom skill, or manage the skills system.

run-agentSkill

Configures and runs agents with different adapters including Claude, OpenAI, CrewAI, Lyzr, and GitHub Models. Supports local execution, remote git repos, and one-shot prompts. Use when the user wants to run an agent, switch LLM providers, configure adapter settings, or launch agents from git repositories.

compute-ladderSkill

>

narco-checkSkill

>