agentleFS
frankxaifrankxai/Starlight-Intelligence-System/skills/orchestration/parallel-execution/SKILL.md

orchestration/parallel-execution

Skill10 starsChanged 2 months agoMITView on GitHub

Use when running multiple independent tasks concurrently across agents, tools, or systems — ensures thread safety, proper result collection, and efficient resource usage. Default skill for Starlight Orchestrator.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Default for: Starlight Orchestrator

    line 15
  2. Distinctive:

    Wait for all parallel tasks to complete

    line 43
  3. Distinctive:

    Check for conflicts in results

    line 45
  4. Distinctive:

    If conflicts: resolve using Synthesis Protocol

    line 46

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Parallel Execution

"Why do one thing when you can do three?"

When This Skill Activates

  • Running multiple independent tasks concurrently
  • Keywords: "parallel", "concurrent", "simultaneously", "batch"
  • Default for: Starlight Orchestrator

What This Skill Does

Manages parallel execution of independent tasks across agents, tools, and systems. Ensures thread safety, proper result collection, and efficient resource usage.

Procedures

Procedure 1: Parallelization Analysis

  1. List all tasks to be executed
  2. Build dependency graph
  3. Identify independent tasks (no dependencies on each other)
  4. Group independent tasks for parallel execution
  5. Sequence dependent tasks after their prerequisites
  6. Calculate resource requirements for parallel batch

Procedure 2: Parallel Dispatch

  1. Confirm all parallel tasks are truly independent
  2. Limit concurrent agents to 3 (token budget constraint)
  3. Dispatch tasks to assigned agents simultaneously
  4. Monitor all tasks for completion or failure
  5. Collect results as each task completes
  6. Handle failures without blocking other parallel tasks

Procedure 3: Result Collection

  1. Wait for all parallel tasks to complete
  2. Collect all results
  3. Check for conflicts in results
  4. If conflicts: resolve using Synthesis Protocol
  5. Merge into unified output
  6. Report any failed tasks separately

Integration Points

  • Vault: Operational Vault (execution metrics)
  • Agents: Orchestrator (primary), up to 3 concurrent agents
  • Engine: Orchestration Engine (parallel pattern)

Quality Criteria

  • Were only truly independent tasks run in parallel?
  • Were results properly collected and merged?
  • Were failures handled gracefully?
  • Was the concurrent agent limit respected?

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.