Token导航 LogoToken导航TokenDH.com
研究检索只读clawhub未标认证来源可访问clear审计提醒

fix修复

Agent Skill

fix 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 OpenClaw 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,842

周安装

208

GitHub Stars

公开资料未说明

下载量

1,697
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:fix(修复)
来源仓库:https://github.com/drumrobot/fix
安装命令:
openclaw skills install fix
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install fix

简介

fix 用于记录执行错误与用户反馈,驱动 Agent 持续改进行为规则。

  • 适用于任务失败、输出偏差或能力缺口识别后的修正循环场景。
  • 由“fix:”前缀触发,自动分析问题并更新相关协议与约束。
  • 安装命令为 openclaw skills install fix,仅支持 OpenClaw 宿主。
  • 需配合具体错误上下文使用,孤立反馈可能无法精准定位问题。

SKILL.md

metadata
author
es6kr
version
0.1.4
name
fix
description
>-

Fix: Behavior Correction Skill

Activated when user gives feedback with "fix:" prefix. Finds the root cause of the mistake, improves rules/skills/hooks, and fixes the current issue.

Trigger

  • Messages with fix: prefix
  • Behavior correction feedback: "fix this", "correct", "why not", "why missing"

Procedure

Step 0. TodoWrite (MANDATORY — first action, no exceptions)

Before any analysis or text output, register TODO items:

TodoWrite([
  { id: "fix-0", content: "fix: {user feedback summary} — root cause analysis", status: "in_progress" },
  { id: "fix-1", content: "Root cause fix", status: "pending" },
  { id: "fix-2", content: "Fix current issue", status: "pending" },
  { id: "fix-3", content: "Completion report + cleanup", status: "pending" },
])

Step 0 is the first tool call after /fix activation. Text output before TodoWrite = violation.

1. Root Cause Analysis (5-Why depth)

Don't stop at the direct cause. Dig at least 3 levels deep:

Why 1: What went wrong? (symptom — the immediate mistake)
Why 2: Why did I make that decision? (judgment — missing knowledge/rule)
Why 3: Why was that knowledge/rule missing? (structural — skill/rule gap)
  • Fixing only Why 1 = patching a symptom. It recurs in a different form.
  • Why 2-3 reveal structural causes (platform ignorance, DRY violation, etc.) — these go into rules/skills.
  • Search for the responsible skill/rule/hook files (Grep/Glob)

2. Root Cause Fix (Prevent Recurrence)

Priority (check in order — stop at the first match):

PriorityTargetConditionExample
1stSkill (~/.claude/skills/, .claude/skills/)Skill is incomplete or has wrong procedureFix procedure step missing
2ndRule (~/.agent/rules/, .claude/rules/)Behavior rule is missing or insufficientAdd to failed-attempts.md
3rdHook (settings.json hooks)Automation needed for repeated mistakesAdd PostToolUse hook
4thSKILL.md docsDocumentation doesn't match actual behaviorUpdate section

When fixing:

  • Skill is 1st priority — if the problem is a skill's incomplete procedure, fix the skill. Don't skip to failed-attempts.md
  • Skill improvements must follow skill-kit upgrade procedure (direct script/topic file edits allowed)
  • Rule location must be confirmed via AskUserQuestion
  • failed-attempts.md recording is only for cases not covered by skill/rule/hook — no duplicate recording if root cause is already reflected in a skill or rule

3. Fix Current Issue + Resume Original Work

  • After root cause fix, immediately resolve the current problem
  • If unsure what to execute, AskUserQuestion — don't skip execution because you don't know the command
  • Verify fix results (build/test/run)
  • Continue the originally intended work with the corrected approach — don't just clean up wrong artifacts, complete the original task
  • Resume the originally intended work with the corrected approach

4. Completion Report + Cleanup

Fix complete:
- Root cause: {what was missing}
- Improvement: {which file was modified and how}
- Current fix: {result of fixing the current issue}

After reporting, delete all TODO items created in Step 0 — fix TODOs are temporary session-level tracking only; must not persist after completion.

Anti-patterns

  • Repeating "already fixed" without actually fixing the root cause
  • Patching only the current issue without improving skills/rules/hooks
  • Text response without TodoWrite after /fix activation
  • Recording in failed-attempts.md when the root cause is a skill defect (skill fix is 1st priority)
  • Stopping at Why 1 — fixing the symptom without asking Why 2-3 (structural cause)
  • Not cleaning up TODO/Task after completion — must delete all fix TODOs when done

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

83.2%
按下载量换算1,412

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills