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/terrene-foundation/kailash-coc-claude-pynpx agentmods add skills/terrene-foundation/kailash-coc-claude-py/47-loom-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/skills/terrene-foundation/kailash-coc-claude-py/47-loom-doctor)<a href="https://agentmods.dev/skills/terrene-foundation/kailash-coc-claude-py/47-loom-doctor"><img src="https://agentmods.dev/badge/skills/terrene-foundation/kailash-coc-claude-py/47-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.
<a href="https://agentmods.dev/skills/terrene-foundation/kailash-coc-claude-py/47-loom-doctor"><img src="https://agentmods.dev/badge/skills/terrene-foundation/kailash-coc-claude-py/47-loom-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.00040 | $0.01246 |
| Opus 5 | $0.00020 | $0.00623 |
| Sonnet 5 | $0.00008 | $0.00249 |
| Haiku 4.5 | $0.00004 | $0.00125 |
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 9d 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 — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/loom doctor — onboarding health-check runbook
This skill is the procedural detail for the doctor command
(.claude/commands/doctor.md). The command is the entry point; this skill is
the runbook + the contract the check engine (.claude/bin/loom-doctor.mjs)
honors.
When to use
- A fresh operator clones a repo (loom, a USE template, or a downstream
consumer) on a new workstation — especially Windows or an ADO host — and wants
the full onboarding picture before
/onboard. - After a layout change (moved repos, new
loom-links.local.json) to confirm the resolver still resolves. - As the FIRST step of onboarding: run
loom doctor, fix what it surfaces, then/onboard— the/onboardcommand preamble points back here.
Read-only contract
loom doctor in its default mode writes ZERO state. Every check is a read:
| Check | Source (read-only) | Status semantics |
|---|---|---|
role |
loom-links.mjs::resolveRole() |
ok=declared · warn=null (undeclared) · crit=malformed (LinkError) |
node |
process.versions.node |
ok=≥floor · crit=below floor |
git |
git --version |
ok=present · crit=missing |
line-endings |
git config --get core.autocrlf + .gitattributes |
ok=clean · warn=autocrlf true · info=no contract |
gh |
gh --version + gh auth status |
ok=authed · warn=present-unauthed · info=absent |
az |
az --version + az account show |
ok=authed · warn=present-unauthed · info=absent |
vcs-host |
derived from gh/az | ok=≥1 host authed · warn=none authed |
resolver |
resolveAll() / isConfigured() |
ok=all resolve · warn=error cells · info=not configured |
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.
- 9d ago First seen · 94 lines · 40 tokens per session scan A 5898e18edf08
loom-doctor is a skill published in the GitHub repository terrene-foundation/kailash-coc-claude-py (12 stars, last pushed 24d ago), licensed Apache-2.0. It adds 40 tokens to every session and 1,246 once invoked, about $0.0002 per session on Opus 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-03.
Other skills, from other repositories
conventional-commit
Workflow for generating conventional commit messages following the Conventional Commits specification. MUST be invoked every time a commit is created. Guides construction of standardized commit messages with correct type, scope, description, body, and footer.
python-release
Handle Python SDK release, build, bump, packaging metadata, PyPI client pin, uv.lock, nox/build workflow, and publish verification changes. Use for Python release process work or dependency pin bumps; do not use for ordinary Python feature implementation.
release-notes
Generate and publish concise, evidence-based notes in the body of the latest existing GitHub Release. Use only when the user explicitly invokes $release-notes or explicitly asks to update the latest existing GitHub Release body. Do not invoke for general release planning, changelog, tag, or version tasks.
contributor
End-to-end open source contribution workflow: from scanning issues to submitting PRs. Use this skill whenever the user wants to contribute to an open source project, find issues to fix, submit a pull request, fork a repo to contribute, fix a GitHub issue, or mentions 'open source contribution'. Also trigger when they…
git-commit-smart
Generates meaningful, conventional commit messages automatically. Use when committing code changes. Analyzes diff to create descriptive commits following best practices.
review-gate
Use before an agent-produced diff is committed, pushed, opened as a PR, merged, landed, or applied to user files when explicit implementation approval is missing. Trigger for review gate, review pack, approve before landing, diff first then land, human approval, merge gate, commit gate, push gate, or PR readiness.…