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 codybrom/clairvoyance --skill module-boundariesgit clone --depth 1 https://github.com/codybrom/clairvoyanceWrote 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/codybrom/clairvoyance/module-boundaries)<a href="https://agentmods.dev/skills/codybrom/clairvoyance/module-boundaries"><img src="https://agentmods.dev/badge/skills/codybrom/clairvoyance/module-boundaries/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/codybrom/clairvoyance/module-boundaries"><img src="https://agentmods.dev/badge/skills/codybrom/clairvoyance/module-boundaries.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.00070 | $0.01207 |
| Opus 5.5 | $0.00028 | $0.00483 |
| Sonnet 5.5 | $0.00014 | $0.00241 |
| Haiku 4.5 | $0.00007 | $0.00121 |
Grade A, and why
module-boundaries 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 — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Module Boundaries Review Lens
When invoked with $ARGUMENTS, focus the analysis on the specified file or module. Read the target code first, then apply the checks below.
Evaluate where module boundaries are drawn: are related things together and unrelated things apart?
When to Apply
- Deciding whether to split a large class or merge small ones
- When two modules seem tightly coupled
- When a change to one module frequently requires changes to another
- When reviewing a decomposition decision
Core Principles
The Default Instinct Is Wrong
Most developers assume smaller is better, which produces systems full of shallow, pass-through components that increase cognitive load without hiding anything. The right answer is always whichever arrangement results in lower overall system complexity. Not smaller. Not more separated. Simpler.
Merge Signals (Better Together)
- They share information: Same format, protocol, or data structure knowledge
- They simplify each other: Together, code is simpler than pieces apart
- They always change together: The boundary is fiction
- One is incomplete without the other: Callers must always use both
- It eliminates duplication: The same code appears in both places. Merging lets it exist once
- It resolves pass-throughs: A forwarding method adds a layer without adding an abstraction
Four costs of every split: more components to track, connective tissue to manage the boundary, separation of related code (producing unknown unknowns) and duplication.
Split Signals (Better Apart)
- Pieces are independent: Can be understood and modified separately
- Different knowledge domains: No shared secrets
- A clear, simple interface exists at the boundary
- Different rates of change: One stable, one evolving
- General-purpose from special-purpose: Keep the general-purpose layer clean
The Third Option
When combining doesn't simplify and separating doesn't either, look for the abstraction underneath both. Forcing a merge produces a module with two identities. Forcing a split produces conjoined modules. The relationship between the two things points at a concept that neither one is.
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 · 97 lines · 70 tokens per session scan A b71cbc80defb
module-boundaries is a skill published in the GitHub repository codybrom/clairvoyance (22 stars, last pushed 1mo ago), licensed MIT. It adds 70 tokens to every session and 1,207 once invoked, about $0.0003 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.
module-boundaries compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| module-boundariescodybrom/clairvoyance | Skill | 22 | 1mo ago | MIT | A | 70 | Claude Code |
| agent-cross-review-1ambda-dataops-platform-2majiayu000/claude-skill-registry | Skill | 754 | yesterday | MIT | A | 0 | Claude Code, Codex |
| agent-design-best-practicesmajiayu000/claude-skill-registry | Skill | 754 | yesterday | MIT | A | 0 | Claude Code, Codex |
| agent-checkmajiayu000/claude-skill-registry | Skill | 754 | yesterday | MIT | A | 0 | Claude Code, Codex |
| neo-rustBenknightdark/neo-skills | Skill | 7 | 15d ago | MIT | A | 83 | Claude Code, Codex |
| neo-code-reviewBenknightdark/neo-skills | Skill | 7 | 15d ago | MIT | A | 87 | Claude Code, Codex |
| neo-prBenknightdark/neo-skills | Skill | 7 | 15d ago | MIT | A | 60 | Claude Code, Codex |