| description | Context packs are reusable knowledge chunks injected into agent prompts using template syntax. Share conventions, API references, and coding standards across multiple agents without duplication. |
|---|
Status: π§ͺ Beta
Context packs are reusable chunks of documentation or instructions that get embedded into agent specs during the composition process. They let you share knowledge β conventions, API references, coding standards β across multiple agents without duplicating content.
Dashboard β sidebar β Context Packs
The page shows all context packs available in your workspace. Each pack displays:
- Name β the pack identifier
- Priority β how the pack is included in the root context file (
essential,standard, orreference) - Toggle β whether the pack is currently active
The header shows the current agents.md budget β a character budget that controls how much content is inlined in the root context file for budget-limited targets (Claude Code, Gemini CLI, OpenAI Agents SDK, Codex). Default: 8 000 characters.
Click the toggle next to any pack to enable or disable it. Disabled packs are not embedded in agent specs during sync.
Each pack has a priority selector with three levels:
| Priority | Behaviour |
|---|---|
essential |
Always inlined in full into the root context file, regardless of budget. Use for critical conventions that every agent must follow. |
standard |
Inlined greedily until the agents_md_budget is exhausted. Overflow packs are listed as reference headings instead. |
reference |
Never inlined. Always listed as a reference heading (pack name + description link). Use for large reference documents. |
GitHub Copilot is not subject to a budget β all selected packs are copied as individual files under .github/context/ regardless of priority.
Click Save to persist your toggle and priority selections. Changes take effect on the next sync.
- In the Create Pack section at the bottom of the page, enter a pack name and select a priority
- Click Create β the pack is added to your workspace registry
You can then add content to the pack by editing the generated file directly in VS Code.
Click Import Markdown to select any .md file from your workspace. The file is imported as a new context pack with its filename as the pack ID. This is useful for turning existing documentation β READMEs, coding guides, API references β into reusable context packs.
Context packs are assigned to agents in two places:
- Profile Editor β Context Packs section β selects packs applied to all agents in the project
- Create Agent / Edit Agent β Step 5 (Output & Context) β selects packs for a specific agent
Team-level and agent-level pack assignments override the project-level defaults.