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 sam-dumont/claude-skills --skill advanced-code-qualitygit clone --depth 1 https://github.com/sam-dumont/claude-skillsWrote 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/sam-dumont/claude-skills/advanced-code-quality)<a href="https://agentmods.dev/skills/sam-dumont/claude-skills/advanced-code-quality"><img src="https://agentmods.dev/badge/skills/sam-dumont/claude-skills/advanced-code-quality/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/sam-dumont/claude-skills/advanced-code-quality"><img src="https://agentmods.dev/badge/skills/sam-dumont/claude-skills/advanced-code-quality.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.00190 | $0.04322 |
| Opus 5.5 | $0.00076 | $0.01729 |
| Sonnet 5.5 | $0.00038 | $0.00864 |
| Haiku 4.5 | $0.00019 | $0.00432 |
Grade A, and why
advanced-code-quality 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 3mo 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 — 509 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Advanced Python Code Quality
Goes beyond the basic stack (ruff, mypy, xenon, vulture, pre-commit) to cover every remaining quality dimension. Each section maps a gap to specific tools with exact configuration and thresholds.
Core insight: AI-generated code doesn't need different tools — it needs tighter thresholds on existing tools.
Quick Reference: Tool Inventory
| Gap | Tool | Install | Threshold |
|---|---|---|---|
| Cognitive complexity | complexipy | pip install complexipy |
≤10 per function |
| Complexity trends | wily | pip install wily |
No regression vs base branch |
| Maintainability Index | radon mi | Already installed (via xenon) | MI ≥ 20 (rank A) |
| Code duplication | jscpd | npm install -g jscpd |
≤5% duplication |
| Pylint design checks | pylint | pip install pylint |
max-args=6, max-branches=10 |
| Modernization | refurb | pip install refurb |
Zero warnings |
| Custom lint rules | fixit | pip install fixit |
Project-specific |
| Architectural boundaries | import-linter | pip install import-linter |
Zero contract violations |
| Architecture tests | pytestarch | pip install pytestarch |
All tests pass |
| Dependency hygiene | deptry | pip install deptry |
Zero DEP001–DEP005 |
| Dependency conflicts | pipdeptree | pip install pipdeptree |
--warn fail |
| Diff coverage | diff-cover | pip install diff-cover |
≥95% on changed lines |
| Mutation testing | mutmut | pip install mutmut |
≥75% mutation score |
| Performance regression | pytest-benchmark | pip install pytest-benchmark |
≤10% regression |
| Docstring coverage | interrogate | pip install interrogate |
≥95% coverage |
| API breaking changes | griffe | pip install griffe |
Zero breaking changes |
| Type completeness | pyright | pip install pyright |
--verifytypes |
| Type bootstrap | MonkeyType | pip install MonkeyType |
N/A (dev tool) |
| AI hallucinated imports | sloppylint | pip install sloppylint |
Zero violations |
| Platform tracking | SonarCloud | Free for OSS | Sonar way quality gate |
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.
- 3mo ago First seen · 509 lines · 190 tokens per session scan A 85e0892c5b93
advanced-code-quality is a skill published in the GitHub repository sam-dumont/claude-skills (38 stars, last pushed 1mo ago), licensed MIT. It adds 190 tokens to every session and 4,322 once invoked, about $0.0008 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-30.
advanced-code-quality compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| advanced-code-qualitysam-dumont/claude-skills | Skill | 38 | 1mo ago | MIT | A | 190 | Claude Code |
| autoreviewopenclaw/clawhub | Skill | 9.6k | today | MIT | A | 17 | Claude Code, Codex |
| omh-code-reviewrlaope/oh-my-hermes | Skill | 6.3k | today | MIT | A | 18 | Claude Code |
| agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skills | Skill | 2.2k | 12d ago | MIT | A | 115 | Claude Code, Codex |
| asplos-writing-stylebrycewang-stanford/Awesome-Journal-Skills | Skill | 1.5k | 2d ago | MIT | A | 65 | Claude Code |
| revdiff-planumputun/revdiff | Skill | 977 | 2d ago | MIT | A | 84 | Claude Code |
| re0-mergeLilMGenius/paperthin | Skill | 1.5k | today | MIT | A | 51 | Claude Code, Codex |