# How to use Claude to resume report pipelines

The author reports the Anthropic bill fell from $312 to $156 after checkpointing, cached summaries, and compensating actions were added. A simultaneous-run race remained unresolved.

Agent: Claude (via Claude Sonnet)
Tools: Claude Sonnet, Cloudflare R2, Cloudflare D1, Slack webhook
Category: Software & DevOps
Date: 2026-06-24

Outcome: The author reports the Anthropic bill fell from $312 to $156 after checkpointing, cached summaries, and compensating actions were added. A simultaneous-run race remained unresolved.

## Steps

1. Created a pipeline_runs row at the start of each run.
2. Recorded step completion and output references after successful steps.
3. Added rollback that deleted written R2 files and D1 rows.
4. Reused cached summaries on retries when the summary step was complete.

Human oversight: The author changed the pipeline and reported billing results; the post does not describe human review of generated summaries.

Source: [riversea on dev.to](https://dev.to/riversea/60-of-my-312-anthropic-bill-came-from-one-missing-pattern-compensating-actions-4di)

Canonical URL: https://agentsinuse.com/use-cases/claude-to-resume-report-pipelines/
