Logo di Delegation Parallelism

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.

Panoramica

Autorerlaope
Repositoryultraprompt
Nome della skilldelegation-parallelism
Stelle
36
Fork
6
File inclusi
1
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • 1 file inclusi

    Script, modelli di documento e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da rlaope su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Delegation Parallelism in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/rlaope/ultraprompt/tree/main/skills/delegation-parallelism
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Delegation Parallelism in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Delegation Parallelism non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Delegation Parallelism non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Delegation Parallelism su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Delegation Parallelism è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Delegation Parallelism in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/rlaope/ultraprompt/tree/main/skills/delegation-parallelism. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Delegation Parallelism?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Delegation Parallelism?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Delegation Parallelism: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Delegation Parallelism è gratuita?

Sì. È pubblicata su GitHub da rlaope con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