Agent skill

Brooks Sweep

by hyhmrright in hyhmrright/brooks-lint

Full-sweep mode: runs a unified analysis across all quality dimensions — code decay, architecture, tech debt, and test quality — then applies fixes directly to the codebase.

MITAuto-check passedDevelopment

Install Brooks Sweep

skills CLI
$ npx skills add hyhmrright/brooks-lint --skill brooks-sweep -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install hyhmrright/brooks-lint brooks-sweep --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/hyhmrright/brooks-lint.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/brooks-sweep .claude/skills/brooks-sweep && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
brooks-sweep
GitHub stars
1.5k
Used in
1 other repo
Token cost
~508 tokens
SKILL.md length
155 words
Files
2
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

Full-sweep mode: runs a unified analysis across all quality dimensions — code decay, architecture, tech debt, and test quality — then applies fixes directly to the codebase.

  • Works in 5 steps: ../_shared/common.md — Iron Law, Project… → ../_shared/source-coverage.md — book… → ../_shared/decay-risks.md — production… → …
  • : user wants to fix everything
  • SKILL.md covers Setup and Process
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Brooks Sweep is an agent skill from hyhmrright/brooks-lint. Full-sweep mode: runs a unified analysis across all quality dimensions — code decay, architecture, tech debt, and test quality — then applies fixes directly to the codebase. Safe changes are auto-applied; risky changes are confirmed before execution. Drawing on twelve classic engineering books. Triggers when: user wants to "fix everything", "sweep the codebase", "auto-fix all issues", "clean up the whole project", or asks for a single command that both diagnoses and remediates quality problems. Do NOT trigger…

Its SKILL.md is about 510 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `sweep-guide.md`).

It sits in Development, covering Technical debt and Container orchestration. It works with Kubernetes. The repository describes itself as: AI code reviews grounded in 12 classic engineering books — decay risk diagnostics with book citations, severity labels, and 6 analysis modes including full-sweep auto-fix. The licence is MIT.

When your agent uses it

  • : user wants to fix everything
  • Sweep the codebase
  • Auto-fix all issues
  • Clean up the whole project

Example prompts

  • “fix everything”
  • “sweep the codebase”
  • “auto-fix all issues”
  • “/brooks-sweep”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. ../_shared/common.md — Iron Law, Project Config, Report Template, Health Score
  2. ../_shared/source-coverage.md — book coverage, exceptions, tradeoffs
  3. ../_shared/decay-risks.md — production risk symptoms
  4. ../_shared/test-decay-risks.md — test risk symptoms
  5. sweep-guide.md (this directory) — the unified scan and fix process

What it can do on your machine

Read from SKILL.md and the folder at commit b6ef8a1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Brooks Sweep loads about 508 tokens when it runs. Until then it costs about 211 tokens; SKILL.md has 155 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~211
When it runs · the whole SKILL.md, loaded when a task matches
~508

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from hyhmrright/brooks-lint at commit b6ef8a1, republished under its MIT licence (© hyhmrright). 155 words, ~508 tokens.

Download SKILL.mdSave it as .claude/skills/brooks-sweep/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
brooks-sweep
description
Full-sweep mode: runs a unified analysis across all quality dimensions — code decay, architecture, tech debt, and test quality — then applies fixes directly to the codebase. Safe changes are auto-applied; risky changes are confirmed before execution. Drawing on twelve classic engineering books. Triggers when: user wants to "fix everything", "sweep the codebase", "auto-fix all issues", "clean up the whole project", or asks for a single command that both diagnoses and remediates quality problems. Do NOT trigger for: read-only audits or health reports where the user only wants findings without code changes; single-dimension reviews (use the focused skill instead: brooks-review / brooks-audit / brooks-debt / brooks-test); server health checks, HTTP /health endpoints, Kubernetes probes, database health, or application uptime.
metadata.opencode/slash
true

Brooks-Lint — Full Sweep & Auto-Fix

Setup

