Context and input
Context and input
Everything that becomes model-visible context: prompts, custom instructions, attachments, memory, compaction, and rewind boundaries.
How this volume fits
flowchart TD Prompt[Prompt sources] --> ModelContext[Model-visible context] Agents[Custom agents/skills] --> ModelContext Attachments[Attachments/files] --> ModelContext Memory[Memory/context board] --> ModelContext Compaction[Compaction] --> ModelContext Rewind[Checkpoints/rewind] --> ModelContextPages
| Page | Why read it | File |
|---|---|---|
| Prompt sources in Copilot CLI | Static/runtime prompt sources, YAML package prompts, instructions, MCP prompts, hooks, and provider mapping. | prompt-sources.md |
| Custom agents and skills packaging | AGENTS.md, SKILL.md, plugin/remote/provided agents, skill directories, and enable/disable events. | custom-agents-and-skills-packaging.md |
| Attachment and file-ingestion pipeline | Native image/document attachments, tagged-file fallback, MIME detection, payload mapping, and limits. | attachments-and-file-ingestion.md |
| Memory and dynamic context board in Copilot CLI | Agentic memory API, local memory, dynamic context board, rem-agent, sidekicks, and shutdown consolidation. | memory-and-context-board.md |
| Conversation compaction and memory compression in Copilot CLI | /compact, automatic compaction, summary replacement, checkpoints, hooks, telemetry, and UI status. | conversation-compaction.md |
| Checkpoints, undo, rewind, and fork | /undo, /rewind, /fork, event-log truncation/replay, snapshot_rewind, and workspace events. | checkpoints-undo-rewind.md |
Reading guidance
- This volume explains how input becomes prompt/context.
- Compaction and rewind describe how context is later rewritten or replayed.