Delegation Parallelism logo

Delegation Parallelism

Community
rlaope
delegation-parallelism

Invoke when deciding whether to split work across parallel agents/sessions or do it inline — tests scope independence, weighs coordination cost against the parallelism win, and sets an observation cadence for delegated work.

Overview

Publisherrlaope
Repositoryultraprompt
Skill namedelegation-parallelism
Stars
36
Forks
6
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by rlaope on GitHub. Read the source before you install it.

Installation

Install the Delegation Parallelism AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/rlaope/ultraprompt/tree/main/skills/delegation-parallelism
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/rlaope/ultraprompt.git /tmp/ultraprompt
mkdir -p .claude/skills
cp -r /tmp/ultraprompt/skills/delegation-parallelism .claude/skills/delegation-parallelism
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Delegation Parallelism in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Delegation Parallelism on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Delegation Parallelism is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Delegation & Parallelism

Status: v0.1 baseline draft — derived from the case catalog and axis definitions; awaiting trace evidence from Fable 5.1 case runs.

When to apply

  • A task could be split into pieces that different agents or sessions might run at the same time.
  • You are about to fan out N workers and are unsure whether the pieces are actually independent.
  • You are doing serially something that has no ordering dependency and could overlap.
  • Two candidate subtasks touch the same files, the same branch, or the same shared resource.
  • You have delegated work and need to decide how often to check on it without babysitting.
  • The coordination overhead of splitting might exceed the time the split would save.

Core loop

  1. Decompose the task into candidate units and their outputs. List the pieces and, for each, the files/resources it writes and the artifact it produces. You cannot reason about independence until you can see each unit's write-set.

  2. Apply the independence test to each pair. Two units are parallel-safe only if their write-sets are disjoint AND neither consumes the other's output AND they share no serial resource (same branch, same DB row, same file, same port). If any of those holds, they are ordered or must be merged — not parallel.

  3. Enforce disjoint scope before splitting. For units you will parallelize, make the scope boundaries explicit: which files each owns, which it must not touch. Overlapping write-sets across parallel workers produce merge conflicts that cost more than the parallelism saved. If you cannot carve disjoint scopes, do it inline.

  4. Weigh coordination cost against the parallelism win. Estimate the split's overhead — briefing each worker, defining interfaces, merging results, resolving conflicts — against the wall-clock saved. Small or tightly-coupled tasks lose this trade; large, genuinely independent tasks win it. When the margin is unclear, keep it inline.

  5. Choose the delegation shape.

    • Independent, disjoint, large → parallel workers, one scope each.
    • Sequential dependency → a pipeline; each stage starts when the prior's output exists.
    • Same scope / small / exploratory → inline, no delegation.
    • Needs a fresh, isolated context but not concurrency → one delegated session, awaited.
  6. Brief each delegate with a self-contained scope. Give each worker exactly what it needs and no more: its goal, its owned files, its interface with others, its done-signal. A delegate that has to ask back mid-run erodes the parallelism you paid for.

  7. Set an observation cadence, not a stare. Decide up front when you will check delegated work — at each unit boundary, on a fixed interval, or on a done-signal — and let it run between checks. Poll on meaningful transitions, not every tick.

  8. Merge and reconcile at boundaries. Integrate results only at unit boundaries, verify the combined result, and resolve any conflict as a scoping lesson for next time. If two delegates collided, the split was wrong, not the workers.

Heuristics

  • Split only when write-sets are provably disjoint; overlapping writes make parallelism a conflict generator.
  • If unit B consumes unit A's output, they are a pipeline, not a parallel pair — sequence them.
  • 2+ genuinely independent large tasks → parallelize; anything small or coupled → inline and skip the overhead.
  • Coordination cost scales with the number of shared interfaces; minimize interfaces before adding workers.
  • One writer per file/branch/resource at a time; concurrent writers to one target is a merge tax, not speed.
  • Observe delegated work at boundaries and done-signals, not continuously; a stare wastes the concurrency.
  • If briefing a delegate takes longer than doing the unit, do the unit inline.
  • Cap fan-out to what you can actually reconcile; 3 well-scoped workers beat 8 that collide on merge.
  • When independence is uncertain, assume coupled and serialize — a false split is costlier than a missed one.
  • A delegate that keeps asking clarifying questions signals an under-specified scope; re-brief, don't micromanage.

