agentCLAWHUBUnverified

fix

User behavior correction skill. Triggered by "fix:" prefix feedback (e.g., "fix: why didn't you commit?"). Analyzes the mistake, improves the relevant prompt (skill/rule/agent/memory/hook) to prevent recurrence, then fixes the current issue. TodoWrite required for all steps. Use when "fix:", "fix this", "correct", "why not", "why missing", "behavior fix" is mentioned.

OpenClaw

Rank

62

Safety

84

Downloads

2.8k

Updated

Oct 9, 2026

Version

0.7.1

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 2.8K downloads reported by the source. Last updated 10/9/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 9, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 9, 2026
Adoption signal
2.8K downloadsadoption · observed Oct 9, 2026
Latest release
0.7.1release · observed Oct 6, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s17ay1v6v88r2m102pvvc44gz183qcrm:fix
  1. Install using `clawhub skill install s17ay1v6v88r2m102pvvc44gz183qcrm:fix` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/drumrobot/fix before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-drumrobot-fix/snapshot"

Documentation

CLAWHUB

152,779 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
metadata:
  author: es6kr
  version: "0.1.6"
name: fix
depends-on:
  - cleanup
description: |
  User behavior correction skill. Triggered by "fix:" prefix feedback (e.g., "fix: why didn't you commit?").
  Analyzes the mistake, improves the relevant prompt (skill/rule/agent/memory/hook) to prevent recurrence,
  then fixes the current issue. TodoWrite required for all steps.
  Use when "fix:", "fix this", "correct", "why not", "why missing", "behavior fix" is mentioned.
---

# Fix: Behavior Correction & Work-Resume Skill

Activated when user gives feedback with "fix:" prefix. Finds the root cause of the mistake, improves the relevant prompt (skill/rule/agent/memory/CLAUDE.md/hook), and **seamlessly resumes and completes the interrupted original work (`Fix -> Resume` Complete Workflow)**.

> 💡 **Core Identity of `/fix`**: `/fix` is NOT a tool that only patches rules and stops. The primary purpose of this skill is the **complete two-phase flow: `Fix (5-Why & Prompt Improvement) ➔ Resume (Complete the original interrupted deliverable & hand over to next work)`**. Stopping after rule modification without fully executing and delivering the original work is a fundamental failure of this skill.


## Trigger

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

## Options

- `--plan`: In Step 2, instead of modifying prompts directly, **emit only the modification plan** for user review before execution. Use for complex changes or changes spanning multiple files. **Forced Ask (HARD STOP)**: After saving the plan artifact .md and presenting the summary, you MUST invoke `AskUserQuestion` instead of stopping at plain text, forcing an explicit user decision.
  - **Trade-off-axis questions FIRST, disposition LAST (HARD STOP — applies to ANY /fix flow that authors or promotes a plan artifact, not only `--plan`)**: a generic disposition-only ask (`Apply plan now` / `Refine plan` / `Hold`) is FORBIDDEN when the plan contains Trade-offs rows or unresolved human-review questions (open interpretation notes, "confirm on review" markers). Convert **each** trade-off axis / open review question into its own question object in the `questions` array (one axis per question, max 4 per call — chunk sequential calls when more, never drop the tail), then ask the disposition (`Apply plan now` / `Refine plan` / `Hold`) as the **last** question or a follow-up call. Recurrence source: a promote-completion ask that offered only approve/refine/hold caused the user to re-request the trade-off review manually.
- `--local`: Scope Step 2 rule modifications to the **workspace-local** or **project-local** rule directory only. Use when the rule applies to a specific workspace (e.g., `~/ghq/github.com/<org>/`) or a specific repo, not globally.
  - Resolution order (Step 2 picks the innermost matching location):
    1. **Project-local** — `<repo>/.claude/rules/` or `<repo>/.agents/AGENTS.md` if cwd is inside a git repo
    2. **Work

_meta.json

{
  "ownerId": "kn74k8yfvftx6f062qa8fzyd8h8373jd",
  "slug": "fix",
  "version": "0.7.1",
  "publishedAt": 1791273343634
}

behavior-discipline.md

# Behavior Discipline — destructive commands / multi-repo tracking / chained fix / anger→TDD switch

This topic bundles the behavior-discipline rules that fire during the fix flow.

## Destructive-command restraint (HARD STOP)

