Turn a measured Understudy savings result into an anonymous, metrics-only report
for Understudy. This is for the lower-Anthropic-bill path and future leaderboard
receipts.
-
Locate the report:
test -f .understudy/value/value-report.json && echo .understudy/value/value-report.json
If missing, create one with the value-report workflow before sharing:
understudy value report --workload-card <path> --route-decision <path> --requests-per-month <n>
-
Build a dry-run payload. Add intervention labels that match the real fix:
node skills/share-savings/scripts/share-savings.mjs \
--from .understudy/value/value-report.json \
--intervention prompt-cache \
--intervention sonnet-gepa \
--dry-run
Useful intervention labels: prompt-cache, batch, max-tokens,
retry-reduction, sonnet-gepa, haiku, openai-route,
open-weight-fireworks, local-open-weight.
-
If there is a claim packet, include only its hash:
node skills/share-savings/scripts/share-savings.mjs \
--from .understudy/value/value-report.json \
--claim .understudy/experiments/<id>/claim.json \
--intervention open-weight-fireworks \
--dry-run
-
Show the exact dry-run payload and endpoint to the user. State whether the
report is claim-supported or scenario-only.
-
After explicit approval, submit:
node skills/share-savings/scripts/share-savings.mjs \
--from .understudy/value/value-report.json \
--claim .understudy/experiments/<id>/claim.json \
--intervention open-weight-fireworks \
--post --confirm
Override the endpoint only when needed:
UNDERSTUDY_SAVINGS_API_URL=https://lowermyanthropicbill.com/api/lower-my-anthropic-bill/savings \
node skills/share-savings/scripts/share-savings.mjs --from .understudy/value/value-report.json --dry-run