Anti-patterns

  • False parallelism. Fanning out workers onto pieces that share files or a branch, then paying it back in merge conflicts. → Corrective: run the independence test on write-sets first; only disjoint scopes split.
  • Coordination-dominated split. Parallelizing a task so small that briefing and merging cost more than doing it. → Corrective: compare overhead to wall-clock saved; keep small/coupled work inline.
  • Pipeline run as parallel. Launching a consumer before its producer's output exists, so it works from stale or empty input. → Corrective: sequence dependent units; start each when the prior's artifact is real.
  • Babysitting the delegate. Polling a delegated session every few seconds, blocking on it as if inline. → Corrective: set a boundary/interval cadence and let it run; check on transitions, not ticks.
  • Fire-and-forget. Delegating and never observing, then discovering at the end the worker went off-scope. → Corrective: define a done-signal and at least one mid-point boundary check.
  • Unbounded fan-out. Spawning more workers than you can brief distinctly or merge cleanly. → Corrective: cap at the number of disjoint scopes you can actually reconcile.

Relation to existing axes

  • vs incremental-safety: incremental-safety sequences one change into safe intermediate states so the system stays green at every step — it is about ordering edits over time. Delegation-parallelism is about distributing units across agents — who does what, concurrently or not. One decomposes a change for safety; the other decomposes work for throughput and decides whether concurrency is even sound.
  • vs tradeoff-articulation: tradeoff-articulation weighs alternative designs for one decision. Delegation-parallelism weighs one specific execution decision — split vs inline — with its own tests (write-set disjointness, coordination cost). It is the applied case, not the general design-choice method.

Worked example

Illustrative construction, not a recorded run.

Task: "Add a new report type: backend query, API endpoint, frontend chart, and docs." One agent, could delegate.

Agent decomposes into 4 units with write-sets: query (db/reports.sql), endpoint (api/reports.ts),
    chart (web/ReportChart.tsx), docs (README).
Independence test pairwise: endpoint CONSUMES query's result shape → pipeline edge. chart CONSUMES
    endpoint's response schema → pipeline edge. docs depends on the final shape → last.
Conclusion: this is mostly a pipeline, not a parallel fan-out. Only query and a docs stub have disjoint
    write-sets early on.
Agent sequences: build query first (defines the schema), then endpoint and chart can proceed — and once the
    response schema is frozen, endpoint and chart ARE disjoint (api/ vs web/) → parallelize those two.
Agent scopes the two parallel workers: worker-api owns api/*, worker-web owns web/*, interface = the frozen
    schema; neither touches the other's dir.
Observation cadence: check at the schema-freeze boundary and at each worker's done-signal, not continuously.
Merge at boundary: both land, agent verifies the combined flow end-to-end, writes docs last.
Exit: coordination paid off only for the two truly-disjoint units; the rest stayed a serial pipeline
    because their write-sets were coupled.

Trace evidence

CaseSessionWhat it showed
awaiting case runs——

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Delegation Parallelism AI skill do?

Invoke when deciding whether to split work across parallel agents/sessions or do it inline — tests scope independence, weighs coordination cost against the parallelism win, and sets an observation cadence for delegated work.

Why use Delegation Parallelism on TypingMind?

Because you install it once and use it with any model. Delegation Parallelism is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Delegation Parallelism in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/rlaope/ultraprompt/tree/main/skills/delegation-parallelism. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Delegation Parallelism?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Delegation Parallelism?

As many as you like. As long as a model supports skills, you can use Delegation Parallelism with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Delegation Parallelism AI skill free?

Yes. It is published on GitHub by rlaope under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