designing-modules

designing-modules is a skill for Claude Code from jpicklyk/task-orchestrator. It costs 76 tokens per session (1,482 once invoked), scanned A, original, MIT.

A guide for deciding the shape and boundaries of code modules, such as functions, classes, files or packages. It covers hidden decisions, dependencies, state ownership and error handling.

In plain words
What is it for?
Use it when adding, splitting, merging or reviewing modules, interfaces, classes, packages or widely used APIs.
Why use it?
It helps keep changes local and makes a module's public surface understandable without reading all its internals. It also exposes duplicated knowledge and unclear responsibilities in existing code.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the task-orchestrator plugin — 32 skills, 5 agents shipped together

Good fit Use it when adding, splitting, merging or reviewing modules, interfaces, classes, packages or widely used APIs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jpicklyk/task-orchestrator/designing-modules
Install

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.

Any agent
npx skills add jpicklyk/task-orchestrator --skill designing-modules
Clone the repo
git clone --depth 1 https://github.com/jpicklyk/task-orchestrator

Made for: Claude Code.

Or install task-orchestrator, the plugin that ships this one along with the rest of its 32 skills, 5 agents.

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 designing-modules

README.md
[![agentmods](https://agentmods.dev/badge/skills/jpicklyk/task-orchestrator/designing-modules/github.svg)](https://agentmods.dev/skills/jpicklyk/task-orchestrator/designing-modules)
Your own site
<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.

agentmods 80×15 button for designing-modules

Your own site · 80×15
<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>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,482 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.
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.00076 $0.01482
Opus 5.5 $0.00030 $0.00593
Sonnet 5.5 $0.00015 $0.00296
Haiku 4.5 $0.00008 $0.00148

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

Security

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.

claude-plugins/task-orchestrator/skills/designing-modules/SKILL.md · 70 lines

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".)

Read the full file on GitHub · 70 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. 7d ago First seen · 70 lines · 76 tokens per session scan A b095d5868bb4

Subscribe to this mod's changes

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.

Related

designing-modules compared with skills from other repositories

designing-modules next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
designing-modulesjpicklyk/task-orchestratorSkill215todayMITA76Claude Code
code-reviewiliaal/ai-skillsSkill46yesterdayMITA78Claude Code, Codex
receiving-code-reviewiliaal/ai-skillsSkill46yesterdayMITA44Claude Code, Codex
security-privacy-threat-modelingKyaniteLabs/checkyourselfSkill76d agoApache-2.0A64Claude Code, Codex
deep-reviewzahardev/aicontextSkill22mo agoMITA39Claude Code
reviewzahardev/aicontextSkill22mo agoMITA40Claude Code
gh-review-checkzahardev/aicontextSkill22mo agoMITA12Claude Code