Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Engine Doctor?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/talas9-engine-doctor)
---
name: engine-doctor
description: "Use when checking whether anti-hall works, repairing it, migrating its state, or scanning what it can do on this machine."
---
# Doctor and repair
Health check, repair, migrations and capability scans.
## Verbs
| Verb | What it does | Roles |
|---|---|---|
| `ah-engine audit` | `entry-paths [--json] [--root <dir>] [--home <dir>] [--no-live]` The entry-path audit: `audit entry-paths` inventories every js/sh/wrong-entry leftover in four... | main, codex, workspace, subagent |
| `ah-engine briefing` | `[--root <plugin dir>]` A derived inventory of a plugin tree: every registered hook by event with the purpose from its... | main, codex, workspace, subagent |
| `ah-engine capability-scan` | `[--root <plugin dir>]` A read-only gap report: for each opt-in capability of a plugin tree, whether it is shipped and... | main, codex, workspace, subagent |
| `ah-engine defect` | `<report\|list\|show\|rule\|archive\|backfill\|recurring\|similar> [flags] [--json]` File, list, show and rule anti-hall defect reports and query the bug history: `report`, `list... | main, codex, workspace, subagent (owner args: rule, archive) |
| `ah-engine doctor` | `[--check] [--repair\|--fix] [--dry-run] [--migrations-only] [--quiet] [--home <dir>] [--cwd <dir>] [--plugin-root <dir>] [--repair-ingest-orphans] [--repair-test-stores] [--repair-resurrected] [--apply]` The health check and repair of anti-hall (D81), with the Node doctor's report layout and finding... | main, codex, workspace, subagent (owner args: --repair, --fix) |
| `ah-engine harvest` | `[--dir <path>] [--stale-days <n>]` Scan a code tree for deliberate-debt markers, `anti-hall: <ceiling>, <when>` in any comment... | main, codex, workspace, subagent |
| `ah-engine install-codex` | `[--global] [--dry-run] [--root <plugin dir>]` Install the anti-hall hooks for Codex (D81, lane L9b): merge the generated hook registration... | main, codex |
| `ah-engine migrate` | `[--dry-run] [--home <dir>] [--cwd <dir>] [--plugin-root <dir>]` The persisted-state migrations and sweeps of the Node doctor's repair pass (D81): the legacy... | main, codex |
| `ah-engine update` | `[--check] [--post-pull-only] \| --from-local <dir> [--engine-bin F] [--hook-bin F] [--tree D] [--source release\|local\|manual] [--check] [--yes] [--force] \| --rollback [--deploy-dir D] [--yes]` Update anti-hall (D81, lane L9b, the native update): `git pull --ff-only` of the marketplace... | main, codex |
| `ah-engine refresh` | `[--force] [--home <dir>]` Handle the pending session-cache refresh requests the SessionStart checks wrote (L06): the... | main, codex |
| `ah-engine engine-update` | `--from <file> [--sha256 <x>] [--yes] \| --channel <stable\|dev> \| --rollback \| --auto [--dry-run] [--no-restart]` Update the engine binary: runs the thin client's updater (ah-engine update) with the given... | main, codex |
| `ah-engine post-update-check` | `[--dry-run] [--expect-sha <sha256>]` The step every update ends with: verify exactly one live engine runs the installed binary (sha,... | main, codex, workspace, subagent |
## Guards
- `failure-root-cause-nudge`: Advisory after a failed Bash call: trace the cause before patching; silent for expected exit-1...
- `fable-availability`: SessionStart: records whether a Fable model is available (from the host's model cache) in...
- `version-alert`: SessionStart advisory: a newer anti-hall release is available or already mirrored locally; a...
- `claude-cli-version`: SessionStart advisory: the Claude Code CLI drifted by major or minor from the audited version; a...
- `repo-self-drift`: SessionStart advisory: docs/KB.md's claimed hook and skill counts differ from disk, or the model...
- `defect-nudge`: SessionStart advisory, at most daily: unfinished defect reports (in the anti-hall repository) or...
- `engine-role-guard`: PreToolUse on Bash: refuses an ah-engine command the caller's role may not run, per the...
- `engine-role-note`: SessionStart and SubagentStart context: tells the session its role, the engine verbs it may use...
- `repair-on-reload`: Stays silent when no repair can start (switch off, subagent turn, skipped, nothing pending at...
- `codex-availability`: SessionStart: probes PATH for a real codex executable, records it, folds a Codex job-log...
- `codex-quota-detect`: Advisory: records a Codex quota or rate-limit exhaustion reported by a codex:codex-rescue Agent...
- `codex-nudge`: Stop: one soft nudge to get a Codex second opinion after several substantial code edits with no...
## Switches
- `guards.updateInSession` = true: model-routing-guard blocks a subagent spawn that runs anti-hall's own update (`ah-engine...
- `versionAlerts.claudeCli` = true: Alert when a newer Claude CLI version is available
- `context.defectNudge` = true: defect-nudge (SessionStart): the once-a-day note about the defect channel
- `versionAlerts.devswarm` = true: Alert when a newer DevSwarm/hivecontrol version is available
- `guards.repoSelfDrift` = true: anti-hall's own repo-drift self-check hook
- `versionAlerts.antiHall` = true: Alert when a newer anti-hall version is available
- `guards.stopHookVersionDowngrade` = true: When installed_plugins.json (harness-owned) has re-registered a newer anti-hall version than...
- `maintenance.repairOnReload` = true: repair-on-reload (SessionStart/UserPromptSubmit): re-apply safe doctor repairs after a plugin update
- `codexNudge.enabled` = true: Enable the Codex hand-off nudge hook
- `guards.codexQuotaDetect` = true: Detect a Codex-CLI quota/rate-limit exhaustion message in a codex:codex-rescue Agent result and...
- `maintenance.unitsHeal` = "on": The switch of the units heal that update's post-pull stage and `doctor --repair` run,...
- `maintenance.unitsSupervise` = "on": The switch of the supervised engine unit, maintenance.unitsSupervise: on (the default) writes...
_Generated from the engine registry by `ah-engine docs --format skill`; do not edit by hand._