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 jpicklyk/task-orchestrator --skill designing-modulesgit clone --depth 1 https://github.com/jpicklyk/task-orchestratorWrote 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/jpicklyk/task-orchestrator/designing-modules)<a href="https://agentmods.dev/skills/jpicklyk/task-orchestrator/designing-modules"><img src="https://agentmods.dev/badge/skills/jpicklyk/task-orchestrator/designing-modules/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/jpicklyk/task-orchestrator/designing-modules"><img src="https://agentmods.dev/badge/skills/jpicklyk/task-orchestrator/designing-modules.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.00076 | $0.01482 |
| Opus 5.5 | $0.00030 | $0.00593 |
| Sonnet 5.5 | $0.00015 | $0.00296 |
| Haiku 4.5 | $0.00008 | $0.00148 |
Grade A, and why
designing-modules 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 7d 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 — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Designing modules
A module is any unit with a surface and a body: a function, a class, a file, a package. Good design makes the next change cheap: one change touches one place, and a reader can trust a module's surface without reading its body.
Where the project documents its own design rules or decisions, they take precedence over every check below: code that follows a documented project rule is not a finding.
When to run the checks
- Planning a change: run them on the modules the plan adds, splits, merges or whose surface it changes, and write the answer into the plan (the secret, the force, the owner), not just the conclusion.
- Assessing existing code: run them on the code in question, apply each "Look for" list, and report with the finding format at the end.
Each check gives what to decide when designing and what to look for in code that exists.
1. What does this module keep secret?
Draw a boundary around one decision likely to change (a format, a storage choice, a protocol, a policy) and keep it inside. (Parnas, "On the Criteria To Be Used in Decomposing Systems into Modules", 1972.)
- Look for: the same knowledge in several modules: two files that parse one format, build one key, or know one table's columns. A change to that format that would touch three files is a leaked secret.
- Look for: modules split by the order things happen (read, parse, validate, save), each knowing the same data shape. Sequence is a poor reason for a boundary; shared knowledge is a strong reason to merge. (Ousterhout, A Philosophy of Software Design, "Information Hiding (and Leakage)".)
2. Does this module save its callers anything?
Compare two quantities: what a caller must know to use the module (its signatures, plus the ordering, constraints and failure modes the signatures do not show) and what the module saves the caller from knowing. A deep module saves a lot behind a small surface; a shallow one saves almost nothing, and a surface that saves nothing is cost without benefit. (Ousterhout, A Philosophy of Software Design, "Modules Should Be Deep" and, for methods that only forward, "Different Layer, Different Abstraction".)
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.
- 7d ago First seen · 70 lines · 76 tokens per session scan A b095d5868bb4
designing-modules is a skill published in the GitHub repository jpicklyk/task-orchestrator (215 stars, last pushed today), licensed MIT. It adds 76 tokens to every session and 1,482 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-11-23.
designing-modules compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| designing-modulesjpicklyk/task-orchestrator | Skill | 215 | today | MIT | A | 76 | Claude Code |
| code-reviewiliaal/ai-skills | Skill | 46 | yesterday | MIT | A | 78 | Claude Code, Codex |
| receiving-code-reviewiliaal/ai-skills | Skill | 46 | yesterday | MIT | A | 44 | Claude Code, Codex |
| security-privacy-threat-modelingKyaniteLabs/checkyourself | Skill | 7 | 6d ago | Apache-2.0 | A | 64 | Claude Code, Codex |
| deep-reviewzahardev/aicontext | Skill | 2 | 2mo ago | MIT | A | 39 | Claude Code |
| reviewzahardev/aicontext | Skill | 2 | 2mo ago | MIT | A | 40 | Claude Code |
| gh-review-checkzahardev/aicontext | Skill | 2 | 2mo ago | MIT | A | 12 | Claude Code |