Borrowing it
Nothing to install: this file belongs to antosubash/SimpleModule. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/antosubash/SimpleModule/main/.claude/commands/debug-module.mdgit 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/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/commands/antosubash/simplemodule/debug-module"><img src="https://agentmods.dev/badge/commands/antosubash/simplemodule/debug-module.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.00000 | $0.01455 |
| Opus 5.5 | $0.00000 | $0.00582 |
| Sonnet 5.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 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.
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.
- 1mo ago 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 19d ago), 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
baryon-mode
IF .NET warnings need extermination THEN use this. One-shot Noble Phantasm: snapshots reality (Rider MCP + NuGet MCP), 8 aspects burst at T0, headless/reckless, cross-repo. Full MCP access.
test
Run .NET TDD workflow — write failing xUnit/MSTest tests, implement, verify. For bugs, use the Prove-It pattern.
scripts
Commands for creating C# script files, attaching MonoBehaviours to GameObjects, and reading/writing serialized fields. Writing a .cs file does not make its type available — Unity must import and compile it (a domain reload) first. The flow is: createscript → recompile → poll recompilestatus (until completed/uptodate)…
lint:explain
(Ruff) Explain a ruff error and show the PROPER solution (without noqa!).
savant-node
Node.js performance optimization with Node.js Developer agent.
cpp-build
Fix C++ build errors, CMake issues, and linker problems incrementally. Invokes the cpp-build-resolver agent for minimal, surgical fixes.