Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Diagnoses repository health and applies reversible, backed-up automated repairs with a journal and undo command.
27% 100%+73 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 6 of 22 without it.
Before any filesystem mutation occurs during an automated fix, the safety subsystem snapshots affected files. What directory path relative to the repository root stores these byte-for-byte snapshots?
The response identifies `.doctor/backups/<action_id>/` as the snapshot path.
This test ran on v2. v5 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Repository-level "doctor mode": a diagnostic engine plus an automated, audited resolution engine. The doctor never leaves the patient worse off — every mutation is snapshotted before it runs and can be reversed by a single undo command.
# Diagnose only (read-only).
uv run python -m infrastructure.doctor
# Same, JSON for an agent.
uv run python -m infrastructure.doctor --json diagnose
# Show what would be fixed (no changes).
uv run python -m infrastructure.doctor fix --plan
# Apply the safest set of fixes.
uv run python -m infrastructure.doctor fix --apply
# Allow `uv sync` and other moderate-therapy fixes.
uv run python -m infrastructure.doctor fix --apply --moderate
# Allow radical fixes (e.g. delete orphan output directories — still backed up).
uv run python -m infrastructure.doctor fix --apply --aggressive
# Reverse the most recent applied, reversible action.
uv run python -m infrastructure.doctor undo --last
# Reverse one specific action (see `history`).
uv run python -m infrastructure.doctor undo --action-id <id>
# Inspect the journal.
uv run python -m infrastructure.doctor history
# Agent-facing capability manifest.
uv run python -m infrastructure.doctor capabilities
# Stable-text robot manual.
uv run python -m infrastructure.doctor robot-docs
Next to this one in the catalogue, plus more from the same author.