Skip to content
Back to skills

Pw Go

ASecurity

Request a capability-safe executor handoff from a durable Prewalk Stop checkpoint.

  • 4 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 6, 2026
ai-agentspythongobashdocumentation

Security analysis

A100/100

Scanned September 6, 2026

npx -y skills add TerenceLiu98/prewalk --skill pw-go --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pw Go?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pw Go
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/terenceliu98-pw-go-prewalk/badge)](https://www.skillsdirectory.com/skills/terenceliu98-pw-go-prewalk)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pw-go
description: Request a capability-safe executor handoff from a durable Prewalk Stop checkpoint.
---

# $prewalk:pw-go - hand off to the executor

Inspect the live `spawn_agent` schema first. Pass the field names it actually
exposes to the state transition helper, then follow its output exactly:

```bash
python3 hooks/_pw.py go "${CODEX_THREAD_ID:-${CODEX_SESSION_ID:-}}" \
  --schema-fields=task_name,message,fork_turns,model,reasoning_effort
```

Omit any field name that is absent from the live schema. Do not claim support
from a preset or documentation; only the current tool schema is proof.

If no active checkpoint exists, report that in one line and stop.

## Native spawn path

1. If the helper reports an unsupported route, do not spawn. The durable
   checkpoint remains ready for diagnosis or recovery.
2. When routing is supported, call `spawn_agent` exactly once with the helper's
   generated `task_name`, the exact text between `PREWALK_MESSAGE_BEGIN` and
   `PREWALK_MESSAGE_END` as `message`,
   `fork_turns: "none"`, and the configured executor `model`. Include
   `reasoning_effort` only when the helper prints it. Do not use a named plugin
   agent and do not alter the message.
3. Wait for the bound executor. Codex hooks bind the agent ID returned by this
   exact tool call and consume only that agent's `SubagentStop` marker.

Do not run manual confirm/complete commands. Spawn denial, failure, interruption,
missing markers, and incomplete markers remain durable for `pw-retry` recovery.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.