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/nicelight/devrails-26/feature-doctorgit clone --depth 1 https://github.com/nicelight/DevRails-26Wrote 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/nicelight/devrails-26/feature-doctor)<a href="https://agentmods.dev/commands/nicelight/devrails-26/feature-doctor"><img src="https://agentmods.dev/badge/commands/nicelight/devrails-26/feature-doctor.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.1 | $0.00012 | $0.01404 |
| Opus 5 | $0.00006 | $0.00702 |
| Sonnet 5 | $0.00002 | $0.00281 |
| Haiku 4.5 | $0.00001 | $0.00140 |
Grade A, and why
feature-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 6d 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 — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/feature-doctor - Feature semantic triage
This command does not create tasks, implementation plans, tiers, behavior specs, or canonical SDD design specs.
<input_contract>
Require $ARGUMENTS with one FT-<NNN>. Do not auto-select a feature. If the
ID is absent, ask for it in interactive mode. In unattended flow, halt before
any write with HALT_CLARIFICATION_REQUIRED and report:
- reason:
missing required FT-<NNN> argument for /feature-doctor; - affected command:
/feature-doctor; - owner and next action: the operator supplies the exact feature ID;
- exact resume command:
/feature-doctor FT-<NNN>.
Use the caller's existing halt handoff; do not create a durable artifact solely for this missing argument.
Locate exactly one .memory-bank/features/FT-<NNN>-*.md; otherwise stop. Inspect
the caller-cited findings or, when none are cited, the target's latest final
task-plan REJECT, current blocking task verdicts, and explicit feature
blockers. Ignore superseded findings. Read product, requirements, feature,
relevant canonical design, affected task/plan, and implementation or
verification evidence only as needed to validate the findings and repair
impact.
</input_contract>
<hard_invariants>
- Optional clarification metadata uses only:
clarification_status: pending|complete|blocked,last_clarified: null|YYYY-MM-DD, and a non-negative cumulativeclarification_questionscount. - Preserve feature design statuses
complete|not_required|blocked; do not add astalestatus. - Preserve stable
FT-<NNN>-AC-<NNN>IDs when accepted behavior is unchanged. New or split criteria use the next unused feature-local ID; retired IDs are not reused. - Validate downstream specifications against governing product intent and accepted authority. Internally consistent downstream wording does not settle a finding when it conflicts with or leaves that intent materially open.
/feature-doctormay determine repair ownership but must not repair linked SDD specs, create tasks/plans, change tier, or perform implementation repair.- Preserve acceptance closure: a material edge/failure outcome retains a
covering AC or an authoritative out-of-scope disposition with source and
/write-prdchange route; a material NFR retains its governing REQ, accepted target/qualitative criterion, decisive conditions, and verification method. - Do not create or change a REQ-level product target locally. Route that change
through
/write-prd. </hard_invariants>
<operator_decisions> For a material finding, identify only distinct contract-valid options. State each decision's evidence basis, material consequences, likely affected artifacts/features, repair/revalidation surface, and canonical owner.
Recommend only among options that preserve accepted product intent and workflow contracts; prefer the least total canonical, implementation, planning, and revalidation change after evidenced material risk. Do not invent alternatives when authority permits one result.
Interactive flow presents viable alternatives and waits only when an operator
decision remains. Unattended flow records the recommended option, basis,
consequences, work surface, exact question, owner, and resume route, then returns
the caller's existing HALT_CLARIFICATION_REQUIRED or
HALT_BLOCKING_QUESTIONS; it never accepts the recommendation. An existing
authoritative decision may be applied without asking again.
</operator_decisions>
<required_outputs>
Create or update only .protocols/FT-<NNN>/clarification.md plus the target
feature doc. Do not create a separate decision log or triage report.
Record each finding, its semantic basis, the option analysis above, remaining
decision, Design impact: none|feature_design_stale|global_design_stale|blocked,
Behavior spec impact: none|refresh_recommended, and immediate route. Name only
evidenced likely consumers; /spec-redesign owns exact affected features and
the none|bounded|global verdict.
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.
- 6d ago First seen · 133 lines · 12 tokens per session scan A 71ec051f5d96
feature-doctor is a command published in the GitHub repository nicelight/DevRails-26 (22 stars, last pushed 2d ago), licensed MIT. It adds 12 tokens to every session and 1,404 once invoked, about $0.0001 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-08-30.
Other commands, from other repositories
qa-changes
This skill should be used when the user asks to "QA a pull request", "test PR changes", "verify a PR works", "functionally test changes", or when an automated workflow triggers QA validation of code changes. Provides a structured methodology for setting up the environment, exercising changed behavior, and reporting…
doctor
Diagnosticar y reparar problemas del framework Don Cheli, git y entorno. Usa cuando el usuario dice "doctor", "problemas del framework", "don cheli no funciona", "repair Don Cheli", "debug setup", "setup broken", "framework broken", "reparar entorno". Detecta y repara issues de configuración, git y dependencias…
fix
Universal debugging and fix application with semantic code analysis.
gh-issue-use-cypress
Like /gh-issue-use-browser, but pinned to the Cypress MCP — use when your project runs the Cypress MCP for browser automation. Example — /gh-issue-use-cypress "Composer > Save" saving toasts failure but the record persists.
http-service
Build, review or debug a Bun HTTP service. Loads the http-service skill, then works the task through its workflow.
auditar-cascading
Invoca cascading-failures-auditor — audita serviço para 5 triggers de cascade (sem timeout, retry sem jitter, sem circuit breaker, sem deadline, queue unbounded) e gera CASCADING-AUDIT.md.