Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add siarhei-belavus/agent-public --skill review-code-maintainabilitygit clone --depth 1 https://github.com/siarhei-belavus/agent-publicWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/siarhei-belavus/agent-public/review-code-maintainability)<a href="https://agentmods.dev/skills/siarhei-belavus/agent-public/review-code-maintainability"><img src="https://agentmods.dev/badge/skills/siarhei-belavus/agent-public/review-code-maintainability/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/siarhei-belavus/agent-public/review-code-maintainability"><img src="https://agentmods.dev/badge/skills/siarhei-belavus/agent-public/review-code-maintainability.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00037 | $0.01893 |
| Opus 5.5 | $0.00015 | $0.00757 |
| Sonnet 5.5 | $0.00007 | $0.00379 |
| Haiku 4.5 | $0.00004 | $0.00189 |
Grade A, and why
review-code-maintainability scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 179 lines — stays where its author put it; the contents beside it link to each section on GitHub.
review-code-maintainability
Phase 2 code review. Judge whether the change is easy to evolve safely, easy for a human to navigate, and free of avoidable slop.
This is not a style pass. Look for real future-change pressure.
Read first
../references/task-packet-contract.md../references/persistent-artifacts-contract.md../references/review-phases-contract.md../references/compatibility-policy.md../references/ownership-and-reuse-policy.md../references/final-state-authoring-policy.md../references/initiative-workflow-contract.mdwhen reviewing an initiative child packet../../references/communication-mode.md- relevant tracked
AGENTS.mdchain - applicable
AGENTS.override.mdonly if local execution constraints matter - current task packet:
CODE_REVIEW.md,AMENDMENTS.md,PLAN.md, optionalPLAN_SATISFACTION_REVIEW.mdfor unresolvedPS#detail
Core scope
Check:
- maintainability
- evolvability
- anti-slop
- human complexity
- ownership clarity
- change amplification
- hidden coupling
- speculative abstractions
- needless indirection
- navigation cost for the next human/agent
- final-state coherence in canonical code/docs/contracts
Allowed fallback:
- raise a correctness/regression finding if you encounter one while doing this pass
Core workflow
- Establish review scope.
- Read the thin handoff from phase 1:
CODE_REVIEW.mdas the primary rollup source,AMENDMENTS.mdas required companion, andPLAN.mdfor original intent / owner-boundary context. - Read
PLAN_SATISFACTION_REVIEW.mdonly when an unresolvedPS#needs more detail. - Identify the exact implementation commit under review, the exact diff from that commit, changed boundaries, and the modules that now own the behavior.
- If the lead did not provide the commit hash and the workspace is dirty, stop and ask which commit is the review target instead of guessing from a floating workspace.
- If the workspace has drift beyond the named commit, review the named commit and call out the drift explicitly so the lead can re-anchor the review.
- Read the thin handoff from phase 1:
- Run a maintainability pass.
- Look for duplication, hidden coupling, scattered sources of truth, and logic that will drift if changed in more than one place.
- Call out design debt only when it creates a realistic future bug surface or makes the new behavior harder to evolve safely.
- Run a human maintainability pass.
- Judge how quickly a human can find the owner code, rebuild the mental model, and make a safe edit without holding too much hidden context in working memory.
- Treat high navigation cost, scattered logic, and heavy cross-file recall as maintainability problems.
- Run an architecture-drift pass.
- Check whether the change weakens module boundaries, introduces a second source of truth, leaks internal invariants across APIs, or increases change amplification.
- Prefer findings that explain future breakage pressure:
this works, but every future change now has to update three places.
- Run an ownership-and-reuse pass.
- Flag parallel same-purpose entities unless the new boundary is explicit and materially non-overlapping.
- Run a final-state-authoring pass.
- Flag dual vocabularies, dual status models, or dual owner semantics that survive inside canonical code/docs/contracts.
- Flag files that read like migration notes, patch notes, or append-only overlays when one current model should be obvious.
- Flag implementations that keep old/new same-purpose paths alive when no real external boundary requires that residue.
- Flag changes that should have reused the current owner after a small tidy-first refactor.
- Flag designs where one invariant or behavior now has multiple owners.
- Flag implementations that require coordinated edits across same-purpose modules to keep one behavior correct.
- Run an anti-slop pass.
- Flag generic abstractions without leverage.
- Flag speculative extensibility that is not earning its complexity today.
- Flag helper or adapter sprawl that makes ownership harder to see.
- Flag AI-shaped indirection, duplicated glue, or ceremonial wrappers that do not reduce real risk.
- Flag prose/config/code duplication pressure that nudges the system toward multiple sources of truth.
- Flag internal-only backward-compatibility scaffolding as unnecessary complexity unless the human explicitly required it for a real external boundary.
- Check tests as maintenance evidence when relevant.
- If the new structure makes correctness harder to prove or leaves fragile behavior weakly tested, treat that as a maintainability finding.
- Write or update
MAINTAINABILITY_REVIEW.md.- Emit only concrete
M#findings with real future-change pressure.
- Emit only concrete
- Update
CODE_REVIEW.mdwith the fixed rollup fields this phase owns.
Maintainability verdict:strong,acceptable, orfragile- unresolved
M# - rerun notes
- latest rolled-up status if the phase-2 verdict or follow-up status changed
- keep key dispositions already decided in
AMENDMENTS.mdcurrent when new review dispositions were resolved after phase 1
- If the review exposes durable semantic/navigation residue, append it to
ARTIFACT_CANDIDATES.md. - Update
INDEX.mdif packet status changes.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 179 lines · 37 tokens per session scan A 9ba65ed5e2e5
review-code-maintainability is a skill published in the GitHub repository siarhei-belavus/agent-public (2 stars, last pushed 5mo ago), licensed MIT. It adds 37 tokens to every session and 1,893 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
autoreview
Structured code review through the shared OpenClaw agent-skills installation.
omh-code-review
This is an OMH code-review workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
revdiff-plan
Review the last Codex assistant message (plan, analysis, or proposal) with inline annotations in a TUI overlay. Extracts the most recent response from Codex rollout files and opens it in revdiff for review and annotation. Activates on "revdiff-plan", "review plan with revdiff", "annotate plan", "review last response"…
explore-unknowns
Guide the user through a quadrant walk that maps the unknowns of a task — open by listing the known knowns, then work through known unknowns, unknown knowns, and unknown unknowns one stage at a time, ending with a complete four-quadrant map in the user's hands. Use when a request is ambiguous or underspecified, the…
re0-merge
Review and land an external contribution the way this suite does: gate it against the thesis, land it with the author's credit intact, complete a new skill rather than merging it raw, then approve, credit, and explain before closing. Use when reviewing a pull request, as any collaborator or maintainer, not only the…
asplos-writing-style
Use when drafting or revising ASPLOS prose — engineering the first two pages that rapid review actually reads, stating the cross-layer insight as one quotable sentence, structuring per-layer mechanism sections, writing bounded claims, and fitting everything into 11 self-contained pages that include figures and…