Skip to content
Agentmart
Submit a tool

orchestrate

Intelligent task routing — evaluates complexity and asks the user whether to handle in the main session or dispatch to specialist sub-agents.

Skill by puukis

IndexedMIT
Write a review

Chalk Labs

Need help deploying orchestrate?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/puukis-orchestrate

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Intelligent task routing — evaluates complexity and asks the user whether to handle in the main session or dispatch to specialist sub-agents. Entry point for any medium or large task. Run this before /build or /engineer on anything non-trivial.

Use cases: productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/orchestrate

Tools it pre-approves 4

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Bash,
  • Glob,
  • Read,
  • AskUserQuestion

What's inside

Skill name
orchestrate
Description
Intelligent task routing — evaluates complexity and asks the user whether to handle in the main session or dispatch to specialist sub-agents. Entry point for any medium or large task. Run this before /build or /engineer on anything non-trivial.
License
MIT
Allowed tools
Bash,, Glob,, Read,, AskUserQuestion
Instructions
128 lines in SKILL.md · view on GitHub

Before installing

  • Pre-approves some shell commands

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Orchestrate — intelligent task routing

## Activation
Invoked via /orchestrate. Run before any medium or large task.
Auto-activates when a request is Tier 2 or Tier 3 per the routing
rules in CLAUDE.md. Never auto-activates for Tier 1 tasks.

## Process

### Step 1 — Evaluate complexity

Without reading any files, estimate the task tier:

TIER 1 (handle in main session):
  - Under 20 min, 1-2 files, single concern
  → Skip orchestration. Proceed directly.

TIER 2 (ask user):
  - 20-60 min, 3-8 files, 2-3 concerns
  → Continue to Step 2.

TIER 3 (recommend sub-agents):
  - Over 60 min, 9+ files, 4+ concerns, parallel workstreams
  → Continue to Step 2 with a recommendation.

### Step 2 — Ask the user

Use AskUserQuestion:

  AskUserQuestion({
    questions: [
      {
        question: "This looks like a [Tier 2/3] task. How should I approach it?",
        options: [
          "Main session — handle everything here (simpler, no overhead)",
          "Sub-agents — dispatch to specialists (better for large tasks)",
          "Show me the plan first, then I'll decide"
        ]
      }
    ]
  })

If the user selects "Show me the plan first":
  - Outline the task breakdown: what sub-agents would handle what
  - Show estimated token cost (number of workers × task size)
  - Then ask again with the two remaining options

### Step 3 — If main session chosen

Proceed using the existing /build or /engineer skill.
No sub-agents. Keep it simple.

### Step 4 — If sub-agents chosen

4a. Decompose the task into independent workstreams.
    Each workstream maps to one sub-agent. Use this mapping:

    Research/exploration  → researcher (Haiku — cheap, use first)
    Implementation        → implementer (Sonnet)
    Bug diagnosis         → debugger (Sonnet)
    Code review           → reviewer (Sonnet — run after implementer)
    Test writing          → tester (Haiku — run after implementer)
    System design         → architect (Sonnet — run before implementer)
    Documentation         → use main session (too context-dependent for sub-agent)

4b. Ask the user which model to use for the orchestrator (main session):

    AskUserQuestion({
      questions: [
        {
          question: "Which model should orchestrate this task?",
          options: [
            "Sonnet 4.6 — balanced, default (recommended)",
            "Opus 4.6 — most capable, higher cost",
            "Keep current session model"
          ]
        }
      ]
    })

    Note: worker models are pre-configured in the sub-agent YAML files.
    Researcher and tester use Haiku. Implementer, reviewer, debugger,
    architect use Sonnet. This is already optimal.

4c. State the dispatch plan clearly:
    "I will:
    1. [researcher] — scan [X] for [Y] (parallel)
    2. [architect] — design [Z] based on research output (sequential)
    3. [implementer] — implement [A] from the architecture (sequential)
    4. [reviewer] + [tester] — review and test in parallel (parallel)"

4d. Dispatch sub-agents in the described order.
    Parallel sub-agents: invoke simultaneously.
    Sequential sub-agents: wait for prior output before invoking.

4e. After all sub-agents complete, synthesize:
    - What each sub-agent produced
    - Any conflicts or issues between their outputs
    - What the main session still needs to do (usually: integrate, commit)
    - Whether the result needs human review before proceeding

### Step 5 — Store orchestration decision in memory

After the task completes, call /remember with:
"Used [N] sub-agents for [task type] — [outcome in 10 words]"
Scope: project.

This builds up a record of what orchestration patterns work for this
codebase, which injection surfaces at the start of future sessions.

## Constraints

- Never dispatch more than 3 parallel sub-agents at once.
- Never dispatch a sub-agent for a task under 20 minutes.
- Always ask the user before dispatching. No silent auto-dispatch.
- If a sub-agent fails or produces unexpected output, report it
  to the user before continuing. Do not silently retry.
- Never pass raw sub-agent output directly to the user.
  Synthesize and summarize.

From puukis/lstack, MIT.

More from puukis/lstack

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
May 23, 2026 (5 months ago)
Last release
May 18, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from puukis

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get orchestrate running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying orchestrate?

CallGet help
Cite this page

orchestrate skill. Agent Mart. https://agentmart.dev/skills/puukis-orchestrate (last updated 2026-10-24)