swarm repositories / source
aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/codex-skills/phone-opus/SKILL.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/assets/codex-skills/phone-opus/SKILL.md b/assets/codex-skills/phone-opus/SKILL.md
index 1b087a4..3750531 100644
--- a/assets/codex-skills/phone-opus/SKILL.md
+++ b/assets/codex-skills/phone-opus/SKILL.md
@@ -15,13 +15,14 @@ should be taken as authoritative or final. It is a pure consultant.
- Ask for a second opinion on code, architecture, debugging, or design.
- Point Claude at a specific repository with `cwd`.
-- Reuse `session_id` from an earlier call when you want Claude to continue the same conversation.
+- By default, phone_opus reuses the remembered Claude context for that `cwd`.
+- Set `fresh_context: true` when you explicitly want a fresh Claude context instead of the remembered `cwd`-scoped one.
## Tool surface
- `consult`
- required: `prompt`
- - optional: `cwd`, `session_id`, `render`, `detail`
+ - optional: `cwd`, `fresh_context`, `render`, `detail`
- `health_snapshot`
- `telemetry_snapshot`
@@ -32,9 +33,9 @@ should be taken as authoritative or final. It is a pure consultant.
- Uses `--dangerously-skip-permissions`, but wraps Claude in an external `systemd-run --user` sandbox.
- The sandbox keeps the filesystem globally read-only, gives Claude a separate persistent home under phone-opus state, leaves `/tmp` and `/var/tmp` writable, and forces the consulted `cwd` read-only when that tree would otherwise be writable.
- Previous consult outputs can be found in `/tmp/phone_opus-consults`.
-- For related follow-ups, strongly prefer reusing `session_id`; cold-start Opus burns quota rereading files, while session reuse is much cheaper.
+- For related follow-ups on the same repository, keep using the same `cwd`; phone-opus will reuse that remembered context by default, which is much cheaper than cold-starting Opus.
- 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.
+- The returned `session_id` is still surfaced for traceability, but context reuse is now automatic per `cwd` instead of caller-managed.
## Example