Λογότυπο Parallel

Parallel

Κοινότητα
danicat
parallel

General-purpose task parallelization and agent scaling engine. Orchestrates concurrent subagents for ANY task (research, analysis, writing, coding, planning, evaluation) across arbitrary parallel budgets. Enforces immediate main session unblocking, flat orthogonal task partitioning, and agent racing / tournament comparisons. Activate whenever the user invokes /parallel, requests parallel execution, specifies a DOP/budget, or wants concurrent agent swarms.

Επισκόπηση

Εκδότηςdanicat
Αποθετήριοskills
Όνομα δεξιότηταςparallel
Αστέρια
24
Forks
4
Συνοδευτικά αρχεία
4
Άδεια χρήσηςApache-2.0
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • 4 συνοδευτικά αρχεία

    Σενάρια, πρότυπα και υλικό αναφοράς που μπορεί να διαβάζει το μοντέλο καθώς εργάζεται. Τα αρχεία είναι μόνο για ανάγνωση και δεν εκτελούνται ποτέ.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε από danicat στο GitHub. Διαβάστε το πηγαίο περιεχόμενο πριν εγκαταστήσετε τη δεξιότητα.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Parallel στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/danicat/skills/tree/main/workflows/parallel
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Νέα δεξιότητα → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που διαβάζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/danicat/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/workflows/parallel .claude/skills/parallel
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Parallel σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Parallel μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Parallel δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλα κατά τη συνομιλία

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Parallel: Task Concurrency & Agent Scaling Engine

parallel is a domain-agnostic task parallelization and agent scaling engine for Antigravity. It partitions complex objectives across concurrent subagents according to an explicit Degree of Parallelism (DOP) budget, guaranteeing complete context isolation, rapid execution, and maximum throughput.

Unlike domain-specific multi-agent frameworks, parallel scales ANY task: in-depth research, long-form writing, technical analysis, strategic planning, full-stack coding, multi-perspective reviews, ETL data processing, UI design, or model evaluation.

+-------------------------------------------------------------------------+
|                         PARALLEL TOPOLOGY                               |
|                                                                         |
|                          ROOT COORDINATOR                               |
|                 (Unblocked, Reactive, User-Facing)                      |
|                     /           |           \                           |
|                    v            v            v                          |
|             +------------+ +------------+ +------------+                |
|             |  Worker 1  | |  Worker 2  | |  Worker N  |                |
|             |  (Slice A) | |  (Slice B) | |  (Slice N) |                |
|             +------------+ +------------+ +------------+                |
|                    \            |            /                          |
|                     v           v           v                           |
|                        REDUCE & RECONCILE                               |
|               (Synthesize, Validate & Deliver to User)                  |
+-------------------------------------------------------------------------+

⚡ Core Principles & Operational Rules

1. Autonomous Activation Triggers & Syntax

Activate this skill immediately whenever the user requests parallel subagent execution or specifies a concurrency budget:

  • /parallel <DOP> (e.g., /parallel 5, /parallel 12)
  • /parallel dop: <number> (e.g., /parallel dop: 8)
  • /parallel budget <number> (e.g., /parallel budget 4)
  • Multi-phase budgets (e.g., "use /parallel 5 for planning and /parallel 10 for implementation", "phase 1: /parallel 3; phase 2: /parallel 6")
  • Natural language triggers (e.g., "parallelize this research across 6 agents", "run this task in parallel with a budget of 4", "swarm this audit with DOP 8")

2. Degree of Parallelism (DOP) & Budget Rules

  • Definition: The DOP or subagent budget defines the maximum number of active, concurrent subagents executing simultaneously.
  • Budget Utilization: It is strongly recommended (though not mandatory) to utilize the full allocated budget to maximize concurrency and accelerate completion.
  • Minimum Subagent Rule: At minimum, the task must use at least 1 subagent. Even with DOP = 1, work is delegated to a subagent so the coordinator upholds the non-blocking mandate.
  • Omission Default: If the user asks for parallel execution without specifying a number, default to a sensible budget of 5 (or 10 for extensive codebase initiatives).
  • Active vs. Completed Capacity: Completed or terminated workers release their concurrency slot immediately back to the budget pool.

