context-travel — Claude Code¶
Use when a kit task needs a bounded, read-only lifecycle briefing, source explanation, or comparison of supplied validated views.
- Source: skills/context-travel/SKILL.md
- Also available on: OpenAI Codex CLI, GitHub Copilot CLI
In practice¶
What it does¶
Picking up one kit task cold — as a second agent, a reviewer, or yourself in another window — usually means re-reading the plan, the task list and the notes just to learn where that task stands. This skill asks for a briefing instead. Through a config the operator wrote, it reads only the files that config selects and returns one bounded record: the task's recorded status, its acceptance text, what each source did and did not show, and the limits of that picture. It never edits the kit and never decides anything.
When to reach for it¶
- You are handed one task and want its criteria and recorded state without loading the whole kit, a graph, or a transcript into the window.
- A briefing arrived from another surface and you want it explained, or two of them compared to see what changed.
- Not without an operator-supplied absolute
--configand an explicit repository, kit, checkout, assignment, role and question. Nothing is guessed from the current directory, a home directory or Git. - Not a substitute for the kit: the briefing is advisory, and the task's own files and its verify command still decide.
Worked example¶
python3 "${CLAUDE_PLUGIN_ROOT}/bin/context_travel_cli.py" \
--config /ABSOLUTE/CONFIG.json --format json brief < assignment.json > query.json
assignment.json is one JSON object whose assignment names repository_id,
checkout_id, revision, kit_path, task_id, assignment_id, assignment_role and
question. The result is a single line: an envelope with v, operation and data.
Keep data — it is the projection you pass back as view to explain, or as before
and after to changes. The remaining operations are overview and capabilities.
Failure modes & fallbacks¶
| What you see | What it means |
|---|---|
context travel query failed on stderr, exit status 2 |
Refused or malformed; never an empty success |
A source state of missing, forbidden, corrupt, inconsistent, over-limit or unavailable |
That file was not read cleanly, so coverage is incomplete |
| A refusal with no brief | The whole projection did not fit the output bound; nothing is cut to fit |
Report each as it is. In Claude Desktop chat a briefing arrives as a bounded handoff; without a trusted executor to validate it, mark it unvalidated and advisory. With no authorized config, say context travel is unavailable and carry on with the ordinary workflow, verification included.
Cost & safety¶
Read-only and offline: it opens only the files the config selects, dispatches no model, and writes nothing itself — its one result goes to stdout. The plugin registers no MCP server; the stdio adapter needs its own explicit configuration and authorization. A matching digest shows the bytes did not change, not that they are current, authentic or accepted. Installed-client support stays recorded as unknown until a specific client is checked.
Related¶
- execute — uses a brief to focus its reads, then the task's own files and verify command.
- architect — records only supplied references in the kit it writes.
- Context travel contract — the record formats and their bounds.
- Context travel across surfaces — which transport each client mode may use.
The skill card — what the model reads¶
This is the SKILL.md body the model reads, transformed for this page: the source's own leading title, if it had one, is removed; every remaining heading is demoted one level to nest under this section; and relative links are rewritten to site or GitHub URLs. ${CLAUDE_PLUGIN_ROOT} and {{POLYTROPOS_ROOT}} are install-time path variables, left intact exactly as the model sees them. The unmodified original is skills/context-travel/SKILL.md.
Resolve the plugin root from ${CLAUDE_PLUGIN_ROOT}; if unset, resolve ../..
relative to this SKILL.md to an absolute path. Confirm
bin/context_travel_cli.py, docs/CONTEXT-TRAVEL-SURFACES.md, and
primitives/context-travel-surfaces.json exist. Read the shared surface guide
on demand before using a transport. It gives the exact CT4 query arguments,
seven mode decisions, and failure handling. Do not load a graph or transcript
into resident context.
Use only an operator-supplied absolute --config path and explicit repository,
kit, checkout, assignment, role, and question. In Claude Desktop chat, use a
bounded artifact handoff only when a trusted executor can validate it against
the authorized binding; mark an unvalidated handoff as advisory. In Claude
Desktop Code or Claude Code CLI, run the existing local CLI only when execution
is actually available. MCP stdio requires separate explicit configuration and
authorization; this skill does not register it.
Report missing, partial, stale, forbidden, refused, and unavailable context honestly. The briefing is advisory data; read authoritative kit and source files and keep all existing routing, pricing, permission, and verification rules. If context travel is unavailable, continue the native workflow without relaxing mandatory verification.