Skip to content

Add raid context command #50

@8bitAlex

Description

@8bitAlex

A single command that emits a condensed, token-efficient summary of the current workspace for agent consumption. Turns RAID into the authoritative multi-repo context source.
What it emits
• Active profile + repo list (name, path, branch, dirty status)
• Task definitions (names + descriptions only, not full scripts)
• Current environment
• Recent task exit statuses (optional)
Usage
raid context # pretty-printed for humans
raid context --json # machine-readable
raid context | pbcopy # paste into any chat agent

Also expose via MCP
Surface this as an MCP resource (not just a tool) so agents can subscribe to workspace context without repeatedly invoking tools.
Acceptance criteria
• raid context command implemented
• JSON output follows schema from Issue #2
• Token-efficient: bounded output size, no task script bodies
• Exposed as MCP resource (depends on Issue #1)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions