Pack project context
pack_contextGenerate a compact markdown project brief with directory tree, npm scripts, README excerpts, and optional git diff for quick project understanding.
Instructions
Generate a lightweight markdown project brief (~200-2000 tokens): tree, npm scripts, README/AGENTS excerpt, optional git diff. Use at session start instead of reading the whole repo or running Repomix.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compact | No | Shorter tree and truncated README (default true) | |
| diff | No | Include recent commits and uncommitted diff (default false) | |
| depth | No | Directory tree depth | |
| maxEntries | No | Max tree entries | |
| root | No | Project root path (default: server cwd) |