Self-Improving Agent
一个面向 Automation 场景的 Agent 技能。原始说明:Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Clau...
一个面向 Automation 场景的 Agent 技能。原始说明:Creates new Overstory agents for Overclaw by updating all seven integration points (config, manifest, agent-def, gateway prompt, task_router, generate_agent_...
name: create-agent
displayName: Create Agent | Overclaw Skill
description: Creates new Overstory agents for Overclaw by updating all seven integration points (config, manifest, agent-def, gateway prompt, taskrouter, generateagent_context, and regeneration). Supports manual creation and optional analysis from logs, TROUBLESHOOTING.md, mulch, and project tree.
version: 1.0.0
Creates and registers new Overstory agents so Overclaw can recognize and use them. Automates the steps documented in .overstory/CREATING<em>AGENTS.md.
Main CLI for creating or validating agents.
Manual creation:
python3 scripts/create_agent.py \
--name "troubleshooter" \
--description "Analyzes logs and troubleshoots issues" \
--capabilities "troubleshoot,debug,analyze" \
--model "sonnet" \
--tools "Read,Glob,Grep,Bash" \
--can-spawn false \
--constraints "read-only"
Options: --dry-run (preview only), --no-regenerate (skip gateway context regeneration), --rollback-on-fail (revert changes if validation fails).
Analysis mode (suggestions only):
python3 scripts/create_agent.py \
--analyze-from-logs \
--analyze-from-troubleshooting \
--suggest-only
Helper for analysis mode: parses logs, TROUBLESHOOTING.md, mulch, and project tree to suggest new agent definitions. Can be run standalone or via create_agent.py --analyze-*.
.overstory/config.yaml — capability entry.overstory/agent-manifest.json — agent + capabilityIndex.overstory/agent-defs/<name>.md — agent definitionscripts/overclaw_gateway.py — orchestrator system promptskills/nanobot-overstory-bridge/scripts/task_router.py — CAPABILITY_PATTERNSskills/nanobot-overstory-bridge/scripts/generate_agent_context.py — CAPABILITY_PRIVILEGES