---
description: Create a new OpenCodeKit agent configuration from a prompt
agent: build
---

# Create Agent

User Request: {{args}}

## Step 1: Generate Configuration

Analyze the request and generate a JSON object with this exact structure:

```json
{
  "name": "kebab-case-name",
  "description": "Short description",
  "system_reminder": "Detailed instructions...",
  "tools": { "read": true, "list": true, "glob": true },
  "core_pattern": "...",
  "capabilities": "...",
  "tool_strategy": "..."
}
```

## Step 2: Execute Builder

Run the builder script with the generated JSON. Ensure the JSON is properly escaped as a single string argument.

! python .opencode/skills/specialized/agent-builder/scripts/builder.py '<JSON_STRING>'

## Step 3: Report

Report the location of the new agent.