3. Hard Constraint: Immediate Main Session Unblocking

The ROOT agent activating /parallel operates strictly as a non-blocking Coordinator:

  • Fire-and-Yield: The Coordinator defines the task slices, invokes 1+ subagents via invoke_subagent, and immediately stops calling tools to end its turn.
  • Permanent Responsiveness: The Coordinator MUST NEVER enter polling loops, sleep cycles, or synchronous wait states. It remains unblocked >= 99% of the time, ready to receive user steering commands, scope revisions, or status inquiries.
  • Non-Execution: The Coordinator manages org structure, task allocation, and reconciliation. It NEVER performs direct heavy execution, long-running bash scripts, or code generation itself.

4. Topology: Flat by Default

  • The default architecture is Flat (Coordinator -> N Independent Workers).
  • Flat topologies eliminate bureaucratic overhead, minimize communication hops, and maximize parallelism for arbitrary tasks.
  • Hierarchical sub-leads are reserved only for massive budgets (DOP >= 20) with multiple deeply nested technical subsystems.

5. Orthogonal & Independent Work Units

Unless explicitly racing, tasks must be sliced along orthogonal, disjoint boundaries:

  • Each worker owns an exclusive file, topic facet, test module, or data chunk.
  • Single Writer Principle: Only one subagent is granted write authority to any single file or resource.
  • Staging Pattern (Two-Tier Protocol): When outputs must combine into a single document or module, workers output to isolated staging files (staging/chunk_*.md), which the Coordinator reconciles during the Reduce step. Workers never dump full raw payload text across chat messages; chat is reserved strictly for status, output paths, and deal-breakers checklists (< 2,000 characters).

6. The Key Exception: Agent Racing & Tournaments

The singular exception to orthogonal partitioning is Agent Racing:

  • When exploring high-ambiguity architecture, solving hard algorithmic puzzles, hunting zero-day bugs, or seeking creative diversity, run identical or perturbed variations of the same prompt across N parallel subagents.
  • Evaluate candidates side-by-side using Best-of-N selection, automated test harnesses, or hybrid synthesis (merging the best elements from each runner).

7. Modern Subagent Standards & Model Selection

  • Model Selection: ALWAYS set Model: 'inherit' in all subagent definitions and invoke_subagent calls. This ensures seamless inheritance of model capabilities and reasoning effort settings without configuration drift.
  • Customizations & MCP: Subagents inherit workspace rules, tools, and MCP servers (inheritCustomizations: true, inheritMcp: true).
  • Disposable Workers: Subagents are task-scoped and disposable. Spawning fresh workers with clean context windows avoids prompt pollution, tool bloat, and cognitive drift.

8. Strict Vertical Messaging (No Sibling Crosstalk)

  • Allowed: Coordinator <-> Worker parent-child communication.
  • Forbidden: Worker <-> Worker sibling communication. Workers execute independently and must not attempt lateral messaging.
  • User Escalation: Workers do not possess ask_question. If a worker encounters an ambiguous requirement, it messages the Coordinator; the Coordinator consults the user via ask_question and relays the answer.

🎯 Universal Domain Decomposition Matrix

/parallel scales across any operational domain:

DomainPartitioning DimensionWorker AssignmentDeliverableReduce Action
ResearchTopic facet, search angle, competitorDeep-dive on 1 specific subtopicResearch memo with cited sourcesSynthesize into master briefing
WritingChapter, section, viewpointDraft 1 self-contained sectionStaged draft sectionHarmonize voice, flow, and TOC
CodingPackage, module, subsystemImplement isolated componentCode files and local unit testsWire real modules, run integration tests
Review / QASecurity, performance, style, a11yAudit codebase through 1 perspectiveCategorized vulnerability / issue logDeduplicate into prioritized matrix
Data / ETLDate range, key partition, file chunkTransform and analyze 1 data shardShard metrics and cleaned dataAggregate metrics, generate summary
StrategyScenario, risk profile, personaModel 1 scenario or stakeholderScenario impact paperBuild consolidated decision matrix
DesignUser flow, viewport, design variantSpec 1 user journey or wireframeLayout spec and UI statesUnify design tokens and component lib

