闲社服务运行正常AI智能体自动化平台
c

创建代理

技能标识:create-agent

Creates new Overstory agents for Overclaw by updating all seven integration points (config, manifest, agent-def, gateway prompt, task_router, generate_agent_context, and regeneration). Supports manual creation and optional analysis from logs, TROUBLESHOOTING.md, mulch, and project tree.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

创建代理

创建代理

创建并注册新的Overstory代理,使Overclaw能够识别并使用它们。自动执行.overstory/CREATING_AGENTS.md中记录的步骤。

使用场景

  • - 你想为Overclaw添加新的代理类型(例如故障排查员、文档编写员)。
  • 你想确保所有七个集成点都得到一致更新。
  • 你想根据Overclaw日志、TROUBLESHOOTING.md、mulch或项目结构建议新的代理。

脚本

create_agent.py

用于创建或验证代理的主命令行工具。

手动创建:
bash
python3 scripts/create_agent.py \
--name troubleshooter \
--description 分析日志并排查问题 \
--capabilities troubleshoot,debug,analyze \
--model sonnet \
--tools Read,Glob,Grep,Bash \
--can-spawn false \
--constraints read-only

选项: --dry-run(仅预览)、--no-regenerate(跳过网关上下文重新生成)、--rollback-on-fail(验证失败时回滚更改)。

分析模式(仅建议):
bash
python3 scripts/create_agent.py \
--analyze-from-logs \
--analyze-from-troubleshooting \
--suggest-only

analyzeagentneeds.py

分析模式的辅助工具:解析日志、TROUBLESHOOTING.md、mulch和项目树以建议新的代理定义。可独立运行,也可通过create_agent.py的--analyze-*参数调用。

更新的集成点

  1. 1. .overstory/config.yaml — 能力条目
  2. .overstory/agent-manifest.json — 代理 + 能力索引
  3. .overstory/agent-defs/<名称>.md — 代理定义
  4. scripts/overclawgateway.py — 编排器系统提示
  5. skills/nanobot-overstory-bridge/scripts/taskrouter.py — CAPABILITYPATTERNS
  6. skills/nanobot-overstory-bridge/scripts/generateagentcontext.py — CAPABILITYPRIVILEGES
  7. 重新生成gateway-context.md和skills-manifest.json

参考

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 create-agent-1776291531 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 create-agent-1776291531 技能

通过命令行安装

skillhub install create-agent-1776291531

下载

⬇ 下载 create-agent v1.0.0(免费)

文件大小: 9.17 KB | 发布时间: 2026-4-16 18:12

v1.0.0 最新 2026-4-16 18:12
- Initial release of the Create Agent skill for Overclaw.
- Automates creation and registration of new Overstory agents, updating all seven required integration points.
- Supports both manual agent creation and analysis-driven agent suggestions from logs, troubleshooting files, mulch, and project structure.
- Provides `create_agent.py` CLI tool with validation, dry-run, and rollback options.
- Includes helper script `analyze_agent_needs.py` for suggesting agent needs based on project resources.