---
name: "Bot cost command with story filter for detailed breakdown"
---

# Story 303: Bot cost command with story filter for detailed breakdown

## User Story

As a project owner in a Matrix room, I want to type "{bot_name} cost 293" to see a detailed token breakdown for a specific story, so that I can understand where the tokens went on an expensive item.

## Acceptance Criteria

- [ ] '{bot_name} cost {story_number}' shows all agent sessions for that story
- [ ] Each session shows agent name, model, input/output/cache tokens, and cost in USD
- [ ] Shows total cost for the story at the bottom
- [ ] Registered in the command registry (can share the 'cost' command with args parsing)
- [ ] Returns a friendly message if no usage data exists for the story

## Out of Scope

- TBD
