Driving DevDoctor from an LLM or coding agent? This page is the contract. (It mirrors .claude/skills/devdoctor/SKILL.md in the repo, published here so agents outside that checkout can use it too.)
devdoctor scan --json — read-only. Safe unsupervised, on any schedule.devdoctor providers — check before assuming a provider exists here.devdoctor recipe — fully commented-out script: the safe way to propose a cleanup for a human.devdoctor clean (no flags) — preview only. Safe to show what would happen.devdoctor clean --execute — destructive. Needs a human decision (rules below). Never unsupervised.devdoctor serve — loopback only, no auth. Do not expose it.clean --execute--risk safe + --yes-safe for routine runs. Surface reclaimable entries one by one; --allow-dangerous only with explicit say-so, never by default.--provider <name>).--yes or nothing — and never add --yes to dodge a missing human.scan --jsontotal_reclaimable_bytes. Breakdown: per_provider. Detail: entries[].diagnostics so the human knows what the total excludes.--json, never the Rich table (it truncates). path may be null; risk is safe / reclaimable / dangerous.Machine entry points: llms.txt · llms-full.txt — Full contract: CLI reference · Safety model