← 返回 Skills 市场
q450770953-boop

complex-task-executor

作者 q450770953 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
117
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install complex-task-executor
功能描述
基于“谋事、干事、总结”方法论执行复杂任务,并自动将经验教训写入短期记忆。Invoke when user asks to handle complex tasks, plan strategies, or execute multi-step operations.
使用说明 (SKILL.md)

Complex Task Executor (复杂任务执行器)

本技能基于“谋事之法”、“干事之道”、“总结之术”的系统方法论,为 Agent 提供一套标准的复杂任务处理框架。该技能不仅指导任务的执行,还强制要求在任务结束后将经验与教训沉淀到记忆系统中,以便在后续类似任务中复用。

核心方法论 (The Methodology)

在执行任何被判定为“复杂”的任务时,Agent 必须严格按照以下三个阶段展开工作:

阶段一:“谋事”之道 (Planning Phase)

核心动作:谋划与分析 在动手写代码或执行具体操作前,先进行全局思考。

  • 战略思维:明确任务的最终商业/技术目标是什么。
  • 人民立场:站在最终用户或需求方的角度思考,确保产出符合预期。
  • 调查研究:检索现有代码库、搜索相关文档,摸清当前现状。
  • 民主集中:综合各种可能的方案,权衡利弊后做出最终的技术选型或路径决策。
  • 底线思维:预判可能出现的最坏情况(如服务宕机、数据丢失),并准备回滚或兜底方案。

阶段二:“干事”之道 (Execution Phase)

核心动作:执行与推进 将计划转化为切实的行动。

  • 紧扣中心:在执行过程中不偏离阶段一制定的核心目标,避免过度工程化 (Over-engineering)。
  • 统筹兼顾:合理分配步骤,处理好模块之间的依赖关系。
  • 关键用人:在恰当的环节使用恰当的工具(如使用 grep 搜索,使用专用工具修改文件)。
  • 追求实效:每一步操作后必须验证结果(如运行测试、检查日志),确保产出有效。
  • 辩证策略:遇到报错或死胡同时,灵活调整策略,不要死磕单一路径。

阶段三:“总结”之术 (Review & Memory Phase)

核心动作:复盘与记忆沉淀 (CRITICAL) 任务完成后,必须进行深度的复盘,并强制使用 manage_core_memory 工具将经验写入记忆。

  • 正反总结:记录哪些做法是成功的,哪些做法导致了报错或绕弯路。
  • 集体总结:提炼出对当前项目或系统全局有价值的架构认知。
  • 深度总结:挖掘问题背后的根本原因(Root Cause)。
  • 不断总结:为未来的自己(Agent)留下指引。

记忆写入规范 (Memory Management Rules)

在任务的最后一步,你必须调用 manage_core_memory 工具。 提取“总结之术”中的结论,按照以下类别进行记录:

  1. Experience (经验/教训)
    • 记录执行过程中踩过的坑、解决特定报错的标准路径。
    • 例如:“在处理 X 模块时,不要直接修改 Y 文件,必须先通过 Z 脚本生成。”
  2. Knowledge (知识/架构)
    • 记录在“调查研究”阶段发现的项目核心架构、约定俗成的规范。
    • 例如:“本项目的前端状态管理统一使用 Zustand,切勿引入 Redux。”

注意:只记录具有复用价值的规律,不要记录一次性的任务流水账。

使用示例

当用户输入:“帮我重构一下用户认证模块,这个任务比较复杂。” Agent 内部工作流应为:

  1. 谋事:先不改代码,梳理当前认证逻辑,评估风险(底线思维),给出重构方案并与用户确认。
  2. 干事:分步骤修改代码,每改完一个子模块就运行相关测试(追求实效)。
  3. 总结:任务完成后,向用户输出复盘报告,并在后台调用 manage_core_memory 记录重构过程中发现的隐蔽依赖或易错点。\r
安全使用建议
This skill behaves like a project methodology coach that also automatically writes lessons into the agent's core memory. Before enabling: 1) confirm your platform's manage_core_memory tool exists and understand who can read that memory and how long it's retained; 2) ensure the agent will ask your consent before storing anything sensitive (credentials, private data, or proprietary code snippets); 3) restrict the agent's file/log access if you don't want broad repository inspection; 4) consider requiring an explicit user approval step in the workflow for any memory writes; and 5) if you cannot verify memory handling or prefer no persistence, do not install or disable the automatic memory-write step.
功能分析
Type: OpenClaw Skill Name: complex-task-executor Version: 1.0.0 The skill bundle consists of a methodology (SKILL.md) for an AI agent to handle complex tasks through planning, execution, and reflection. It instructs the agent to use a standard 'manage_core_memory' tool to store architectural insights and lessons learned, but explicitly warns against logging sensitive or one-off task details. No malicious code, data exfiltration, or harmful prompt injection patterns were found.
能力评估
Purpose & Capability
Name/description (complex task planning + memory) aligns with instructions to plan, execute steps, run tests, and produce post‑task summaries. Requiring memory writes is consistent with the description, but the skill mandates use of a platform tool (manage_core_memory) that is not declared as a required capability in metadata.
Instruction Scope
SKILL.md instructs the agent to search codebases, inspect documentation, run tests, check logs, and (critically) 'must call manage_core_memory' to persist lessons. Those actions imply access to potentially sensitive repository files, logs, and runtime artifacts. The mandatory memory write is broad and opaque (no guidance about consent, redaction, or what can/cannot be stored).
Install Mechanism
Instruction-only skill with no install steps or downloaded artifacts. No install risk detected.
Credentials
No environment variables, binaries, or external credentials are requested — appropriate for the described function. However, the skill prescribes using an external platform tool (manage_core_memory) to persist data; that capability is not surfaced in the metadata and may imply access to privileged storage or APIs.
Persistence & Privilege
While always:false (not force-installed), the skill explicitly requires writing to core memory at the end of every complex task. That is a form of persistence that can exfiltrate or permanently store sensitive context. The SKILL.md does not require explicit user consent before memory writes or describe retention/redaction policies.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install complex-task-executor
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /complex-task-executor 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
使用教员的方法论,谋事-干事-总结,最后形成短期记忆
元数据
Slug complex-task-executor
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

complex-task-executor 是什么?

基于“谋事、干事、总结”方法论执行复杂任务,并自动将经验教训写入短期记忆。Invoke when user asks to handle complex tasks, plan strategies, or execute multi-step operations. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 117 次。

如何安装 complex-task-executor?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install complex-task-executor」即可一键安装,无需额外配置。

complex-task-executor 是免费的吗?

是的,complex-task-executor 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

complex-task-executor 支持哪些平台?

complex-task-executor 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 complex-task-executor?

由 q450770953(@q450770953-boop)开发并维护,当前版本 v1.0.0。

💬 留言讨论