diff options
| author | main <main@swarm.moe> | 2026-03-23 16:28:52 -0400 |
|---|---|---|
| committer | main <main@swarm.moe> | 2026-03-23 16:28:52 -0400 |
| commit | c3ad44cf3ec3bcd080f62c19d915ac1749576302 (patch) | |
| tree | a3da7810f794182f4740e0da270e9c40f3fdad2b /assets | |
| parent | 5cf9432092da40a2653c3d156ca5a4746e853827 (diff) | |
| download | phone_opus-c3ad44cf3ec3bcd080f62c19d915ac1749576302.zip | |
Add optional background consult jobs
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/codex-skills/phone-opus/SKILL.md | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/assets/codex-skills/phone-opus/SKILL.md b/assets/codex-skills/phone-opus/SKILL.md index 8fb2000..305badb 100644 --- a/assets/codex-skills/phone-opus/SKILL.md +++ b/assets/codex-skills/phone-opus/SKILL.md @@ -17,12 +17,17 @@ should be taken as authoritative or final. It is a pure consultant. - Point Claude at a specific repository with `cwd`. - Cap the consultation with `max_turns` when needed. - Reuse `session_id` from an earlier call when you want Claude to continue the same conversation. +- Set `background: true` when you want to launch a consult, keep working, and poll for the answer later. ## Tool surface - `consult` - required: `prompt` - - optional: `cwd`, `max_turns`, `session_id`, `render`, `detail` + - optional: `cwd`, `max_turns`, `session_id`, `background`, `render`, `detail` +- `consult_job` + - required: `job_id` +- `consult_jobs` + - optional: `limit`, `render`, `detail` - `health_snapshot` - `telemetry_snapshot` @@ -33,6 +38,7 @@ should be taken as authoritative or final. It is a pure consultant. - Uses `--permission-mode dontAsk`, so only globally preapproved read-only Bash commands can execute. - This surface is consultative only. Edit tools are unavailable. - The returned `session_id` is reusable: pass it back into a later `consult` call to continue that Claude conversation. +- Background consults return a `job_id`; use `consult_job` to poll one job or `consult_jobs` to rediscover recent ones. ## Example |