Read in order:

  1. ../_shared/common.md — Iron Law, Project Config, Report Template, Health Score
  2. ../_shared/source-coverage.md — book coverage, exceptions, tradeoffs
  3. ../_shared/decay-risks.md — production risk symptoms
  4. ../_shared/test-decay-risks.md — test risk symptoms
  5. sweep-guide.md (this directory) — the unified scan and fix process

Process

Scope: if the user did not specify a project or directory, apply Auto Scope Detection (../_shared/common.md) first.

  1. Show the pre-flight consent notice and wait for one-time approval (Step 0 of the guide)
  2. Enumerate scope and initialize pipeline state (Step 1 of the guide)
  3. Run the four dimensions in sequence — review, test, debt, audit — each scanning, classifying, fixing, and verifying (Steps 2–5 of the guide)
  4. Iterate over modified files and their consumers until a clean round or the cap (Step 6 of the guide)
  5. Aggregate residual and unresolvable items and output the Full Sweep Report (Steps 7–8 of the guide)

Mode line in report: Full Sweep

© hyhmrright, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/brooks-sweep of hyhmrright/brooks-lint.

  • SKILL.md
  • sweep-guide.md

Open the folder on GitHubat commit b6ef8a1

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in hyhmrright/brooks-lint, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Brooks Sweep next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Brooks Sweep compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Brooks Sweep this skillhyhmrright/brooks-lint1.5k1 repos~508Automated safety check: PassMIT
Releasengrok/ngrok-operator272—~2.7kAutomated safety check: PassMIT
Dotnet Debuggingnovotnyllc/dotnet-artisan232—~2.1kAutomated safety check: PassMIT
Improve Backendluxury-yacht/app444—~1.1kAutomated safety check: PassGPL-3.0
Software Design Reviewatilladeniz/Kubeli387—~5.3kAutomated safety check: PassMIT
Unblock Dependabot PRkubernetes-sigs/cloud-provider-azure294—~1.5kAutomated safety check: PassApache-2.0

Similar skills

  • Release

    ngrok/ngrok-operator

    Automates the ngrok-operator release process: gathers PR data, classifies changes by component (container, Helm chart, CRDs chart), generates changelogs, updates version files, and prepares the…

    272 GitHub stars~2.7k tokensUpdated 5 days ago
    DevelopmentAuto-check passed
  • Dotnet Debugging

    novotnyllc/dotnet-artisan

    Debugs Windows and Linux/macOS applications (native, .NET/CLR, mixed-mode) with WinDbg MCP (crash dumps, !analyze, !syncblk, !dlk, !runaway, !dumpheap, !gcroot, BSOD), dotnet-dump, lldb with SOS…

    232 GitHub stars~2.1k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Improve Backend

    luxury-yacht/app

    A skill your agent uses when wanting to systematically improve the Go backend - scans for security vulnerabilities, stability risks, performance issues, and code simplification opportunities, then…

    444 GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Software Design Review

    atilladeniz/Kubeli

    Analyzes code based on John Ousterhout's "A Philosophy of Software Design".

    387 GitHub stars~5.3k tokensUpdated 4 days ago
    DevelopmentAuto-check passed
  • Unblock Dependabot PR

    kubernetes-sigs/cloud-provider-azure

    Official

    Diagnose and unblock failed Dependabot pull requests in cloud-provider-azure by closing Kubernetes minor-version dependency bumps, classifying CI failures, syncing Go modules, retesting quota-flaked…

    294 GitHub stars~1.5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Debugging Techniques

    ancoleman/ai-design-components

    Debugging workflows for Python (pdb, debugpy), Go (delve), Rust (lldb), and Node.js, including container debugging (kubectl debug, ephemeral containers) and production-safe debugging techniques with…

    525 GitHub stars~3.3k tokensUpdated 10 mo ago
    DevelopmentAuto-check passed

