All commands · context
pm context
Show a token-efficient project context snapshot for next-work decisions.
Builds an agent-optimized snapshot of critical active work plus near-term agenda context with progressive depth levels.
Usage
pm context [options] [command]Options
| --for <intent> | Apply a declared context intent projection. Allowed core values: handoff|orient. Configured package and workspace intents may extend this domain. | optional |
|---|---|---|
| --date <value> | Anchor date/time for agenda window calculations (ISO/date string or relative) | optional |
| --from <value> | Agenda lower bound (ISO/date string or relative) | optional |
| --to <value> | Agenda upper bound (ISO/date string or relative) | optional |
| --past | Include past agenda entries in bounded windows | optional |
| --type <value> | Filter by item type | optional |
| --tag <value> | Filter by tag | optional |
| --priority <value> | Filter by priority | optional |
| --assignee <value> | Filter by assignee | optional |
| --assignee-filter <value> | Filter assignee presence: assigned|unassigned | optional |
| --sprint <value> | Filter by sprint | optional |
| --release <value> | Filter by release | optional |
| --parent <id> | Scope the snapshot to one item's subtree (the item plus all descendants) | optional |
| --limit <n> | Limit focus and agenda rows per section | optional |
| --after <cursor> | Continue ranked focus after a next_cursor from a previous context response | optional |
| --format <value> | Context output format override: markdown|toon|json|ndjson | optional |
| --depth <value> | Context depth: brief|standard|deep|full (full = every section, no per-section cap) | optional |
| --section <value...> | Include specific sections (repeatable; overrides --depth) | optional |
| --fields <value> | Project focus rows to a comma-separated field subset (e.g. id,title,priority) | optional |
| --activity-limit <n> | Limit recent activity entries (default: settings or 10) | optional |
| --stale-threshold <value> | Staleness cutoff in days (e.g. 7 or 7d; default: settings or 7) | optional |
| --explain-ranking | Include the scorer model, per-signal contributions, and ranked candidate ids | optional |
| --token-budget <n> | Maximum estimated tokens spent on ranked focus rows | optional |
| --no-extension-health | Omit the installed extension health summary | optional |
| --no-tags | Omit tag arrays from context focus rows | optional |
Examples
pm context