review-code-maintainability

review-code-maintainability is a skill for Claude Code, Codex from siarhei-belavus/agent-public. It costs 37 tokens per session (1,893 once invoked), scanned A, original, MIT.

A code-review check focused on whether software will remain understandable and safe to change. It looks beyond formatting at design problems that create future work.

In plain words
What is it for?
Use it to review maintainability, ease of future changes, duplicated or indirect logic, and the amount of effort a developer will need to navigate the code.
Why use it?
It helps catch unnecessary complexity, hidden dependencies, unclear ownership, and other issues that make later changes risky.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it to review maintainability, ease of future changes, duplicated or indirect logic, and the amount of effort a developer will need to navigate the code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/siarhei-belavus/agent-public/review-code-maintainability
Install

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.

Any agent
npx skills add siarhei-belavus/agent-public --skill review-code-maintainability
Clone the repo
git clone --depth 1 https://github.com/siarhei-belavus/agent-public

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for review-code-maintainability

README.md
[![agentmods](https://agentmods.dev/badge/skills/siarhei-belavus/agent-public/review-code-maintainability/github.svg)](https://agentmods.dev/skills/siarhei-belavus/agent-public/review-code-maintainability)
Your own site
<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.

agentmods 80×15 button for review-code-maintainability

Your own site · 80×15
<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>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,893 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 2mo ago against content hash 9ba65ed5e2e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

skills/atelier-workflow/review-code-maintainability/SKILL.md · 179 lines

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.md when reviewing an initiative child packet
  • ../../references/communication-mode.md
  • relevant tracked AGENTS.md chain
  • applicable AGENTS.override.md only if local execution constraints matter
  • current task packet: CODE_REVIEW.md, AMENDMENTS.md, PLAN.md, optional PLAN_SATISFACTION_REVIEW.md for unresolved PS# 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

  1. Establish review scope.
    • Read the thin handoff from phase 1: CODE_REVIEW.md as the primary rollup source, AMENDMENTS.md as required companion, and PLAN.md for original intent / owner-boundary context.
    • Read PLAN_SATISFACTION_REVIEW.md only when an unresolved PS# 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.
  2. 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.
  3. 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.
  4. 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.
  5. Run an ownership-and-reuse pass.
    • Flag parallel same-purpose entities unless the new boundary is explicit and materially non-overlapping.
  6. 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.
  7. 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.
  8. 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.
  9. Write or update MAINTAINABILITY_REVIEW.md.
    • Emit only concrete M# findings with real future-change pressure.
  10. Update CODE_REVIEW.md with the fixed rollup fields this phase owns.
  • Maintainability verdict: strong, acceptable, or fragile
  • 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.md current when new review dispositions were resolved after phase 1
  1. If the review exposes durable semantic/navigation residue, append it to ARTIFACT_CANDIDATES.md.
  2. Update INDEX.md if packet status changes.

Read the full file on GitHub · 179 lines

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.

  1. 2mo ago First seen · 179 lines · 37 tokens per session scan A 9ba65ed5e2e5

Subscribe to this mod's changes

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.

Related

Other skills, from other repositories

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

openclaw/clawhub · 17 tokens

omh-code-review

This is an OMH code-review workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).

rlaope/oh-my-hermes · 48 tokens

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"…

umputun/revdiff · 84 tokens

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…

dzhng/skills · 162 tokens

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…

LilMGenius/paperthin · 70 tokens

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…

brycewang-stanford/Awesome-Journal-Skills · 65 tokens