Logo vun Delegation Parallelism

Delegation Parallelism

Communautéit
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.

Iwwersiicht

Editeurrlaope
Repositoryultraprompt
Skill-Nummdelegation-parallelism
Stären
36
Forks
6
Matgeliwwert Fichieren
1
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum rlaope op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Delegation Parallelism an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/rlaope/ultraprompt/tree/main/skills/delegation-parallelism
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Delegation Parallelism an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Delegation Parallelism automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Delegation Parallelism net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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——

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill 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.

Firwat Delegation Parallelism op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Delegation Parallelism besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Delegation Parallelism an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/rlaope/ultraprompt/tree/main/skills/delegation-parallelism an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Delegation Parallelism benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Delegation Parallelism benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Delegation Parallelism domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Delegation Parallelism gratis?

Jo. De Skill gëtt vum rlaope ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