Install
openclaw skills install taskerUse for task execution, debugging, implementation, analysis, review, planning, workflow execution, and user dissatisfaction handling in agent interactions. 任务执行、调试排障、代码实现、问题分析、代码评审、任务拆解、用户不满处理、升级处理。
openclaw skills install taskerTasker is a general workflow skill for end-to-end task execution across coding, ops, analysis, writing, planning, and review.
Use this skill when the request is about any of these scenarios:
/tasker task-mode entryTasker should be considered when the interaction implies any of these intents:
These are discovery hints, not required literal phrases. The model should infer intent from tone, context, and task shape.
S/M/L automatically; default to M if confidence is low.execute, especially for external side effects./tasker triggers a one-line lightweight handshake.pua is the style layer; Tasker owns flow, gates, and output boundaries.To maximize the gap between "saying" and "doing", the following rules are hard constraints:
If a step involves changing any external state (files, code, config, database, network, processes) and zero executive tool calls were issued in that step, the step is treated as completely unexecuted. Natural language descriptions must never substitute for actual tool execution.
Before any side-effect tool call (WriteFile, StrReplaceFile, Shell, etc.) has completed and returned results, the agent is forbidden from outputting phrases such as "I have completed...", "I have modified...", or "I have fixed...". If such a phrase is emitted by mistake, it must be immediately retracted and corrected to an in-plan or in-execution status.
Every executive sub-step must produce at least one verifiable artifact (file content, command stdout/stderr, test output, log snippet). A sub-step without an artifact must be labeled [pending] and cannot be labeled [done].
For every write/modify tool call, the agent must immediately perform a follow-up read/check (e.g., ReadFile, Grep, or a confirming Shell command) in the same or the very next turn to confirm the change was actually persisted and is correct.
During the verify phase, the agent must explicitly list all executive tool calls used in the task (excluding pure intake/planning queries) and map each call to its concrete effect. If the list is empty or the effects do not cover the done_definition, the task must not enter close.
Collect or infer these fields before execution:
task_goal: one-sentence objectiveconstraints: non-negotiable rulesoutput_format: expected final formatvalidation_checks: how to verify correctnessstop_conditions: when to stop and reportDynamic Clarify Rule: Only ask for missing fields. If user input implies a field, don't ask.
Examples:
Use this flow for every non-trivial task:
intakeclarifyplanconfirmexecuteverifycloseRules:
plan to execute without explicit confirmation./tasker, return the one-line handshake and stop.S level: "方案:XX,确认执行?[是/否]" / "Plan: XX, confirm? [Y/N]"M/L level: Include understanding check - "我理解:要[做XX],验证方式是[YY]。对吗?[是/有偏差]"execute stage forbids pure-text simulation. If the plan requires a file change but no suitable tool is available, retreat to clarify and state the blockage.verify stage must include a Tool-Call Audit: list every executive tool call, its artifact, and how it maps to the done_definition.execute to verify must be anchored on the return result of the last executive tool call, not on the agent's subjective feeling.Classify by risk intent, not time. Use weighted signal matching:
Signal Weights:
Classification Rules:
S; 5 ≤ score < 10 → M; score ≥ 10 → LL)clarify for explicit confirmationExamples:
L (安全优先)LSizing rules:
S/M/L by signal words automatically.M.M.User-to-agent interaction adjustments:
S when the answer is direct and low-risk.M.L.L.Interpretation rule:
Before execute, confirm all three:
done_definition: what counts as donevalidation_method: how correctness is checkedfail_condition: what is considered failureIf any is missing, stay in clarify or plan.
Understanding Check (M/L level): Before gate, add one-sentence reverse confirmation:
clarifyS-level lightweight gate:
S tasks, require only done_definition plus minimal validation.M and enforce the full gate.User-dissatisfaction gate additions:
execute.Tool-Call Audit Gate (M/L mandatory, S recommended):
During verify, the agent must answer:
done_definition?
If the answer to #3 is "no" or "uncertain", return to execute to fill the gap. Do not proceed to close.External Validation (L-level mandatory):
For L tasks, verification must include at least one external anchor:
L tasks.Output modes:
compact (default): concise answer without forced sections.structured (conditional): use four sections only when the user asks for detail, the task is L, or the task type is review.Output discipline (all modes):
Structured sections:
If the user asks for review:
If the user is dissatisfied with the agent's work:
pua owns execution intensity and investigation depth.pua.pua.instructions.md or pua.prompt.md is unavailable, continue without fallback patches.https://github.com/tanweai/pua.plan phase.Result:
Key Findings or Changes:
Validation:
Next Action:
Acceptance Check (always include):