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 S3YED/appie-kit --skill code-qualitygit clone --depth 1 https://github.com/S3YED/appie-kitWrote 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/s3yed/appie-kit/code-quality)<a href="https://agentmods.dev/skills/s3yed/appie-kit/code-quality"><img src="https://agentmods.dev/badge/skills/s3yed/appie-kit/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/s3yed/appie-kit/code-quality"><img src="https://agentmods.dev/badge/skills/s3yed/appie-kit/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.00024 | $0.02587 |
| Opus 5.5 | $0.00010 | $0.01035 |
| Sonnet 5.5 | $0.00005 | $0.00517 |
| Haiku 4.5 | $0.00002 | $0.00259 |
Grade A, and why
code-quality scanned grade A with 1 finding 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
os.system(f"ls {user_input}") How it starts
The opening of the file, as written. The whole thing — 298 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code Quality & Verification
Three complementary tools for ensuring code quality at different stages of development:
| Mode | When | Tool | What it does |
|---|---|---|---|
| Codebase Metrics | Explore/adopt a repo | pygount |
Analyze LOC, language breakdown, code-vs-comment ratios |
| Simplify Code | After implementing changes | 3 parallel subagents | Clean up recent changes for reuse, quality, efficiency |
| Pre-Commit Verification | Before git commit |
Automated pipeline | Security scan, quality gates, independent reviewer, auto-fix |
Section 1: Codebase Metrics (pygount)
Analyze repositories for lines of code, language breakdown, file counts, and code-vs-comment ratios.
When to Use
- User asks for LOC (lines of code) count
- User wants a language breakdown of a repo
- User asks about codebase size or composition
- General "how big is this repo" questions
Prerequisites
pip install --break-system-packages pygount 2>/dev/null || pip install pygount
Basic Summary
cd /path/to/repo
pygount --format=summary \
--folders-to-skip=".git,node_modules,venv,.venv,__pycache__,.cache,dist,build,.next,.tox,.eggs,*.egg-info" \
.
IMPORTANT: Always use --folders-to-skip to exclude dependency/build directories, otherwise pygount will crawl them and hang.
Common Folder Exclusions
# Python projects
--folders-to-skip=".git,venv,.venv,__pycache__,.cache,dist,build,.tox,.eggs,.mypy_cache"
# JavaScript/TypeScript projects
--folders-to-skip=".git,node_modules,dist,build,.next,.cache,.turbo,coverage"
Filter by Language
# Only count Python files
pygount --suffix=py --format=summary .
# Only count Python and YAML
pygount --suffix=py,yaml,yml --format=summary .
Output Formats
pygount --format=summary . # Summary table
pygount --format=json . # JSON for programmatic use
Interpreting Results
The summary table columns: Language, Files, Code (executable lines), Comment (documentation lines), % (percentage of total).
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 · 298 lines · 24 tokens per session scan A 31dea9dea380
code-quality is a skill published in the GitHub repository S3YED/appie-kit (14 stars, last pushed 3mo ago), licensed MIT. It adds 24 tokens to every session and 2,587 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
code-quality compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| code-qualityS3YED/appie-kit | Skill | 14 | 3mo ago | MIT | A | 24 | Claude Code, Codex |
| babysitthedotmack/claude-mem | Skill | 121k | today | Apache-2.0 | A | 44 | Claude Code |
| githubNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 19 | Claude Code, Codex |
| merge-batchdiegosouzapw/OmniRoute | Skill | 91k | yesterday | MIT | A | 46 | Claude Code |
| make-pr-easy-to-reviewmichael-denyer/pstack-claude | Skill | 5.1k | today | MIT | A | 57 | Claude Code |
| pr-triageaeonfun/aeon | Skill | 800 | today | MIT | A | 26 | Claude Code, Codex |
| feedback-builderaeonfun/aeon | Skill | 800 | today | MIT | A | 45 | Claude Code, Codex |