Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add rjmurillo/ai-agents/plugin install project-toolkitWrote 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/rjmurillo/ai-agents/code-qualities-assessment)<a href="https://agentmods.dev/skills/rjmurillo/ai-agents/code-qualities-assessment"><img src="https://agentmods.dev/badge/skills/rjmurillo/ai-agents/code-qualities-assessment/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/rjmurillo/ai-agents/code-qualities-assessment"><img src="https://agentmods.dev/badge/skills/rjmurillo/ai-agents/code-qualities-assessment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00044 | $0.04493 |
| Opus 5.5 | $0.00018 | $0.01797 |
| Sonnet 5.5 | $0.00009 | $0.00899 |
| Haiku 4.5 | $0.00004 | $0.00449 |
Grade A, and why
code-qualities-assessment 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 3d 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 — 489 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code Qualities Assessment
Evaluate maintainability of code using 5 timeless design qualities with quantifiable scoring rubrics. assess.py scores source code only. Rules, skills, and agents are assessed manually against the same qualities. For artifact mapping, the minimal-implementation ladder, and change amplification, see executable-nl-artifacts.md.
Triggers
assess code qualityevaluate maintainabilitycheck code qualitiestestability reviewrun quality assessment
Quick Start
# Assess a single file
python3 scripts/assess.py --target src/services/auth.py
# Assess changed files from the PR base (CI mode)
python3 scripts/assess.py --target . --changed-only --base origin/main --format json
# Full module assessment with HTML report
python3 scripts/assess.py --target src/services/ --format html --output quality-report.html
Scripts
| Script | Purpose | Usage |
|---|---|---|
scripts/assess.py |
Scores target code across the five quality axes. | python3 scripts/assess.py --target <path> --format markdown |
Use --changed-only for diff-scoped checks and --format json for automation. See C# parser, TypeScript and JavaScript parser, and Python parser for runtime packages, failures, and dependency admission. PowerShell (.ps1, .psm1, .psd1) gets coupling and non-redundancy scores only; see PowerShell parser for the pwsh requirement and failures.
The 5 Code Qualities
| Quality | Question | Score 10 | Score 1-3 |
|---|---|---|---|
| Cohesion | How related are responsibilities? | Single, well-defined responsibility | Unrelated responsibilities jammed together |
| Coupling | How dependent on other code? | Minimal deps, depends on abstractions | Tightly coupled, hard-coded dependencies |
| Encapsulation | How well are internals hidden? | All internals private, minimal API | Everything public, no information hiding |
| Testability | How easily verified in isolation? | Pure functions, injected dependencies | Hard to test, requires full integration |
| Non-Redundancy | How unique is each piece of knowledge? | Zero duplication, appropriate abstractions | Pervasive copy-paste |
What ships with it
13 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- README.md 4.1 KB
- references/calibration-advanced-notes.md 2.7 KB
- references/calibration-examples.md 13 KB
- references/csharp-parser.md 2.6 KB
- references/dotnet-performance-patterns.md 5.4 KB
- references/executable-nl-artifacts.md 6.1 KB
- references/powershell-parser.md 4.0 KB
- references/python-parser.md 3.2 KB
- references/refactoring-patterns.md 12 KB
- references/rule-admissions.md 2.4 KB
- references/typescript-parser.md 3.3 KB
- scripts/assess.py 128 KB runs code
- templates/.qualityrc.json 684 B
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.
- 3d ago Changed · -25 tokens per session 8c5e97044549
- 5d ago Changed · -70 tokens per session cdadc245c33a
- 7d ago Changed · -12 lines 7d76242171e6
- 8d ago Changed 3c35972027c0
- 12d ago Changed a24b4b600fa7
- 13d ago Changed 92f1a67228d4
- 14d ago Changed · +1 lines 2b1ecbd37112
- 20d ago Changed 6f03b4bdb184
- 1mo ago Changed · -1 lines d36650aae811
- 1mo ago First seen · 501 lines · 139 tokens per session scan A d2093c33cdaf
code-qualities-assessment is a skill published in the GitHub repository rjmurillo/ai-agents (50 stars, last pushed today), licensed Apache-2.0. It adds 44 tokens to every session and 4,493 once invoked, about $0.0002 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-09-03.
code-qualities-assessment compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| code-qualities-assessmentrjmurillo/ai-agents | Skill | 50 | today | Apache-2.0 | A | 44 | Claude Code |
| quality-checklista5c-ai/babysitter | Skill | 1.9k | 1mo ago | MIT | A | 25 | Claude Code |
| install-gemini-code-review-actionderailed-dash/dazbo-agent-skills | Skill | 30 | 2d ago | MIT | A | 73 | Claude Code, Codex |
| apply-review-feedbackjuliusz-cwiakalski/agentic-delivery-os | Skill | 47 | today | MIT | A | 15 | Claude Code |
| review-remotejuliusz-cwiakalski/agentic-delivery-os | Skill | 47 | today | MIT | A | 13 | Claude Code |
| matlab-testing-ciwzyn20051216/matlab-agent-skills | Skill | 37 | 1mo ago | MIT | A | 62 | Claude Code, Codex |
| matlab-run-testsmatlab/matlab-agentic-toolkit | Skill | 1.4k | yesterday | none | A | 96 | Claude Code |