Constructs and executes a dynamic, multi-step plan using building blocks, with subagent delegation, tracking, and adaptive replanning across user turns.
Ships in core. Installing the plugin adds it to Claude Code.
<adhoc_flow>
<description_and_purpose>
Problem: Fixed workflows cannot cover the combinatorial space of real requests; orchestrators lock into rigid classification.
Solution: Meta-workflow — construct a bespoke plan from building blocks, persist as a plan file (see <plan_manager>), review, execute with tracking. Each user turn can extend, adapt, or restart.
</description_and_purpose>
Match to cognitive demand. Match to current tool.
<plan_manager>
Execution plans are local JSON files driven via CLI: npx rosettify plan <subcommand> <plan_file>. Always use full absolute paths for the plan file. Todo tasks/built-in planners are for tracking INSIDE step execution only.
Orchestrator:
npx rosettify help plan to confirm available subcommands and the plan JSON structure.plan create <plan_file> '<json>' — plan ⊃ phases ⊃ steps. Use ONLY plain create/upsert — NEVER create-with-template/upsert-with-template: template-seeded prep steps reference skills by names that do not match this release's skills.You are [role/specialization]... line: Plan: [absolute plan.json path]. Phase: [phase id]. [Step: [step id].], and include <subagent_plan_manager_instructions>. Subagent owns that target end-to-end. Decide which phases run in parallel — parallel subagents MUST each own a distinct phase (collision-free).next → dispatch/execute → update_status — until no steps remain.show_status / query for state; clear blocked/failed steps so subagents can retry.complete (never set root directly), verify via show_status/query; keep the plan and core Rosetta files current as phases land.</plan_manager>
<subagent_plan_manager_instructions>
Plan: [absolute plan.json path]. Phase: [phase id]. [Step: [step id].] line.npx rosettify plan next <plan_file> --target <phase_id> (target = your phase, or step id if the prompt scopes to one) — pull the next step.
resume:true → step is already in_progress; skip 3a, go to 3b.previously_blocked:true / previously_failed:true → orchestrator cleared the path; verify preconditions carefully first, then 3a.count:0 and plan_status:complete → target complete; go to step 4.npx rosettify plan update_status <plan_file> <step_id> in_progress.
b. Split the step's prompt into todo tasks (your own isolated list — invisible to other agents); order by dependencies; output Tasks Created: [task ids]; execute; close each on verifiable evidence.
c. npx rosettify plan update_status <plan_file> <step_id> <status>:
complete — done with verifiable evidence → back to step 2 for the next step.blocked — cannot proceed → step 4, report reason.failed — execution failed → step 4, report error + root cause.blocked/failed), report to the orchestrator per your prompt's ## Output and ## Evidence sections — blocked carries the reason, failed carries the error + root cause.</subagent_plan_manager_instructions>
<building_blocks>
Compose these into plan phases/steps to build any execution workflow.
reasoning (7D) to decompose into sub-problems with decisions and trade-offsplanning to build sequenced WBS; persist via plan upsert with subagent/role/modeltech-specs to generate target technical implementation specs; makes AI to figure out entire solution, instead of discovering something as a surprisenext → execute → update_status; upsert to adapt mid-execution; loop</building_blocks>
<workflow_phases>
/goal is set repeat phases 4-5 until goal is met.<build_plan phase="2">
reasoning if needed or LARGE.</build_plan>
<review_plan phase="3" if="MEDIUM, LARGE" subagent="reviewer" role="Plan reviewer of AI automated tasks" subagent_required_model="gpt-5.4-medium, gemini-3.1-pro-preview, claude-sonnet-5" must-be-subagent>
</review_plan>
<execute_plan phase="4" loop="true">
</execute_plan>
<review_and_summarize phase="5">
</review_and_summarize>
</workflow_phases>
<best_practices>
</best_practices>
</adhoc_flow>
What the command file sets; muted values are Claude Code's defaults
workflow, planning, orchestration, subagent, task-management
7-day visitors to each command page
/griddynamics-core-instructions-r2-core:adhoc-flowfrom core
Generated from the plugin's indexed repository (griddynamics/rosetta) — no native marketplace selected
npx claudepluginhub p/griddynamics-core-instructions-r2-core43 commands in this plugin
/aqa-flowWorkflow for automated QA: integration and end-to-end UI test automation, page objects, etc./aqa-flow-code-analysisPhase 3 Code Analysis of aqa-flow/aqa-flow-data-collectionPhase 1 Data Collection of aqa-flow/aqa-flow-requirements-clarificationPhase 2 Requirements Clarification of aqa-flow/aqa-flow-selector-identificationPhase 4 Selector Identification of aqa-flow/aqa-flow-selector-implementationPhase 5 Selector Implementation of aqa-flowOther plugins' commands for the same job