context-travel — GitHub Copilot CLI¶
Use when a kit task needs a bounded, read-only lifecycle briefing, source explanation, or comparison of supplied validated views.
- Source: copilot/.github/skills/context-travel/SKILL.md
- Also available on: Claude Code, OpenAI Codex CLI
In practice¶
What it does¶
A Copilot session that takes over one kit task normally spends its first turns re-reading
PLAN.md, TASKS.md and the notes to find out where that task stands. This skill gets
the same picture as one bounded record: the task's recorded status, its acceptance text,
what each selected source showed, and what could not be established. It reads through a
config the operator wrote and changes nothing — the kit, the routing and the verify
commands stay exactly as they were.
When to reach for it¶
- One task from a kit is yours and you want its criteria and state without preloading the kit, a graph, or a transcript.
- A view was handed over from another surface and you want it explained, or two views compared.
- Not without an operator-supplied absolute
--configand an explicit repository, kit, checkout, task, assignment, role and question. - Not when the installed bundle still shows a literal, unresolved root placeholder; the skill rejects that rather than guessing a path.
- Not a grant of authority: a briefing neither assigns the task nor proves it is current.
Worked example¶
With the bundle installed, so its root is already an absolute path:
python3 {{POLYTROPOS_ROOT}}/bin/context_travel_cli.py \
--config /ABSOLUTE/CONFIG.json --format json brief < assignment.json > query.json
assignment.json holds one assignment object naming repository_id, checkout_id,
revision, kit_path, task_id, assignment_id, assignment_role and question.
One line comes back: an envelope with v, operation and data. data is the view to
keep and to pass to explain or changes later; overview and capabilities are the
other operations.
Failure modes & fallbacks¶
| What you see | What to do |
|---|---|
context travel query failed, exit status 2 |
Say the query failed; it is never an empty success |
A source state such as missing, forbidden, over-limit or unavailable |
Keep the caveat attached to whatever you report |
| This mode cannot run a local command | Use a supplied handoff only if it validates against the configured subject; otherwise it is advisory |
| No authorized config | Report context unavailable and continue the ordinary kit workflow, verification included |
Cost & safety¶
Read-only: it opens only the files the config selects, dispatches no model and spends nothing. The bundle carries no MCP registration, so the stdio adapter is usable only with separate, explicit configuration and authorization. Whether the Copilot desktop app can run the command is recorded as unknown until that client is checked — the CLI's behaviour is not evidence for the app.
Related¶
- execute — the kit driver; a brief only narrows what it reads first.
- route — may use a brief for scope, never for the model or the estimate.
- escalate — still needs its own failure evidence; a briefing is not that.
- Context travel across surfaces — the per-mode transport table.
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 copilot/.github/skills/context-travel/SKILL.md.
Use the installed {{POLYTROPOS_ROOT}} root; reject a literal unresolved
placeholder. Confirm its bin/context_travel_cli.py,
docs/CONTEXT-TRAVEL-SURFACES.md, and
primitives/context-travel-surfaces.json exist. Read the shared guide on
demand for exact CT4 query arguments, Copilot desktop app and CLI decisions,
and fallback behavior. Do not preload graph or transcript content.
Use only an operator-supplied absolute --config and explicit repository, kit,
checkout, task, assignment, role, and question. Run the existing local CLI only
when that mode actually exposes execution. MCP stdio requires separate explicit
configuration and authorization; this bundle has no MCP registration. For an
imported view, require validation against the configured subject. An
unvalidated handoff is advisory data.
Retain missing, partial, stale, forbidden, refused, and critical caveats. A briefing does not grant task authority or verify freshness. Continue the existing Copilot kit, routing, pricing, permission, and mandatory verification rules if this optional context is unavailable.