[rig-claude] Improve Claude dynamic-workflow compatibility for rig - #411
Draft
github-actions[bot] wants to merge 1 commit into
Draft
[rig-claude] Improve Claude dynamic-workflow compatibility for rig#411github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
Add 411-anthropic-engine-workflow.md: a new sample that demonstrates configuring anthropicEngine() and selecting Claude model tiers per-call (claude-haiku-3-5 for cheap triage, claude-sonnet-4-5 for fix planning). This is the highest-discoverability gap for Claude dynamic workflow users completing a port to rig — every other primitive has a sample, but the final 'run against Claude' step had no standalone example. Also update claude-workflow-conversion.md to include the new sample in the Example programs table. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Compatibility gap addressed
Every Claude dynamic-workflow primitive had a sample demonstrating how to port it to rig — except for the final step: running the ported workflow against Claude using
anthropicEngine()and selecting Claude model tiers per-call. This left a discoverable gap for Claude dynamic-workflow users who completed porting but had no concrete example of the last step.Why this improves transfer from Claude dynamic workflows to Rig
Claude dynamic workflows run on Claude by default; rig requires explicitly selecting an engine. A user completing a port needs to:
configureAgent(anthropicEngine())"sonnet","haiku") to full Claude model IDs ("claude-sonnet-4-5","claude-haiku-3-5")The existing conversion doc had a code snippet for this, but no dedicated standalone sample that someone would land on when searching
anthropicEngine,claude-sonnet, orANTHROPIC_API_KEY.Files changed
skills/rig/samples/411-anthropic-engine-workflow.md— new sample showingconfigureAgent(anthropicEngine())at program top-level, a two-phase workflow (Triage + Plan), per-call model overrides (claude-haiku-3-5for cheap classification,claude-sonnet-4-5for fix planning), and a model tier table in the preamble.skills/rig/references/claude-workflow-conversion.md— added the new sample to the Example programs table.Validation
Remaining intentional differences
effortoption; model tier selection is explicit (useclaude-opus-4-5overclaude-haiku-3-5when quality matters).agentType: "Explore"— expressed through prompt wording and a narrowtoolslist.