Logotipo de Delegation Parallelism

Delegation Parallelism

Comunidad
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.

Descripción general

Editorrlaope
Repositorioultraprompt
Nombre de la habilidaddelegation-parallelism
Estrellas
36
Forks
6
Archivos incluidos
1
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 1

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por rlaope en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Delegation Parallelism en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/rlaope/ultraprompt/tree/main/skills/delegation-parallelism
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese 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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Delegation Parallelism en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Delegation Parallelism automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Delegation Parallelism no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo 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——

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de 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.

¿Por qué usar Delegation Parallelism en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Delegation Parallelism está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Delegation Parallelism en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/rlaope/ultraprompt/tree/main/skills/delegation-parallelism. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Delegation Parallelism?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Delegation Parallelism?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Delegation Parallelism con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Delegation Parallelism?

Sí. rlaope la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