code-qualities-assessment

code-qualities-assessment is a skill for Claude Code from rjmurillo/ai-agents. It costs 44 tokens per session (4,493 once invoked), scanned A, original, Apache-2.0.

A maintainability assessment for code based on cohesion, coupling, encapsulation, testability, and non-redundancy. It scores methods, classes, or modules and produces reports with suggested improvements.

In plain words
What is it for?
Use it to assess code quality, review changed files, evaluate maintainability, and create Markdown, JSON, or HTML assessment reports.
Why use it?
It gives a structured way to find design problems that make code harder to change, test, or understand.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the project-toolkit plugin — 86 skills shipped together

Good fit Use it to assess code quality, review changed files, evaluate maintainability, and create Markdown, JSON, or HTML assessment reports.

Compare 6 skills from other repositories ↓
Install

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.

Claude Code
/plugin marketplace add rjmurillo/ai-agents
Claude Code
/plugin install project-toolkit

Made for: Claude Code.

Or install project-toolkit, the plugin that ships this one along with the rest of its 86 skills.

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 code-qualities-assessment

README.md
[![agentmods](https://agentmods.dev/badge/skills/rjmurillo/ai-agents/code-qualities-assessment/github.svg)](https://agentmods.dev/skills/rjmurillo/ai-agents/code-qualities-assessment)
Your own site
<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.

agentmods 80×15 button for code-qualities-assessment

Your own site · 80×15
<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>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,493 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00044 $0.04493
Opus 5.5 $0.00018 $0.01797
Sonnet 5.5 $0.00009 $0.00899
Haiku 4.5 $0.00004 $0.00449

Measured 3d ago against content hash 8c5e97044549, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/assess.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

src/claude/skills/code-qualities-assessment/SKILL.md · 489 lines

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 quality
  • evaluate maintainability
  • check code qualities
  • testability review
  • run 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

Read the full file on GitHub · 489 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. 3d ago Changed · -25 tokens per session 8c5e97044549
  2. 5d ago Changed · -70 tokens per session cdadc245c33a
  3. 7d ago Changed · -12 lines 7d76242171e6
  4. 8d ago Changed 3c35972027c0
  5. 12d ago Changed a24b4b600fa7
  6. 13d ago Changed 92f1a67228d4
  7. 14d ago Changed · +1 lines 2b1ecbd37112
  8. 20d ago Changed 6f03b4bdb184
  9. 1mo ago Changed · -1 lines d36650aae811
  10. 1mo ago First seen · 501 lines · 139 tokens per session scan A d2093c33cdaf

Subscribe to this mod's changes

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.

Related

code-qualities-assessment compared with skills from other repositories

code-qualities-assessment next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-qualities-assessmentrjmurillo/ai-agentsSkill50todayApache-2.0A44Claude Code
quality-checklista5c-ai/babysitterSkill1.9k1mo agoMITA25Claude Code
install-gemini-code-review-actionderailed-dash/dazbo-agent-skillsSkill302d agoMITA73Claude Code, Codex
apply-review-feedbackjuliusz-cwiakalski/agentic-delivery-osSkill47todayMITA15Claude Code
review-remotejuliusz-cwiakalski/agentic-delivery-osSkill47todayMITA13Claude Code
matlab-testing-ciwzyn20051216/matlab-agent-skillsSkill371mo agoMITA62Claude Code, Codex
matlab-run-testsmatlab/matlab-agentic-toolkitSkill1.4kyesterdaynoneA96Claude Code