📡 Non-Blocking Coordinator Protocol

The Coordinator guarantees user interactivity during intensive background processing:

+--------------------------------------------------------------------------+
|                     COORDINATOR LIFECYCLE PROTOCOL                       |
|                                                                          |
|  1. Parse DOP & Mode (Single or Multi-Phase)                             |
|  2. Define Disjoint Scopes & Output Contracts                            |
|  3. Call invoke_subagent(Subagents=[...])                                |
|  4. Brief User: "Dispatched N parallel workers. Standing by..."          |
|  5. HALT TOOL CALLS (Turn ends immediately)                              |
|                                                                          |
|     ... Main session remains fully interactive ...                       |
|     - User asks status: Coordinator runs manage_subagents (list)         |
|     - User steers: Coordinator sends message or kills workers            |
|     - Workers finish: Messaging system reactively wakes Coordinator      |
|                                                                          |
|  6. Execute Reduce & Deliver Verified Synthesis to User                  |
+--------------------------------------------------------------------------+

🔀 Multi-Phase Parallel Orchestration

When users supply multi-phase parallel budgets in a single instruction (e.g., "use /parallel 4 for planning and /parallel 10 for implementation"):

PHASE 1: Planning (DOP = 4)
Coordinator dispatches 4 planning workers -> YIELDS TURN IMMEDIATELY
All 4 workers finish -> Reactive wakeup
      |
      v
PHASE 1 REDUCE & BARRIER
Coordinator compiles unified specification (specs/plan.md)
(Optional human checkpoint / review)
      |
      v
PHASE 2: Implementation (DOP = 10)
Coordinator dispatches 10 implementation workers referencing specs/plan.md -> YIELDS TURN IMMEDIATELY
All 10 workers finish -> Reactive wakeup
      |
      v
FINAL REDUCE & DELIVERY
Coordinator integrates deliverables, executes validation, presents result

For complete multi-phase state machine specifications, consult references/multi_phase_orchestration.md.


🏁 The Racing Exception: Agent Racing & Tournaments

While orthogonal partitioning is the standard default, Racing intentionally invests parallel budget into competitive redundancy:

  1. Stochastic Racing: Dispatch N identical prompts to explore diverse generative solutions for complex, open-ended problems.
  2. Perturbed Prompting: Dispatch N workers with conflicting architectural constraints (e.g., low-latency vs high-durability vs fast-iteration).
  3. Adversarial Red-Blue Racing: Pair builder workers against breaker/exploiter workers to surface edge-case vulnerabilities.
  4. Best-of-N Tournaments: Collect N candidate solutions, rank them with automated benchmarks or judge rubrics, and merge or select the winner.

For full tournament brackets, evaluation rubrics, and synthesis patterns, consult references/racing_and_tournaments.md.


🔄 The Reduce (Reconciliation) Pipeline

Parallel execution produces distributed artifacts. Before concluding, the Coordinator executes the Reduce phase:

  1. Ingestion & Completeness Audit: Verify that all N workers reported deliverables without lingering placeholders (TODO, FIXME, temporary mock stubs).
  2. Reconciliation & Assembly:
    • Merge staged markdown sections into the master manuscript.
    • Wire real code components together and purge stub adapters.
    • Aggregate disjoint data matrices into unified summaries.
  3. End-to-End Verification:
    • Run compilation, linters, or package-level test suites.
    • Verify citation integrity and reference cross-links.
  4. Delivery Summary: Present the final synthesized result with transparent execution metrics (workers deployed, tasks completed, trade-offs resolved).

