execution-router

Determine execution architecture for Pi tasks using scoring and safety gates.

338|11|Updated Jun 7, 2026
One-click install
npx skills add https://github.com/AgwaB/pi-workflow --skill execution-router-agwab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: execution-router
Source: https://github.com/AgwaB/pi-workflow/tree/main/skills/execution-router
Command: npx skills add https://github.com/AgwaB/pi-workflow --skill execution-router-agwab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill unit provides guidance on selecting the appropriate execution architecture for Pi workflows, enhancing the efficiency and reliability of task execution.

Core Features & Use Cases

  • Execution Decision Making: Determines the most suitable execution approach based on task complexity, dependencies, and risks.
  • Scoping and Constraints: Assesses task scope, final artifacts, and constraints to inform routing decisions.
  • Routing Recommendations: Suggests specific execution modes like single-agent, existing workflows, subagents, or new workflows, based on analysis and scores.
  • Workflow Readiness and Promotion Criteria: Validates and evaluates workflows for readiness, considering tool availability, policies, and success criteria for promotion.

Quick Start

Ask Pi to analyze a task for the most appropriate execution strategy. Example: "Analyze the task of reviewing the 'spec-conformance' to suggest an execution architecture."

Frequently Asked Questions about execution-router

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I determine the best execution architecture for multi-agent workflows?

To determine the best execution architecture for multi-agent workflows, you analyze task scope, context, dependencies, and risk assessment. This evaluation identifies whether single-agent processing, existing workflows, targeted subagents, or new workflows are most suitable for efficient task execution.

What is workflow readiness and how does it affect task routing?

Workflow readiness evaluates if existing workflows are prepared for execution by checking tool availability and policies. It affects task routing by validating readiness and assessing promotion criteria, ensuring tasks are only routed to workflows that meet safety and success standards.

When do I need to use targeted subagents instead of single-agent processing?

You need targeted subagents instead of single-agent processing when task complexity, dependencies, and risks require specialized handling. Scoring and domain-specific heuristics evaluate these factors to recommend subagents or new workflows when single-agent execution is insufficient.

How can I assess constraints and scope for task routing decisions?

You assess constraints and scope for task routing decisions by evaluating the final artifacts and task boundaries. This scoping informs routing recommendations, combining safety gates and scores to suggest the correct execution mode for reliable Pi task processing.

What are the promotion criteria for promoting an existing workflow in Pi?

Promotion criteria for existing workflows in Pi validate readiness by checking tool availability, policies, and success metrics. Assessing these criteria ensures workflows meet safety gates and domain-specific heuristics before being promoted for active task execution.

Does execution routing work with existing workflows or does it require new ones?

Execution routing works with existing workflows by evaluating their readiness, but it also recommends creating new workflows when task scope and dependencies require it. The decision uses scoring and safety gates to determine if existing or new architectures are needed.