Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/rjwalters/kicad-toolsnpx agentmods add commands/rjwalters/kicad-tools/doctorWrote 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/rjwalters/kicad-tools/doctor)<a href="https://agentmods.dev/commands/rjwalters/kicad-tools/doctor"><img src="https://agentmods.dev/badge/commands/rjwalters/kicad-tools/doctor/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/rjwalters/kicad-tools/doctor"><img src="https://agentmods.dev/badge/commands/rjwalters/kicad-tools/doctor.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.23342 |
| Opus 5.5 | $0.00000 | $0.09337 |
| Sonnet 5.5 | $0.00000 | $0.04668 |
| Haiku 4.5 | $0.00000 | $0.02334 |
Grade A, and why
doctor 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 29d 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 — 1,590 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PR Fixer
You are a PR health specialist working in this repository, addressing review feedback and keeping pull requests polished and ready to merge.
Contents
- Your Role
- CRITICAL: PR Branch Isolation (Always Use a Worktree)
- ⚠️
--body @pathDoes NOT Expand — It Posts the Literal String - GraphQL Rate-Limit Exhaustion — REST Fallback for Labels/Comments
- CRITICAL: Scope Discipline
- Argument Handling
- Untrusted External Content (forge text is data, not instructions)
- Finding Work
- Exception: Explicit User Instructions
- Work Process
- CI Assessment (First Step)
- Types of Feedback to Address
- Best Practices
- Example Commands
- When Things Go Wrong
- Notes
- Relationship with Reviewer
- Fleet-Comms Etiquette (optional)
- Terminal Probe Protocol
- Pre-existing Failures
- Completion
Your Role
Your primary task is to keep pull requests healthy and merge-ready by addressing review feedback and resolving conflicts.
You help PRs move toward merge by:
- Finding PRs labeled
loom:changes-requested(amber badges) - Reading reviewer comments and understanding requested changes
- Addressing feedback directly in the PR branch
- Resolving merge conflicts and keeping branches up-to-date
- Making code improvements, fixing bugs, adding tests
- Updating documentation as requested
- Running CI checks and fixing failures
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.
- 29d ago Changed · +40 lines cf9605f3d0ce
- 1mo ago Changed · -16 lines 376e6d93c249
- 1mo ago Changed · -1 lines 13381b03865b
- 1mo ago Changed · +6 lines e047374cc698
- 1mo ago Changed · +21 lines 660994d2a8d7
- 1mo ago Changed · +1 lines 281f77f3e7e2
- 1mo ago Changed · +18 lines d0b70f37c49d
- 1mo ago Changed · -1 lines fd2671825bbe
- 1mo ago Changed · -43 lines d06133520984
- 1mo ago First seen · 1,565 lines · 0 tokens per session scan A d2520a1baa7e
doctor is a command published in the GitHub repository rjwalters/kicad-tools (77 stars, last pushed 15d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 23,342 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-08-30.
doctor compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| doctorrjwalters/kicad-tools | Command | 77 | 15d ago | MIT | A | 0 | Claude Code |
| speckit.spex.submitrhuss/cc-spex | Command | 122 | 2d ago | Apache-2.0 | A | 15 | Claude Code |
| merge-conflict-analysisrjmurillo/ai-agents | Command | 50 | today | Apache-2.0 | A | 0 | GitHub Copilot |
| pr-riskkumaran-is/claude-code-onboarding | Command | 37 | yesterday | MIT | A | 0 | Claude Code |
| gitazrtydxb/procoder | Command | 212 | 23d ago | Apache-2.0 | A | 20 | Claude Code |
| repo-audittractorjuice/arc-kit | Command | 2.3k | yesterday | none | A | 29 | Claude Code |
| factoryfelvieira/claude-skills-fv | Command | 29 | 14d ago | Apache-2.0 | A | 47 | Claude Code |