Diagnose the Prewalk installation, presets, hook manifest, state directory, and Codex model-routing capability.
Scanned 9/6/2026
Install to Claude Code
npx -y skills add TerenceLiu98/prewalk --skill pw-doctor --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Pw Doctor?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/terenceliu98-pw-doctor-prewalk)More formats (shields.io, HTML) on the badges page.
---
name: pw-doctor
description: Diagnose the Prewalk installation, presets, hook manifest, state directory, and Codex model-routing capability.
---
# Prewalk Doctor
Inspect the live `spawn_agent` schema, then pass exactly the fields it exposes:
```bash
python3 hooks/_arm.py doctor "${CODEX_THREAD_ID:-${CODEX_SESSION_ID:-}}" \
--schema-fields=task_name,message,fork_turns,model,reasoning_effort
```
Omit absent fields and do not call the tool. A missing model argument means
spawn handoff cannot honor presets with
`require_model_routing=true`; recommend the manual model + `pw-resume` fallback.
Also report a missing or mismatched `CODEX_THREAD_ID`. Native session binding
requires Codex CLI 0.146.0 or newer; after upgrading, restart the Codex thread.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!