dhpk-agy-fast-workerlisted
Install: claude install-skill hmj1026/dhpk
# Agy Fast Worker
Hand a **self-contained** mechanical task to the agy CLI (non-interactive print mode) and
bring back the verification result plus the edited-file list. The bundled
`scripts/run-agy.sh` owns the invocation mechanism; this skill and the
`agents/agy-fast-worker.md` agent own *when* to offload and *how* to compose the prompt
and enforce the gate.
## Invocation
```bash
export DHPK_CLI_TRANSPORT_CONTEXT="<dispatcher-attested-context-0600.json>"
bash "${CLAUDE_PLUGIN_ROOT}/skills/dhpk-agy-fast-worker/scripts/run-agy.sh" \
"<workdir>" "<prompt-file>" "<model>"
```
The dispatcher creates the immutable private context; the wrapper blocks when
it is absent and does not infer authority, scope, timeout, or artifact paths.
`run-agy.sh` implements the attested combination: stdin `Y` (kept
unconditionally), `--dangerously-skip-permissions`, `--mode accept-edits`
(autonomy boundary), `--add-dir <workdir>` (required — print mode ignores the shell cwd),
`--model "<model>"`, `-p` with the prompt content, and fixed `--print-timeout 300s`.
It does **not** probe AGY before entering the contained runner, use `--cwd`, or
pass `--effort` (the model string already encodes it). It
uses the portable runner rather than `timeout` or `gtimeout`, and writes a
contained redacted `dhpk.cli.receipt.v1` rather than fabricating output.
## Contract (owned by the agent)
- **Prompt discipline**: agy sees a fresh session — the prompt is fully self-contained,
with absolute paths, exact per-