⚠️ Gotchas & Antipatterns

  1. The Blocking Coordinator Trap: Lingering in active execution, looping with sleep, or polling subagents. The Coordinator MUST yield immediately after invoke_subagent.
  2. The Coordinator-as-Worker Fallback Trap: The Coordinator writing implementation code or performing search sweeps directly. The Coordinator delegates all execution to subagents.
  3. The Sibling Cross-Talk Trap: Allowing subagents to communicate laterally. Workers must remain decoupled and message only the parent Coordinator.
  4. The Long-Lived Worker Context Bloat Trap: Reusing subagents across disparate tasks. Spawn disposable, task-scoped workers with clean contexts.
  5. The Write Collision Trap: Multiple workers writing to the same file concurrently. Enforce exclusive file ownership or use the staging directory pattern.
  6. The Leftover Staging Trap: Forgetting to reconcile staged files or leaving temporary mock stubs in production paths. Always execute the Reduce phase.
  7. Under-Budgeting Mismatch: Spawning fewer workers than the user's allocated budget when sufficient independent tasks exist. Always endeavor to utilize the full budget.

📚 Progressive Disclosure & References


🖥️ Pinning exact versions and reasoning effort in Antigravity

Ecosystem boundary: Use the agy CLI only when running inside Google Antigravity. If you run this skill in Claude Code or another agent environment, use that host's native subagent or CLI mechanism instead—never invoke agy outside Antigravity.

In Antigravity, the default invoke_subagent tool exposes coarse tiers—inherit, pro, flash, and flash_lite—and can't pin an exact version or set a reasoning effort level. When the user asks for a specific version such as gemini-4-argon or gemini-3.8-flash, or a reasoning effort level—low, medium, high, xhigh, or max—start each worker as a headless agy CLI background job instead of calling invoke_subagent:

  1. Query live identifiers: Run agy models to query the live list of valid identifiers and effort variants. Examples include gemini-4-argon-high, gemini-4-argon-medium, gemini-4-argon-low, gemini-3.8-flash-high, gemini-3.8-flash-medium, and gemini-3.8-flash-low. Treat these identifiers as examples rather than an exhaustive list.

  2. Start non-blocking background workers: Run each worker in the background using run_command with WaitMsBeforeAsync: 500, writing to isolated staging files. Pass the prompt inline via -p="...", since agy -p in text mode ignores standard input:

    bash
    agy --model gemini-3.8-flash \
      --effort low \
      --mode auto \
      --disable-slash-commands \
      -p="You are Worker 1. <task instructions>. Write your output to /tmp/worker-01.md."

    You can pass --model <base-id> --effort <low|medium|high|xhigh|max> or pass a combined identifier directly, such as --model gemini-3.8-flash-low.

  3. Yield the turn right away: Just like standard subagent dispatch, stop calling tools as soon as you start all N background agy commands. The runtime wakes the Coordinator when each background task finishes, and the Coordinator then runs the standard Reduce phase over the staged outputs.

Συνοδευτικά αρχεία

Το μοντέλο τα διαβάζει όποτε χρειάζεται, όσο η δεξιότητα είναι φορτωμένη. Διατίθενται ως αρχεία για ανάγνωση και δεν εκτελούνται ποτέ.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Parallel;

General-purpose task parallelization and agent scaling engine. Orchestrates concurrent subagents for ANY task (research, analysis, writing, coding, planning, evaluation) across arbitrary parallel budgets. Enforces immediate main session unblocking, flat orthogonal task partitioning, and agent racing / tournament comparisons. Activate whenever the user invokes /parallel, requests parallel execution, specifies a DOP/budget, or wants concurrent agent swarms.

Γιατί να χρησιμοποιήσετε τη δεξιότητα Parallel στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Parallel είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη Parallel στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε το https://github.com/danicat/skills/tree/main/workflows/parallel. Το TypingMind διαβάζει το αρχείο SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Parallel;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη Parallel;

Με όσα θέλετε. Εφόσον ένα μοντέλο υποστηρίζει δεξιότητες, μπορείτε να χρησιμοποιήσετε τη Parallel με αυτό — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama και άλλα — όλα στο TypingMind με τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Parallel;

Ναι. Δημοσιεύεται στο GitHub από τον χρήστη danicat με την άδεια χρήσης Apache-2.0. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Στήστε δικό σας χώρο εργασίας AI τώρα

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