openclaw-skills/proactive-agent/SKILL.md
Use when an agent should proactively plan, monitor progress, surface risks, suggest next actions, and improve collaboration instead of only responding passively to explicit user commands.
npx skillsauth add seaworld008/commonly-used-high-value-skills proactive-agentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
用于需要 Agent 主动规划、持续跟进、减少重复确认的任务。Proactive Agent 不仅仅是执行指令,更是通过主动感应环境、自我修正计划和长期记忆沉淀,成为用户的高级数字助理。
npx clawhub@latest install proactive-agent
Agent 不再仅仅是单步顺序执行,而是首先构建一个复杂的任务图。
task_create 建立主线任务。brainstorming 技能分析其中的隐性依赖。blockedBy 关系。task_update 调整后续计划。在等待指令的间隙,主动检查之前的操作结果或外部信号。
cron 或 process 监控后台运行的耗时任务。question 或 see_image 进行分析。MEMORY.md。memory_search 提取相关约束。### 任务背景 (Context)
[描述当前接收到的原始需求及已知约束条件]
### 我的主动规划 (My Proactive Plan)
1. **当前识别**:核心目标是 [A],隐含的依赖项是 [B]。
2. **拟执行步骤**:
- 步骤一:执行 [X],预期产出 [Y]。
- 步骤二:基于 [Y] 的结果,自动决定是否进行 [Z] 或切换到备选路径 [W]。
3. **关键节点确认**:我将在完成 [步骤一] 后向您汇报初步发现,您可以随时介入微调。
### 异常处理预案 (Fallback Strategy)
- 如果 [预期结果] 未能出现,我将自动尝试 [补救方案 C] 并在 [D] 分钟后报告。
// 用于主动探测服务状态并自动触发修复
const monitorAndAct = async () => {
try {
const status = await checkServiceHealth();
if (status.isDegraded) {
console.log("检测到性能下降,正在尝试主动扩容...");
await triggerSkill('cloud-auto-scale', { region: 'us-east-1' });
}
} catch (error) {
await logToMemory(`Service check failed at ${new Date().toISOString()}: ${error.message}`);
}
};
CVE 漏洞,它会自动创建修复分支,尝试 npm update 并运行单元测试,成功后主动提交 PR 给开发者。MEMORY.md 中记录的用户技术栈,过滤出真正有价值的消息,生成深度摘要。max_autonomous_steps (默认 5 步) 和 budget_threshold。memory_search 时,Agent 只能访问当前会话或用户明确开放权限的知识库,严禁扫描系统的敏感隐藏目录。task_list,并保持透明。proactive 模式下,Agent 必须记录“为什么我要这么做”,以便事后追溯。development
Enumerating failure modes via pre-mortem analysis. Systematically identifies failure scenarios for plans, designs, and features, scoring them with RPN/AP. Does not write code.
testing
Orchestrating specialist AI agent teams as a meta-coordinator. Decomposes requests into minimum viable chains, spawns each as an independent session in AUTORUN modes, and drives to final output. Use when a task spans multiple specialist domains, requires parallel agent execution, or needs hub-and-spoke routing across the skill ecosystem.
development
Converting document formats (Markdown/Word/Excel/PDF/HTML). Converts specs from Scribe and reports from Harvest into distributable formats; generates reusable conversion scripts. Use when converting documents, building accessibility-compliant PDFs, or creating Pandoc/LibreOffice pipelines.
testing
Curating cross-agent knowledge and guarding institutional memory. Extracts patterns from agent journals into METAPATTERNS.md, detects knowledge decay, propagates best practices, prevents organizational forgetting. Use when consolidating cross-agent insights, curating memory, or auditing knowledge decay.