pack_context
Bundle key source files into a token-limited markdown pack for LLM context, prioritizing paths that match focus keywords.
Instructions
Pack a token-budgeted markdown bundle of the most relevant source files for an LLM. Prefer entrypoints and paths matching focus keywords.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Repository root. Defaults to REPO_CONTEXT_ROOT or cwd. | |
| focus | No | Keywords or path fragments to prioritize (e.g. ['auth', 'src/api']). | |
| max_files | No | Maximum files to include (default 40). | |
| max_tokens | No | Approximate token budget (default 12000). |