
Create Agent
This is the scaffolding tool for building OpenGAP agents from scratch. It handles the boilerplate: generating agent.yaml configs with model preferences and constraints, writing SOUL.md personality definitions, and setting up the directory structure for skills, tools, and knowledge documents. You'd reach for this when spinning up a new agent rather than hand-writing all the YAML and markdown files. The quick start is solid, walking you through mkdir to validation, and the SOUL.md guidance about core identity and communication style is actually helpful. One thing to note is it assumes you're familiar with the OpenGAP agent structure, so if you're brand new to the framework, read through the reference sections first.
- GitHub stars
- 2.8K
- last updated
- May 28, 2026
Install
$ npx -y skills add open-gitagent/opengap --skill create-agent --agent claude-codeInstalls into .claude/skills of the current project.
Files
Create & Configure Agents
Quick Start
- Create directory structure:
mkdir -p my-agent/skills - Write
agent.yamlwith required fields (see below) - Create
SOUL.mdwith agent identity - Add skills, tools, and knowledge as needed
- Validate:
opengap validate -d ./my-agent
agent.yaml Reference
Required Fields
spec_version: "0.1.0"
name: my-agent # Unique identifier
version: 1.0.0 # Semantic version
description: What this agent does
Model Configuration
model:
preferred: claude-sonnet-4-5-20250929
fallback:
- claude-haiku-4-5-20251001
constraints:
temperature: 0.2 # 0.0 - 1.0
max_tokens: 4096
top_p: 0.9
Skills & Tools
skills:
- code-review # Must match directory name in skills/
- security-audit
tools:
- lint-check # Must match filename in tools/ (without .yaml)
Runtime
runtime:
max_turns: 20 # Max conversation turns
timeout: 120 # Seconds
Sub-Agents
agents:
reviewer:
description: Reviews code quality
delegation:
mode: auto
triggers:
- "review this"
Sponsors
Details
- Repository
- github.com/open-gitagent/opengap
- Category
- AI & Agent Building
- License
- MIT
- First seen
- Jun 11, 2026