What do you want to do?
5 use cases
-
Re-count an AI support bill against the vendor rule
Run the free CLI on a billing export to see overcharge and undercharge findings, unsettled rows and dollar variance.
- Agent Measure
- Money
- Intermediate
View prompt
Using the AgentMeasure repo, run `agentmeasure recount --export <export.csv> --vendor <vendor>` on the file at <export.csv> and report the overcharge, undercharge, net variance and count of cannot settle rows. Verify that rows without enough evidence are excluded from the claim rather than zeroed.
-
Check local Codex or Claude sessions for duplicate retries
Inspect your own Codex or Claude Code session logs for duplicate records, retry amplification and token anomalies.
- Agent Measure
- Claude Code
- Codex
- Money
- Intermediate
View prompt
Using the AgentMeasure repo, run `agentmeasure check --runtime claude` on this machine and report duplicate records, retry amplification and token anomalies, with any missing inputs listed separately. Verify that the report states which inputs were not found instead of marking them as passing.
-
Compare Claude response usage across session files
Group response IDs from two Claude session files to see repeated usage snapshots, conflicts and missing fields.
- Agent Measure
- Claude Code
- Money
- Advanced
View prompt
Using the AgentMeasure repo, run `agentmeasure response-audit <first-file.jsonl> <second-file.jsonl> --json responses.json` and summarize the conflicts and missing fields per response ID. Verify that the output does not select a winning snapshot or compute a session total.
-
Prepare a redacted Healthcheck summary to review
Create a local summary file from a check report, inspect it, and validate it before choosing to send it.
- Agent Measure
- Claude Code
- Codex
- Money
- Intermediate
View prompt
Using the AgentMeasure repo, run `agentmeasure check --json report.json`, then `agentmeasure share report.json --out summary.json`, then `agentmeasure validate summary.json`. Report whether validation passed and list the fields in summary.json. Verify that no upload happened and that report.json was not attached to any message.
-
Build a Dispute and Recovery Pack from a recount
Turn recount findings into a Dispute and Recovery Pack, then record what the vendor actually conceded.
- Agent Measure
- Money
- Advanced
View prompt
Using the AgentMeasure repo, use the existing recount findings to run `agentmeasure dispute` and summarize the resulting pack. Then run `agentmeasure recovery` with the vendor concession, and verify that the recorded amount is kept separate from the original claim.
How to use Agent Measure
- Check you have what it needs: Python 3.9 or newer and pip; A terminal on macOS, Linux or Windows; A vendor billing export as CSV for the recount use case, or local Codex or Claude Code session logs for the log use cases.
- Open roy-tong/AgentMeasure on GitHub and read the README and license.
- Run
pip install agentmeasureto install the CLI from PyPI. - Save your reviewed billing export as
export.csvusing the canonical columns the README shows: conversation_id, human_agent_participated, issue_addressed, customer_recontacted_within_window and vendor_billed. - Run
agentmeasure recount --list-vendorsto confirm which vendor rule sets ship and their confidence grades. - Run
agentmeasure recount --export export.csv --vendor zendesk, replacing zendesk with your vendor's rule if it differs.
These steps come from our top use case, Re-count an AI support bill against the vendor rule, which also has a copy-paste agent prompt.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forBest for AI service buyers checking a bill, and for developers reviewing their own Codex or Claude Code session logs.
- Why it is hot
- LanguagePython
- Sourcegithub.com/roy-tong/AgentMeasure · Back to Hot repos
Requirements
- Python 3.9 or newer and pip
- A terminal on macOS, Linux or Windows
- A vendor billing export as CSV for the recount use case, or local Codex or Claude Code session logs for the log use cases
- Permission to read the session logs or export files you point the tool at
Maintain Agent Measure? Add the Featured on Deduped badge
Paste this into your README:
[](https://dedupedai.com/use-cases/roy-tong-agentmeasure/?ref=badge)
Questions about Agent Measure
What is Agent Measure?
AgentMeasure is an open-source Python CLI that re-counts supported AI support billing exports against vendor rules and inspects local Codex or Claude logs for duplicates, retries and token anomalies. It is an open-source project on GitHub: https://github.com/roy-tong/AgentMeasure.
Who is Agent Measure for?
Best for AI service buyers checking a bill, and for developers reviewing their own Codex or Claude Code session logs.
What can I do with Agent Measure?
5 use cases so far, for example: Re-count an AI support bill against the vendor rule; Check local Codex or Claude sessions for duplicate retries; Compare Claude response usage across session files. Each has steps and a copy-paste agent prompt.
What do I need to run Agent Measure?
Python 3.9 or newer and pip; A terminal on macOS, Linux or Windows; A vendor billing export as CSV for the recount use case, or local Codex or Claude Code session logs for the log use cases; Permission to read the session logs or export files you point the tool at.
What are alternatives to Agent Measure?
Other hot AI repos in Money: Finathink, Northcinder, Qanat, DSH Cost Meter, Grandet.
Is Agent Measure safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.