**Never run filesystem/index-destroying commands (`git reset --hard`, `git checkout -- .`, `rm -rf`, etc.) for the purpose of reverting or resetting work without prior coordination and user approval.** When a reset is unavoidable (e.g., undoing a temporary commit), step through a non-destructive alternative (`git reset --soft` / `git reset HEAD~1` followed by per-file `git restore`) and perform it safely.

| # | Don't | Do |
|---|-------|-----|
| 1 | Run `git reset --hard HEAD~1` to destructively drop a temporary local commit | Use `git reset --soft HEAD~1` or `git reset HEAD~1` to release the commit while preserving changes, then apply per-file `git restore` if needed |
| 2 | Unilaterally run `git checkout -- .` or `git restore .` to wipe all working-directory edits at once | Keep open the possibility that changes must be preserved; restore carefully per file, or roll back safely only after user confirmation |

## Multi-repository original-work tracking and context discrimination (HARD STOP)

**When you receive an error report or `/fix` feedback while switching back and forth across multiple projects (repositories), do not get trapped in the narrow view of the currently active directory — replay the whole session history.** Identify which target repository was the "Original Work" (the recent build error, push failure, or edit target) and **cross-verify via the full local repository state** (`git status`, `git log`) before switching to the correct target and handling the work.

| # | Don't | Do |
|---|-------|-----|
| 1 | Get a commit-convention error in repo A but, absorbed in repo B (recently edited), try to fix the wrong commit | Read the feedback, switch the working directory immediately to repo A where the bad commit actually exists, and amend the correct commit |
| 2 | When the subject of the user's feedback is omitted during multi-project work, impulsively assume the current folder is the target and edit it | Quickly tour each workspace running `git status` or `git log -n 5` to determine which project holds the error target |

## Chained-fix dependency declaration and completed-task pruning (HARD STOP)

**On `/fix`, the registered `fix-2 (Resume)` task must declare the preconditions under which the work can run safely — to prevent configuration damage from stale execution** — and during the session `cleanup` step, prune **only completed (`[x]`) tasks**; do not unilaterally delete in-progress or held (stale) incomplete tasks.

