context_pack
Specify file paths with optional line ranges; reads them from the project root, applies a character budget, and stores the bundle under a key for context_ref—no more hand-pasting code.
Instructions
Point, don't paste. The reasoning models can't see your repo, but THIS server runs locally next to it — so instead of hand-pasting code, NAME the files (and optional line ranges) you want and let the server read them, apply a character budget, and store the bundle on the context bus under key. Then pass context_ref='<key>' on ask / councils exactly as usual. Each spec is path or path:START-END (1-indexed inclusive), relative to the configured project root; reads never escape that root, and .git//.env* are refused. Requires an operator-configured project root (config project_root or the ASK_FABLE_PROJECT_ROOT env var) — returns not_configured if unset. Over-budget or unreadable specs are reported in skipped with a reason and complete:false; nothing is silently truncated, and if nothing can be packed the store is left untouched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Stable key to store the packed bundle under; then pass context_ref='<key>' on `ask`. Reusing a key overwrites it. | |
| paths | Yes | File specs to read from the configured project root — each a path relative to that root, optionally with a 1-indexed inclusive line range as `path:START-END` (e.g. 'src/app/db.py' or 'src/app/db.py:40-80'). | |
| max_chars | No | Optional cap on total packed characters (default ~24000). Files that don't fit are reported in `skipped`, never silently truncated. |