openclaw-repair-sweep
moltbot/clawdbot/.agents/skills/openclaw-repair-sweep/SKILL.md
Run scoped OpenClaw issue/PR repair campaigns: coordinate workers, prove root causes, and land or close verified work under the requested authority.
Skill391k starsChanged yesterday
What's in it
- OpenClaw Repair Sweep
- Scope and authority
- Coordinate ownership
- Investigate and repair
- Proof and landing
- Closure and reporting
--- name: openclaw-repair-sweep description: "Run scoped OpenClaw issue/PR repair campaigns: coordinate workers, prove root causes, and land or close verified work under the requested authority." --- # OpenClaw Repair Sweep Use for a multi-item repair campaign. Root `AGENTS.md` owns repair and safety policy; `$openclaw-pr-maintainer` owns item review, GitHub writes, and landing. The lead remains hands-on and delegates independent work where useful. ## Scope and authority - Explicit refs imply a bounded ref campaign. Otherwise discovery defaults to five qualified items (maximum twenty per batch); a whole-queue request means continuing through that queue. Do not pad low-confidence findings. - Honor requested workers and focus. Ref/discovery campaigns normally use up to eight item owners; a queue campaign can assign up to sixty-four, but actual active proof workers must fit host/remote capacity. Start small and scale on observed resource health; assigned is not the same as running. - An explicit autonomous fix-and-land/sweep invocation covers scoped investigation, repairs, commits, pushes, PRs, verified landings and proven closures. Review, triage, or list wording stays read-only; fix-only stops before publication. Never infer release, schema/config/protocol, credential, security, or product approval from campaign authority. Use `$gitcrawl` for available archive discovery, `$openclaw-testing` for proof, `$autoreview` for independent code review, and `$crabbox` when the proof requires remote environment or untrusted-source isolation. Author-history research is conditional on a concrete question, not a campaign prerequisite. ## Coordinate ownership Assign each item or shared root-cause cluster one owner, a checkout, frozen source SHA, authorized actions, and a useful stopping condition. Duplicate symptoms share an owner; repeated defect classes should be repaired in the canonical owner rather than by parallel near-identical patches. Use isolated issue/PR worktrees and preserve unrelated files. Serialize shared fetch/ref/branch/worktree operations, PR preparation, and merges in short slots; never hold the slot across coding, tests, or a remote wait. Each remote lease has one owner and one active command. Pause only campaign-owned work under resource pressure, and preserve patches, claims, proof, and checkpoints before replacement. The lead may take over stalled work safely; it is not an orchestration-only role. Read root and scoped guides before acting. Each verdict-bearing worker inspects its relevant dependency contracts directly, including the root's personal Codex source requirement. The lead verifies consequential results, not just summaries. Use independent challenge for nontrivial repairs and closure evidence; one independent autoreview is enough for the code-review requirement. ## Investigate and repair Search existing work before creating another fix: current body/comments, related archive results, live state when it matters, and current source/history. Use bare PATH `gh` with narrow JSON fields; reuse shared evidence and avoid unnecessary pagination or repeated item fetches. Prefer, in order: 1. Prove the original behavior is already fixed on current main and close under the authorized scope with the canonical fix and evidence. 2. Finish and verify an existing useful editable PR, preserving human credit. 3. If that PR cannot safely be updated, create a credited replacement before closing it. Do not squash a contributor PR after replacing its ancestry. 4. Implement a new high-confidence repair when no suitable fix exists. 5. Record a concrete blocker or product/owner decision. A useful independent simplification may land under its own scope, but it does not close the bug. A candidate needs a demonstrated current defect, an understood owner and bounded impact, relevant dependency proof, and feasible validation. Repairs requiring new dependencies/configuration, public-contract changes, security, persistence design, or product judgment require their root approvals before implementation or landing as applicable. Preserve useful investigation; do not work around the gate or count review-required work as an accepted fix. Repair the invariant at its owner, cover relevant siblings, and remove connected obsolete paths when justified. Do not add speculative fallback layers or hardcode the reported example. Prefer simplicity without a LOC quota. Keep release-note context and credit in the PR; `CHANGELOG.md` remains release-owned. Do not force a second refactor PR after each completed item. ## Proof and landing Choose proportional proof through `$openclaw-testing`. Trusted development can run locally; remote compute needs an environment or isolation reason. Untrusted repository tooling never runs locally or on a credential-hydrated host. Preserve explicit live requirements and never describe a mock, skipped test, old head, or unfinished soak as live proof. Run `$autoreview` on the completed nontrivial candidate and resolve verified findings. Re-review substantive changes or unresolved concerns; do not multiply reviews for mechanical head movement. Address actionable human/bot findings without a separate Rank-up checklist or score-refresh gate. Land through the native maintainer workflow only with current required CI and review evidence. Verify remote merge state and ancestry before counting success. A timed-out merge request may have succeeded; reconcile it before retrying. Refresh/rebase for conflicts, failed guards, explicit requests, or material stale base risk, not merely because main advanced. Delete only owned temporary state. For broad campaigns, a shared-main failure may justify one separately scoped repair worker. Check for an existing fix first. Do not duplicate that repair in every PR or silently expand a bounded ref request to unrelated CI work. ## Closure and reporting Before closing, prove the reporter's primary outcome and affected surfaces are fixed, not merely mitigated or diagnosed. Check fix ancestry and containing tags when version claims matter; dates do not prove inclusion. Seek independent challenge for uncertain or consequential closure evidence. Disagreement, a still broken surface, or an owner hold means leave open. Product rejection is a maintainer decision, never an automatic cleanup conclusion. Recheck live state before mutation and explain the fixed behavior, canonical commit/PR, known containing version, and useful proof. If a closure is challenged, pause the affected closure work and correct the evidence before resuming. No more than three workers should hold simultaneous closure duty; more than fifty close/reopen actions require the root's explicit count/scope approval. Keep a resumable ledger of owner, source/head, outcome, proof/CI state, PR/merge, credit, blockers, and cleanup. Count verified outcomes, not planned or launched work. Report meaningful progress and each verified landing with links; summarize final behavior, proof, remaining limitations, and checkout state in natural prose.
More agent context in moltbot/clawdbot
105 other files this repository gives its agents, the first 60 shown.
Skill
- agent-transcript.agents/skills/agent-transcript/SKILL.md
- auto-qa.agents/skills/auto-qa/SKILL.md
- autoreview.agents/skills/autoreview/SKILL.md
- channel-message-flows.agents/skills/channel-message-flows/SKILL.md
- clawdtributor.agents/skills/clawdtributor/SKILL.md
- claw-score.agents/skills/claw-score/SKILL.md
- clawsweeper.agents/skills/clawsweeper/SKILL.md
- control-ui-e2e.agents/skills/control-ui-e2e/SKILL.md
- crabbox.agents/skills/crabbox/SKILL.md
- deslop.agents/skills/deslop/SKILL.md
- discord-clawd.agents/skills/discord-clawd/SKILL.md
- discord-e2e.agents/skills/discord-e2e/SKILL.md
- discord-user-post.agents/skills/discord-user-post/SKILL.md
- discrawl.agents/skills/discrawl/SKILL.md
- gitcrawl.agents/skills/gitcrawl/SKILL.md
- graincrawl.agents/skills/graincrawl/SKILL.md
- notcrawl.agents/skills/notcrawl/SKILL.md
- openclaw-changelog-update.agents/skills/openclaw-changelog-update/SKILL.md
- openclaw-ci-limits.agents/skills/openclaw-ci-limits/SKILL.md
- openclaw-debugging.agents/skills/openclaw-debugging/SKILL.md
- openclaw-docker-e2e-authoring.agents/skills/openclaw-docker-e2e-authoring/SKILL.md
- openclaw-ghsa-maintainer.agents/skills/openclaw-ghsa-maintainer/SKILL.md
- openclaw-live-updater.agents/skills/openclaw-live-updater/SKILL.md
- openclaw-parallels-smoke.agents/skills/openclaw-parallels-smoke/SKILL.md
- openclaw-pr-maintainer.agents/skills/openclaw-pr-maintainer/SKILL.md
- openclaw-qa-testing.agents/skills/openclaw-qa-testing/SKILL.md
- openclaw-refactor-docs.agents/skills/openclaw-refactor-docs/SKILL.md
- openclaw-release-validation.agents/skills/openclaw-release-validation/SKILL.md
- openclaw-secret-scanning-maintainer.agents/skills/openclaw-secret-scanning-maintainer/SKILL.md
- openclaw-test-heap-leaks.agents/skills/openclaw-test-heap-leaks/SKILL.md
- openclaw-testing.agents/skills/openclaw-testing/SKILL.md
- openclaw-test-performance.agents/skills/openclaw-test-performance/SKILL.md
- openclaw-update.agents/skills/openclaw-update/SKILL.md
- parallels-discord-roundtrip.agents/skills/parallels-discord-roundtrip/SKILL.md
- proof-video.agents/skills/proof-video/SKILL.md
- prototype-openclaw-tui.agents/skills/prototype-openclaw-tui/SKILL.md
- release-openclaw-announcement.agents/skills/release-openclaw-announcement/SKILL.md
- release-openclaw-ci.agents/skills/release-openclaw-ci/SKILL.md
- release-openclaw-mac.agents/skills/release-openclaw-mac/SKILL.md
- release-openclaw-maintainer.agents/skills/release-openclaw-maintainer/SKILL.md
- release-openclaw-plugin-testing.agents/skills/release-openclaw-plugin-testing/SKILL.md
- security-triage.agents/skills/security-triage/SKILL.md
- slack-e2e.agents/skills/slack-e2e/SKILL.md
- slacrawl.agents/skills/slacrawl/SKILL.md
- tag-duplicate-prs-issues.agents/skills/tag-duplicate-prs-issues/SKILL.md
- technical-documentation.agents/skills/technical-documentation/SKILL.md
- telegram-e2e-userbot.agents/skills/telegram-e2e-userbot/SKILL.md
- test-audit.agents/skills/test-audit/SKILL.md
- update-team-server.agents/skills/update-team-server/SKILL.md
- verify-release.agents/skills/verify-release/SKILL.md
- 1passwordskills/1password/SKILL.md
- apple-notesskills/apple-notes/SKILL.md
- apple-remindersskills/apple-reminders/SKILL.md
- bear-notesskills/bear-notes/SKILL.md
Also found in 6 other repositories
The same file, byte for byte, in the weekly crawl of public GitHub.
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
No reports yet. Be the first to say whether it worked.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