More from hyhmrright/brooks-lint

  • Release

    hyhmrright/brooks-lint

    Cut a brooks-lint release: set the version in package.json, propagate it across all four plugin manifests and every version-bearing text file (README badges, docs site metadata), write the CHANGELOG…

    1.5k GitHub stars~1.2k tokensUpdated 5 days ago
    Auto-check passed
  • Brooks Audit

    hyhmrright/brooks-lint

    Architecture audit that maps module dependencies, checks layering integrity, and flags structural decay across a codebase, drawing on twelve classic engineering books.

    1.5k GitHub starsUsed in 1 repo~537 tokens
    Auto-check passed
  • Brooks Debt

    hyhmrright/brooks-lint

    Tech debt assessment that identifies, classifies, and prioritizes maintainability problems — helping teams build a refactoring roadmap — drawing on twelve classic engineering books.

    1.5k GitHub starsUsed in 1 repo~406 tokens
    Auto-check passed
  • Brooks Health

    hyhmrright/brooks-lint

    Combined codebase health dashboard that scores a project across all four quality dimensions — PR quality, architecture, tech debt, and test quality — in a single pass, drawing on twelve classic…

    1.5k GitHub starsUsed in 1 repo~425 tokens
    Auto-check passed
  • Brooks Review

    hyhmrright/brooks-lint

    PR code review that surfaces decay risks, design smells, and maintainability issues with concrete Symptom → Source → Consequence → Remedy findings, drawing on twelve classic engineering books.

    1.5k GitHub starsUsed in 1 repo~430 tokens
    Auto-check passed
  • Brooks Test

    hyhmrright/brooks-lint

    Test quality review drawing on twelve classic engineering books — with primary focus on xUnit Test Patterns, The Art of Unit Testing, How Google Tests Software, and Working Effectively with Legacy…

    1.5k GitHub starsUsed in 1 repo~432 tokens
    Auto-check passed

Works with

Questions about Brooks Sweep

What does Brooks Sweep do?

Full-sweep mode: runs a unified analysis across all quality dimensions — code decay, architecture, tech debt, and test quality — then applies fixes directly to the codebase. Brooks Sweep is an agent skill from hyhmrright/brooks-lint. Full-sweep mode: runs a unified analysis across all quality dimensions — code decay, architecture, tech debt, and test quality — then applies fixes directly to the codebase.

When should I use Brooks Sweep?

Brooks Sweep fits situations like: : user wants to fix everything; sweep the codebase; auto-fix all issues; clean up the whole project.

How do I install Brooks Sweep in Claude Code?

Run `npx skills add hyhmrright/brooks-lint --skill brooks-sweep -a claude-code`. Or copy the skill folder (skills/brooks-sweep in hyhmrright/brooks-lint) into .claude/skills/brooks-sweep in your project. Claude Code loads it when a task matches its description.

How do I install Brooks Sweep in Codex?

Run `npx skills add hyhmrright/brooks-lint --skill brooks-sweep -a codex`. Or copy the skill folder (skills/brooks-sweep in hyhmrright/brooks-lint) into .agents/skills/brooks-sweep in your project. Codex loads it when a task matches its description.

Can I use Brooks Sweep in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hyhmrright/brooks-lint --skill brooks-sweep -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/brooks-sweep, .gemini/skills/brooks-sweep, .github/skills/brooks-sweep and .opencode/skills/brooks-sweep in your project.

What does Brooks Sweep need to run?

SKILL.md names no scripts, command-line tools or credentials: Brooks Sweep is instructions for the agent only.

Does Brooks Sweep access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Brooks Sweep safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Brooks Sweep use?

Brooks Sweep is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Brooks Sweep use?

About 508 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Brooks Sweep?

Skills that share tags, products or a category with Brooks Sweep: Release (ngrok/ngrok-operator, 272 stars), Dotnet Debugging (novotnyllc/dotnet-artisan, 232 stars), Improve Backend (luxury-yacht/app, 444 stars) and Software Design Review (atilladeniz/Kubeli, 387 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Brooks Sweep?

hyhmrright (a GitHub user) maintains it in hyhmrright/brooks-lint, which has 1,513 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 5, 2026.

Source: hyhmrright/brooks-lint on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.