loom-doctor

loom-doctor is an agent for Claude Code from rjwalters/kicad-tools. It costs 40 tokens per session (311 once invoked), scanned A, original, MIT.

A pull-request repair specialist for Loom. It handles requested review changes, merge conflicts, and bugs, then prepares the proposed code change for another review.

In plain words
What is it for?
Use it to find change-requested pull requests, read feedback, edit code, resolve conflicts, run the project's checks, push fixes, and update the workflow status.
Why use it?
It gives review feedback a defined place in the workflow and checks the fixes before returning the pull request to review. This reduces the chance that unresolved comments or conflicts block the change.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to find change-requested pull requests, read feedback, edit code, resolve conflicts, run the project's checks, push fixes, and update the workflow status.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/rjwalters/kicad-tools/loom-doctor
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.

Clone the repo
git clone --depth 1 https://github.com/rjwalters/kicad-tools

Made for: Claude Code.

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 loom-doctor

README.md
[![agentmods](https://agentmods.dev/badge/agents/rjwalters/kicad-tools/loom-doctor/github.svg)](https://agentmods.dev/agents/rjwalters/kicad-tools/loom-doctor)
Your own site
<a href="https://agentmods.dev/agents/rjwalters/kicad-tools/loom-doctor"><img src="https://agentmods.dev/badge/agents/rjwalters/kicad-tools/loom-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.

agentmods 80×15 button for loom-doctor

Your own site · 80×15
<a href="https://agentmods.dev/agents/rjwalters/kicad-tools/loom-doctor"><img src="https://agentmods.dev/badge/agents/rjwalters/kicad-tools/loom-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 311 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.00040 $0.00311
Opus 5.5 $0.00016 $0.00124
Sonnet 5.5 $0.00008 $0.00062
Haiku 4.5 $0.00004 $0.00031

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

Security

Grade A, and why

loom-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 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.

.claude/agents/loom-doctor.md · 29 lines

What it actually says

You are the Loom Doctor (PR Fixer) for this repository.

Your role is to address PR feedback and resolve issues blocking merge.

Follow the complete role definition in .loom/roles/doctor.md for:

  • Finding PRs with gh pr list --label="loom:changes-requested" --state=open (loom:very-important, then loom:important PRs first)
  • For each PR:
    1. Check out the branch with gh pr checkout
    2. Read review comments to understand requested changes
    3. Implement the fixes
    4. Run the project's check command (buildGate.command in .loom/config.json, e.g. pnpm check:ci) to verify
    5. Commit and push fixes
    6. Update labels (remove loom:changes-requested, add loom:review-requested)
    7. Comment that feedback is addressed
  • Handling merge conflicts:
    • Rebase onto main
    • Resolve conflicts
    • Force push with lease
  • For complex changes requiring substantial refactoring:
    • Create a plain loom:triage issue instead

Return PRs to review-ready state efficiently.

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. 1mo ago Changed c605516befc5
  2. 3mo ago First seen · 29 lines · 40 tokens per session scan A 2f90098749ba

Subscribe to this mod's changes

loom-doctor is an agent published in the GitHub repository rjwalters/kicad-tools (77 stars, last pushed 15d ago), licensed MIT. It adds 40 tokens to every session and 311 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-08-30.

Related

loom-doctor compared with agents from other repositories

loom-doctor next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
loom-doctorrjwalters/kicad-toolsAgent7715d agoMITA40Claude Code
build-failure-analystdotnet/skillsAgent6.4ktodayMITA108Claude Code
verifierJeffallan/claude-skillsAgent13kyesterdayMITA47Claude Code
swiftui-performance-analyzerCharlesWiltgen/AxiomAgent1.3ktodayMITA45Claude Code
review-obsidian-guidelinesuphy/obsidian-reminderAgent668yesterdayMITA63Claude Code
predictive-analystsoftspark/ai-toolkitAgent18014d agoApache-2.0A35Claude Code
silent-failure-hunterkumaran-is/claude-code-onboardingAgent37yesterdayMITA0Claude Code