From core
Builds and runs custom multi-phase workflow plans for ad-hoc tasks (docs, builds, tracking, sync). Orchestrates phases, steps, and subagents via rosettify plan CLI with parallel dispatch and status tracking.
How this command is triggered — by the user, by Claude, or both
Slash command
/core:adhoc-flowThe summary Claude sees in its command listing — used to decide when to auto-load this command
<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> <models> - large (smart, slow): claude-opus-4-8, gpt-5.3-codex-high, gpt-5.4-high, gpt-5.5-high, gemini-3.1-pro-preview - medium (workhorse): claude-sonnet-5, gpt-5.3-codex-medium, gpt-5.4-medium, glm-5,...
<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 -y rosettify@latest 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 -y rosettify@latest 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 -y rosettify@latest 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 -y rosettify@latest 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 -y rosettify@latest 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>
npx claudepluginhub p/griddynamics-core-instructions-r2-core/adhoc-flowConstructs, tracks, reviews, and executes a tailored adaptive workflow plan for user requests using plan-manager and building blocks like research, planning, and execution.
/delegateOrchestrates multi-step workflows by entering plan mode to decompose tasks, assign agents, and schedule execution waves, then executing the approved plan.
/hatch3r-planClassifies a free-form planning request against nine planning flows, confirms the match with the user, and drives the matching flow to produce a consolidated plan and execution prompt.
/workflowOrchestrates a full development cycle: design, planning, plan review, implementation, and code review. Supports autonomous mode and phase-based resume.
/plan-modeInitiates a multi-agent planning consultation to create a structured implementation plan with task hierarchy and specialist dispatches, producing a plan document without code changes.
/planCreates strategic execution plans by capturing user intent, analyzing requirements, and generating a weighted execution strategy saved to .claude/session-plan.md.