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 fabiandistler/agents --skill coupling-cohesiongit clone --depth 1 https://github.com/fabiandistler/agentsWrote 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/fabiandistler/agents/coupling-cohesion)<a href="https://agentmods.dev/skills/fabiandistler/agents/coupling-cohesion"><img src="https://agentmods.dev/badge/skills/fabiandistler/agents/coupling-cohesion/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/fabiandistler/agents/coupling-cohesion"><img src="https://agentmods.dev/badge/skills/fabiandistler/agents/coupling-cohesion.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.00048 | $0.00908 |
| Opus 5.5 | $0.00019 | $0.00363 |
| Sonnet 5.5 | $0.00010 | $0.00182 |
| Haiku 4.5 | $0.00005 | $0.00091 |
Grade A, and why
coupling-cohesion 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 6d 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.
The source is not reproduced here
No licence file
A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.
What ships with it
17 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.
- evals.json 568 B
- references/balanced-coupling-model.md 9.2 KB
- references/cohesion-taxonomy.md 11 KB
- references/metrics.md 7.3 KB
- references/mode-a-cohesion.md 6.5 KB
- references/mode-b-coupling-metrics.md 6.1 KB
- references/mode-c-balanced-coupling.md 6.7 KB
- references/rebalancing.md 5.3 KB
- references/remediation.md 3.7 KB
- scripts/balance_check.example.json 1.4 KB
- scripts/balance_check.py 8.0 KB runs code
- scripts/coupling_metrics.example.json 923 B
- scripts/coupling_metrics.py 6.7 KB runs code
- scripts/lcom.py 19 KB runs code
- scripts/test_balance_check.py 2.8 KB runs code
- scripts/test_coupling_metrics.py 2.7 KB runs code
- scripts/test_lcom.py 4.6 KB runs code
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.
- 6d ago Changed · -407 lines · +5 tokens per session 642cc91fc9bb
- 8d ago Changed · +3 lines 12f81855cf26
- 10d ago Changed · +1 lines c6725b0c987b
- 17d ago Changed · +101 lines fdb443ffacec
- 1mo ago Changed · -108 lines b53278b52c39
- 1mo ago Changed · +3 lines 8512737fd4c1
- 2mo ago First seen · 473 lines · 43 tokens per session scan A 15973d48578c
coupling-cohesion is a skill published in the GitHub repository fabiandistler/agents (2 stars, last pushed yesterday), with no licence file. It adds 48 tokens to every session and 908 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-08-31.
Other skills, from other repositories
scale-to-millions
Use this skill whenever the user is designing, reviewing, debugging, or answering interview questions about system/software architecture and scalability — e.g. "scale my app", "how do I handle more traffic", "design a URL shortener / news feed / chat system", "my API is slow under load", "should I shard my database"…
drupal-security-review
Use when auditing Drupal 11 custom modules/themes for security issues such as unsafe input handling, XSS risks, SQL injection, and access control gaps.
dry
DRY (Don't Repeat Yourself) review rules for code reviews: find the same knowledge — a rule, a constant, a parser, a validation, a protocol detail — implemented in several places that must change together, and tell it apart from code that merely looks alike. Use when reviewing a diff, a pull request or recent changes…
solid
SOLID design review rules (SRP, OCP, LSP, ISP, DIP) for code reviews: what counts as a real design finding, what is only taste, how to cite it and how severe it is. Use when reviewing a diff, a pull request or recent changes for design problems, when asked for a "SOLID review", "design review", "is this class doing…
rigorous-review
Rigorous, evidence-backed code review for high-stakes changes. Trigger on: rigorous review, thorough review, deep review, review this PR properly, review before merge, high-stakes review, "is this actually safe to merge", regulated or compliance code review, batch-review these PRs. Every finding carries quoted…
speckit.quizme
Logic Challenger (Red Team) - Ask critical questions, find edge cases.