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 agentmods add commands/antosubash/simplemodule/debug-modulegit clone --depth 1 https://github.com/antosubash/SimpleModuleWrote 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/commands/antosubash/simplemodule/debug-module)<a href="https://agentmods.dev/commands/antosubash/simplemodule/debug-module"><img src="https://agentmods.dev/badge/commands/antosubash/simplemodule/debug-module.svg" alt="Measured on agentmods" 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 | $0.00000 | $0.01455 |
| Opus 5 | $0.00000 | $0.00727 |
| Sonnet 5 | $0.00000 | $0.00291 |
| Haiku 4.5 | $0.00000 | $0.00145 |
Grade A, and why
debug-module 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 today.
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 — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diagnose why a module isn't being discovered or working correctly in SimpleModule.
If no module name was supplied as an argument, ask: "Which module would you like to debug? (e.g. Products, Orders)"
Work through all 7 checks below in order. For each check, mark it ✅ pass / ❌ fail / ⚠️ warning, then apply the described fix before moving to the next check. Do not skip checks even if earlier ones fail.
Status marker meanings: ✅ = passes all requirements · ❌ = fails, fix required · ⚠️ = exists and will work, but has a non-critical configuration difference (e.g., SM00xx warnings but no errors, or a file exists but a setting differs from the expected default).
Replace {Name} with the module name throughout.
Check 1 — Module class
Read modules/{Name}/src/SimpleModule.{Name}/{Name}Module.cs.
Verify:
- The file exists.
- The class is decorated with
[Module(...)]. - The class implements
IModule. - The class is
public. - The class is not
sealed.
Fix if failing: Create or correct the file so the class is public, non-sealed, carries [Module(...)], and implements IModule.
Check 2 — Contracts SDK
Read modules/{Name}/src/SimpleModule.{Name}.Contracts/SimpleModule.{Name}.Contracts.csproj.
Verify:
- The file exists.
Sdk="Microsoft.NET.Sdk"(must NOT beMicrosoft.NET.Sdk.RazororMicrosoft.NET.Sdk.Web).
Fix if failing: Set the Sdk attribute to Microsoft.NET.Sdk.
Check 3 — Implementation SDK + FrameworkReference
Read modules/{Name}/src/SimpleModule.{Name}/SimpleModule.{Name}.csproj.
Verify:
- The file exists.
Sdk="Microsoft.NET.Sdk.StaticWebAssets"(the implementation project ships the module's static frontend bundle; must NOT beMicrosoft.NET.Sdk.RazororMicrosoft.NET.Sdk.Web).- Contains
<FrameworkReference Include="Microsoft.AspNetCore.App" />.
Fix if failing: Set Sdk="Microsoft.NET.Sdk.StaticWebAssets" if it is wrong. If <FrameworkReference Include="Microsoft.AspNetCore.App" /> is missing, add it inside an <ItemGroup>.
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.
- today First seen · 138 lines · 0 tokens per session scan A 8f99bb43b26d
debug-module is a command published in the GitHub repository antosubash/SimpleModule (5 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,455 tokens. 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-04.
Other commands, from other repositories
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.