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 Kaddo-kdd/kaddo --skill module-context-refinementgit clone --depth 1 https://github.com/Kaddo-kdd/kaddoWrote 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/kaddo-kdd/kaddo/module-context-refinement)<a href="https://agentmods.dev/skills/kaddo-kdd/kaddo/module-context-refinement"><img src="https://agentmods.dev/badge/skills/kaddo-kdd/kaddo/module-context-refinement/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/kaddo-kdd/kaddo/module-context-refinement"><img src="https://agentmods.dev/badge/skills/kaddo-kdd/kaddo/module-context-refinement.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.00043 | $0.00365 |
| Opus 5.5 | $0.00017 | $0.00146 |
| Sonnet 5.5 | $0.00009 | $0.00073 |
| Haiku 4.5 | $0.00004 | $0.00036 |
Grade A, and why
module-context-refinement 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 1mo 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.
What it actually says
Module Context Refinement Skill
Purpose
Standardize how a multirepo module's context is refined without duplicating global knowledge.
When to use
When refining knowledge/module/module-context.md in a multirepo module repository.
Inputs
The module's module-context.md, local tech knowledge (current-state.md, codebase.md),
and — optionally — the core system's context pack.
Output
A refined module-context.md with real, project-specific content in all sections.
Rules
- Use module responsibility, not full product strategy.
- Identify boundaries and dependencies from the local code.
- Keep business/product context in the core/system repository.
- Document local risks and exposed interfaces.
- Preserve frontmatter (
type,module_id,parent_system). - Mark unknowns as open questions.
- Do not create
business.mdorproduct.mdin the module. - Do not install agents or skills in the module.
- Do not create Work Items in the module.
Quality checklist
- Module identity and purpose are clear.
- Responsibility and boundaries are non-overlapping with other modules.
- Exposed interfaces are real, not invented.
- Dependencies and consumers are listed.
- Local rules are documented.
- Risks are honest and specific.
- Open questions are surfaced.
Example output
A module-context.md with all placeholder sections filled in.
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.
- 1mo ago First seen · 52 lines · 43 tokens per session scan A bd4f427fffed
module-context-refinement is a skill published in the GitHub repository Kaddo-kdd/kaddo (71 stars, last pushed yesterday), licensed MIT. It adds 43 tokens to every session and 365 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-09-25.
module-context-refinement compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| module-context-refinementKaddo-kdd/kaddo | Skill | 71 | yesterday | MIT | A | 43 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 136k | today | Apache-2.0 | A | 113 | Codex |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 80k | yesterday | MIT | A | 200 | Claude Code, Codex |
| playwright-climicrosoft/playwright | Skill | 100k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 395k | today | MIT | A | 36 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 14k | today | CC0-1.0 | A | 113 | Claude Code, Codex |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |