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 必须记录“为什么我要这么做”,以便事后追溯。tools
飞书审批:查询和处理审批待办/已办/实例,搜索可发起审批定义、查看定义详情并发起原生审批实例。当用户要处理审批任务、查看审批实例、搜索或发起审批时使用。审批待办不是飞书任务;非审批类待办走 lark-task。不负责创建审批定义;三方审批定义不走原生提单。
development
Use when a user needs reproducible repository sizing, language composition, file counts, or code-versus-comment ratios with pygount; record exclusions and verify measurement scope before interpreting results.
development
Route a development task to the official Hermes Agent skill, Graphify Codex artifact set, Open GSD Core bundle, or optional GSD Pi bundle without duplicating their installers or state machines.
development
飞书 / Lark 通讯录:按姓名 / 邮箱解析成 open_id,或按 open_id 反查姓名 / 部门 / 邮箱 / 联系方式 / 个人状态 / 签名,以及按关键词搜索当前用户可见的机器人 / 智能体(agent)。当用户提到一个名字要下一步发消息 / 排日程,或拿到 open_id 想查具体信息时使用。不负责部门树遍历、按部门列员工、组织架构图,这类需求走原生 OpenAPI。