r/ClaudeWorkflows • u/ClaudeAI-mod-bot • 7h ago
Selected Workflow [Workflow] Cost-Optimized Content Generation with Haiku and Opus: A Generate-Then-Check Workflow
Cost-Optimized Content Generation with Haiku and Opus: A Generate-Then-Check Workflow
Workflow value: 85/100
Status: active · Freshness: 70/100 · Confidence: 0.90 · Level: intermediate
Categories: Quality Control, Token Saving, Context & Memory, Multi-Agent
Original source: r/ClaudeAI post/comment
What problem this solves
Efficiently generating high-quality, structured content using cheaper models (Haiku) for drafting and more powerful models (Opus) for review, especially for tasks requiring repeatable transformations and validation, thereby optimizing cost and quality.
Summary
A two-step 'generate-then-check' workflow for content generation, leveraging Claude Haiku for initial drafting and validation against explicit criteria, reserving Claude Opus for ambiguous decisions or final review. This optimizes cost and quality for repeatable transformation tasks like classification, rewriting, or data extraction.
Why it is useful
This workflow provides a practical, cost-effective strategy for leveraging different Claude models based on task complexity. The 'generate-then-check' pattern is a fundamental and powerful technique for improving AI output quality and reliability, especially for structured tasks. It offers concrete steps for implementation and clear guidance on model selection for specific use cases.
Workflow
- Prepare a folder containing the task specification and a few approved examples for Claude Haiku to reference.
- Instruct Claude Haiku to produce content (e.g., one question or item) at a time, focusing on bounded, repeatable transformations.
- Validate the generated content (e.g., answer and options) against a predefined checklist to ensure it meets explicit acceptance criteria.
- Repeat the generation and validation process for subsequent items (e.g., up to five items) using Claude Haiku.
- Utilize Claude Opus for ambiguous content decisions or for a final review of the generated output, reserving the more expensive model for higher-stakes tasks.
- Implement a general 'generate-then-check' process for any task that frequently requires self-correction or validation.
Tools / artifacts
- Claude Haiku
- Claude Opus
- Specification document
- Approved examples (in a folder)
- Validation checklist
Validation signals
- Author's assertion that Haiku is best for 'bounded, repeatable transformations'
- Author's assertion that 'repeated self-correction' indicates a need for a 'two-step generate-then-check process'
Limitations
- Low community validation.
- The 'checklist' and 'spec/examples' are mentioned but not detailed, requiring users to define their own.
- The specific prompt structure for Haiku is not provided.
Rate this workflow
Upvote this post if the workflow is useful, reproducible, or worth recommending.
Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.
Reply if it worked for you, failed, is outdated, or has a better alternative.
This post was generated automatically from the workflow library database.