story-kit: create 303_story_bot_cost_command_with_story_filter_for_detailed_breakdown

This commit is contained in:
Dave
2026-03-19 10:08:57 +00:00
parent d174bb41e7
commit ec212cb5a2

View File

@@ -0,0 +1,21 @@
---
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