create_profile
Create a reusable spawn profile for autonomous agents by saving a task template with variable substitution, a repository URL, and optional settings like branch, effort level, and budget.
Instructions
Save a named spawn config (profile) for repeated use. Task templates support {{variable}} substitution.
// Create once: // create_profile('fix-bugs', 'https://github.com/me/app', 'Fix {{issue}}: {{title}}', 5) // Use many times: // spawn_from_profile('fix-bugs', { issue: '42', title: 'Login broken' })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Profile name (alphanumeric, dash, underscore only) | |
| branch | No | Branch to checkout after cloning (optional) | |
| preamble | No | Custom workflow preamble to inject before every task spawned from this profile. Overrides the default preamble (optional). | |
| repo_url | Yes | Git repository URL to clone | |
| fast_mode | No | If true, enable fast mode by default for jobs spawned from this profile. Can be overridden at spawn time (optional). | |
| description | No | Human-readable description of this profile (optional) | |
| effort_level | No | Default effort level for jobs spawned from this profile. Can be overridden at spawn time (optional). | |
| task_template | Yes | Task description template; use {{varName}} for substitution | |
| default_budget_usd | No | Default USD budget for jobs spawned from this profile (optional) |