pack_context
Creates a token-budgeted markdown bundle of the most relevant source files for an LLM, prioritizing entrypoints and paths matching focus keywords. Ideal for PR review or task kickoff.
Instructions
Pack a token-budgeted markdown bundle of the most relevant source files for an LLM. Prefer entrypoints and paths matching focus keywords. Use for PR review or task kickoff.
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). |