Shopify / Shopify/roast

Token usage counts don't include agent calls

Open
#343 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Ruby
Stars
1.2k
Forks
76
PR merge metrics
No merged PRs in 30d

Description

Token usage count doesn't include calls to coding agents, which can be misleading in how expensive a workflow run is.

General usage and agent token usage should be tracked and reported.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing where workflow token usage is collected and reported, then identify how coding-agent calls are represented. Ensure both general usage and agent token usage are included in the reported totals, and verify that workflow cost information reflects agent calls as well.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
ai
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.