| # | Don't | Do |
|---|-------|-----|
| 1 | Register only the bare `Resume` command on the `fix-2` task without preconditions (Depends on) and base commit SHA (Reference commit) | Record preconditions and snapshot, e.g. `- [ ] fix-33: 🔄 Resume original work: ... (Depends on: <environment-norm

CHANGELOG.md

# Changelog

## [0.7.1](https://github.com/es6kr/skills/compare/fix-v0.7.0...fix-v0.7.1) (2026-10-04)


### Bug Fixes

* **fix:** suppress additionalContext injection in headless/Ralph runs ([ca84cf5](https://github.com/es6kr/skills/commit/ca84cf5124901654c5618e28ee3116e3c008f92d))

## [0.7.0](https://github.com/es6kr/skills/compare/fix-v0.6.2...fix-v0.7.0) (2026-09-30)


### Features

* **cleanup, fa:** enhance session cleanup pipeline, automated FA rotation, and streaming search ([9b3f366](https://github.com/es6kr/skills/commit/9b3f36609c3ebb1f227bcef549cffb3a8e85d0a5))

## [0.6.2](https://github.com/es6kr/skills/compare/fix-v0.6.1...fix-v0.6.2) (2026-09-18)


### Bug Fixes

* **cleanup:** make the session-end report table self-sufficient ([#487](https://github.com/es6kr/skills/issues/487)) ([c4a0255](https://github.com/es6kr/skills/commit/c4a02557fb8de3b32cf337c549f62535dabf824b))

## [0.6.1](https://github.com/es6kr/skills/compare/fix-v0.6.0...fix-v0.6.1) (2026-09-08)


### Bug Fixes

* **fix:** mention the claude-task fallback + no-scratchpad rule in the summary table ([0ab146a](https://github.com/es6kr/skills/commit/0ab146a3f745a82b0564e806c2131c81f46fec64))
* **tdd:** scope the Red-only commit ban to shared branches ([fc2e6ec](https://github.com/es6kr/skills/commit/fc2e6ecdd1906c41d47955226e247aeb03a6f367))

## [0.6.0](https://github.com/es6kr/skills/compare/fix-v0.5.0...fix-v0.6.0) (2026-09-06)


### Features

* **cc-plugin:** implement post-commit dev-reflect and cache drift guard ([3f78c05](https://github.com/es6kr/skills/commit/3f78c054e7c00e7c33730d3378c5aff6575566e4))

## [0.5.0](https://github.com/es6kr/skills/compare/fix-v0.4.2...fix-v0.5.0) (2026-09-05)


### Features

* **fa:** move FA lifecycle ownership (retrospect, fa-prune, scripts) from cleanup to fa ([fd7f18e](https://github.com/es6kr/skills/commit/fd7f18ef9e85b8e3170b41ed6a52bce524d81bc7))
* promote next-feat (fa lifecycle ownership) ([90c90bb](https://github.com/es6kr/skills/commit/90c90bb4796087ff6eaa5491b3c4524f7ed829a7))


### Bug Fixes

* **cleanup:** hand retrospect and fa-prune ownership to the fa skill ([5821410](https://github.com/es6kr/skills/commit/58214106c334fbce36559a1495d5131513152524))
* **fix:** honour FA_DATA_DIR in the Stage 1 recurrence pre-check ([df2eb5b](https://github.com/es6kr/skills/commit/df2eb5b41d7a4133a2b5700a31e4f074174947dd))

## [0.4.2](https://github.com/es6kr/skills/compare/fix-v0.4.1...fix-v0.4.2) (2026-08-29)


### Bug Fixes

* **fix:** add current-workspace tracker grep to recurrence pre-check ([1b5ef18](https://github.com/es6kr/skills/commit/1b5ef18c0c52fafbb856de2bd534733f0664002c))
* promote next-fix batch (task plugin split, claudify matcher, pr recheck, omz chezmoi fix) ([3e90fd5](https://github.com/es6kr/skills/commit/3e90fd56ade0522d6773eb03f38760a317dd5180))

## [0.4.1](https://github.com/es6kr/skills/compare/fix-v0.4.0...fix-v0.4.1) (2026-08-26)


### Bug Fixes

* accumulate 16 patch-level bug fixes and guard enhancements acro

skill-card.md

## Description:

Helps an agent investigate behavior-correction feedback, improve its guidance to prevent recurrence, and resume the interrupted task.

This skill is ready for commercial/non-commercial use.

## Publisher:

[drumrobot](https://clawhub.ai/user/drumrobot)

### License/Terms of Use:

MIT

## Use Case:

Developers and agent users invoke this skill after behavior-correction feedback to investigate a mistake, improve the relevant guidance, and complete the interrupted work.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill may inspect broad agent history containing sensitive information.

Mitigation: Review the records it needs to access and limit exposure of unrelated or sensitive material.

Risk: It may make lasting changes to rules, memory, skills, hooks, or agent settings.

Mitigation: Prefer explicit /fix or fix: invocation and --local changes; review each confirmation and proposed persistent change before allowing global updates, hook changes, or plugin installs.

## Reference(s):

- [Fix on ClawHub](https://clawhub.ai/drumrobot/skills/fix)

## Skill Output:

**Output Type(s):** [Guidance, Markdown, Code, Shell commands, Configuration]

**Output Format:** [Markdown with change summaries, proposed or applied edits, and verification results]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May revise agent guidance and resume the original task.]

## Skill Version(s):

0.7.1 (source: ClawHub release and CHANGELOG)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
Github ReposUpdated 2h agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/drumrobot/skills/fix",
      "sourceUrl": "https://clawhub.ai/drumrobot/skills/fix",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-09T11:39:25.681Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-drumrobot-fix/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-drumrobot-fix/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-09T11:39:25.681Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "2.8K downloads",
      "href": "https://clawhub.ai/drumrobot/fix",
      "sourceUrl": "https://clawhub.ai/drumrobot/fix",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-09T11:39:25.681Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "0.7.1",
      "href": "https://clawhub.ai/drumrobot/fix",
      "sourceUrl": "https://clawhub.ai/drumrobot/fix",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-10-06T07:55:43.634Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-drumrobot-fix/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-drumrobot-fix/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 0.7.1",
      "description": "**Summary:** Minor update with housekeeping and resource script changes. - Removed unnecessary documentation file: `skill-card.md`. - Updated behavior correction script: improved/modified `resources/fix-and-ambiguity-guard.sh`. - Updated changelog reference: `CHANGELOG.md` modified for this version.",
      "href": "https://clawhub.ai/drumrobot/fix",
      "sourceUrl": "https://clawhub.ai/drumrobot/fix",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-10-06T07:55:43.634Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 9, 2026.

Sponsored

Ads related to fix and adjacent AI workflows.