Λογότυπο Spawn Squad

Spawn Squad

Κοινότητα
tamirdresher
spawn-squad

Create, run, and manage child squads for specific missions. Enables an HQ coordinator to fan out work to purpose-built teams.

Επισκόπηση

Εκδότηςtamirdresher
Αποθετήριοsquad-skills
Όνομα δεξιότηταςspawn-squad
Αστέρια
44
Forks
9
Συνοδευτικά αρχεία
1
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Οδηγίες σε Markdown

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

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

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

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

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

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

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

Εγκατάσταση

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

1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Spawn Squad

Context

Sometimes a task is too large, too specialized, or too parallelizable for a single squad. This skill teaches an HQ agent how to spawn a child squad — a purpose-built team that handles a specific mission in its own workspace, then reports results back.

Use cases where spawning is the right move:

  • Legacy migration — one child squad per service/module to modernize
  • Research exploration — parallel squads each investigating a different hypothesis
  • Crisis response — a dedicated squad per incident, spun up on-demand
  • Legal / compliance — a squad per case file or audit scope
  • Template validation — disposable squads that test prompt changes end-to-end

Use cases where spawning is NOT the right move:

  • The task fits in a single session — just do it yourself
  • You need real-time collaboration between agents — squads are isolated by design
  • The work has no clear success criteria — define those first

Prerequisites

Before spawning, verify these exist. If any check fails, stop and report the blocker — do not improvise.

bash
# Required CLIs
command -v copilot  || echo "BLOCKED: GitHub Copilot CLI not found"
command -v squad    || echo "BLOCKED: Squad CLI not found"
command -v git      || echo "BLOCKED: Git not found"

# On Windows (PowerShell)
Get-Command copilot -ErrorAction SilentlyContinue || Write-Error "BLOCKED: GitHub Copilot CLI not found"
Get-Command squad   -ErrorAction SilentlyContinue || Write-Error "BLOCKED: Squad CLI not found"
Get-Command git     -ErrorAction SilentlyContinue || Write-Error "BLOCKED: Git not found"

Verify the Squad agent is available to Copilot:

bash
copilot agent list 2>/dev/null | grep -q squad || echo "BLOCKED: Squad agent not registered"

Workflow

Step 0 — Define the mission contract

Before touching the filesystem, write down the contract. This is non-negotiable.

markdown
## Mission Contract
**Mission ID:** {descriptive-kebab-case-id}
**Objective:** {one sentence — what the child squad must accomplish}
**Scope:** {what's in bounds / what's out of bounds}
**Success criteria:**
- [ ] {specific, verifiable criterion — e.g., "src/api/routes.ts exists and exports a Router"}
- [ ] {another criterion — e.g., "npm test exits 0 with ≥3 passing tests"}
- [ ] {another — e.g., "no files outside src/ were modified"}
**Allowed tools:** {e.g., shell, git, file read/write — or "all"}
**Forbidden actions:** {e.g., "do not push to remote", "do not install global packages"}
**Stop condition:** {e.g., "after 3 failed attempts, return FAIL with diagnostics"}
**Lifecycle:** ephemeral | long-lived
**Expected artifacts:** {list of files/reports the parent expects back}

Step 1 — Create the workspace

Each child squad gets its own isolated workspace. Never share a workspace between squads.

Ephemeral squad:

bash
# Create a disposable workspace
MISSION_ID="legacy-auth-migration"
WORKSPACE="/tmp/squad-mission-${MISSION_ID}"
mkdir -p "$WORKSPACE" && cd "$WORKSPACE"
git init

Long-lived squad (clone an existing repo):

bash
MISSION_ID="customer-acme-modernization"
WORKSPACE="/tmp/squad-mission-${MISSION_ID}"
git clone https://github.com/org/legacy-app.git "$WORKSPACE"
cd "$WORKSPACE"

Windows (PowerShell):

powershell
$MissionId = "legacy-auth-migration"
$Workspace = "$env:TEMP\squad-mission-$MissionId"
New-Item -ItemType Directory -Path $Workspace -Force
Set-Location $Workspace
git init

Step 2 — Scaffold the codebase (if needed)

For ephemeral squads, create just enough project structure for the child squad to have something to work with:

bash
# Example: minimal Node.js project
echo '{"name":"mission-workspace","version":"1.0.0"}' > package.json
mkdir -p src tests
echo "// Entry point" > src/index.ts
git add -A && git commit -m "init: mission workspace for ${MISSION_ID}"

For cloned repos, skip this — the codebase already exists.

Step 3 — Initialize the squad

bash
squad init

Then customize the squad for the mission:

a) Write the mission brief — save the contract from Step 0:

bash
cat > .squad/mission.md << 'EOF'
{paste the mission contract here}
EOF

b) Customize team.md — tailor roles for the mission domain:

bash
# Edit .squad/team.md to include mission-relevant roles
# For a migration mission, you might want:
# - An architect who understands the legacy patterns
# - A developer who writes the new code  
# - A tester who verifies behavior preservation

c) Write targeted agent charters — in .squad/agents/{role}/charter.md:

markdown
# Charter: Migration Developer

## Identity
You are a migration specialist focused on converting legacy patterns to modern equivalents.

## Mission
{paste the objective from the mission contract}

## Constraints
{paste scope boundaries and forbidden actions}

d) Commit the squad configuration:

bash
git add -A && git commit -m "squad: configure team for mission ${MISSION_ID}"

Step 4 — Run the mission

Use the Copilot CLI to run sessions against the child squad.

--yolo flag: Non-interactive spawning requires --yolo to auto-approve file operations. Without it, Copilot CLI blocks on permission prompts that no one is there to click.

Single-turn mission:

bash
copilot --agent squad --yolo \
  -p "Execute the mission described in .squad/mission.md. Follow the success criteria exactly." \
  2>&1 | tee evidence/session-run.log

Multi-step mission (sequential sessions):

bash
mkdir -p evidence

# Phase 1: Analysis
copilot --agent squad --yolo \
  -p "Phase 1: Analyze the codebase and create a migration plan in .squad/decisions/migration-plan.md" \
  2>&1 | tee evidence/session-phase1.log

# Phase 2: Implementation  
copilot --agent squad --yolo \
  -p "Phase 2: Execute the migration plan from .squad/decisions/migration-plan.md" \
  2>&1 | tee evidence/session-phase2.log

# Phase 3: Verification
copilot --agent squad --yolo \
  -p "Phase 3: Run tests and verify all success criteria from .squad/mission.md are met" \
  2>&1 | tee evidence/session-phase3.log

Important: Always capture session logs with tee (or Tee-Object on Windows). Without logs, failures are undiagnosable.

Step 5 — Verify outcomes

Check every success criterion from the mission contract. Do not trust session output alone — verify independently.

bash
# Example verification for a migration mission:

# Criterion 1: expected files exist
test -f src/api/routes.ts || echo "FAIL: routes.ts not found"

# Criterion 2: tests pass
npm test 2>&1 | tee evidence/test-results.log
TEST_EXIT=$?

# Criterion 3: no out-of-scope modifications
CHANGED_FILES=$(git diff --name-only HEAD~1)
echo "$CHANGED_FILES" | grep -v "^src/" && echo "WARN: files outside src/ were modified"

# Criterion 4: git state is clean
git status --porcelain | grep -q . && echo "WARN: uncommitted changes remain"

Step 6 — Record the verdict

Create a structured verdict that the parent coordinator can parse:

markdown
## Mission: {mission-id}
**Lifecycle:** ephemeral | long-lived
**Result:** PASS | PARTIAL | FAIL
**Phases completed:** {e.g., 3/3}

### Success Criteria
- [x] src/api/routes.ts exists and exports a Router
- [x] npm test exits 0 with 5 passing tests  
- [ ] No files outside src/ were modified — VIOLATION: package-lock.json updated

### Evidence
- evidence/session-phase1.log — analysis phase
- evidence/session-phase2.log — implementation phase
- evidence/session-phase3.log — verification phase
- evidence/test-results.log — test output

### Git State
- Commits: {number of commits made by child squad}
- Branch: {current branch name}
- Clean: yes | no

### Notes
{anything unusual — e.g., "retried phase 2 once due to test failure"}

Step 7 — Report back or persist

Ephemeral squad — extract the verdict file, copy any artifacts the parent needs, then clean up:

bash
# Copy verdict and artifacts to parent workspace
cp evidence/verdict.md /path/to/parent-workspace/results/${MISSION_ID}-verdict.md
cp -r evidence/ /path/to/parent-workspace/results/${MISSION_ID}/

# Clean up
cd /
rm -rf "$WORKSPACE"

Long-lived squad — leave the workspace intact. Record its location for future sessions:

bash
echo "${MISSION_ID}=${WORKSPACE}" >> /path/to/parent-workspace/.squad/active-missions.txt

Parallel Fan-Out

To run multiple child squads simultaneously:

  1. Create separate workspaces per mission (Step 1)
  2. Initialize and configure each independently (Steps 2-3)
  3. Run them in parallel using background processes or separate terminals:
bash
# Launch 3 parallel missions
for MISSION in auth-migration data-layer api-gateway; do
  (
    cd /tmp/squad-mission-${MISSION}
    copilot --agent squad --yolo \
      -p "Execute the mission in .squad/mission.md" \
      2>&1 | tee evidence/session-run.log
  ) &
done
wait  # Wait for all to complete

# Collect verdicts
for MISSION in auth-migration data-layer api-gateway; do
  cat /tmp/squad-mission-${MISSION}/evidence/verdict.md
done

Isolation rule: Each squad MUST have its own workspace directory and its own git repository. Never run parallel squads on the same repo or branch — they will corrupt each other's state.

Recursive Spawning

A child squad can itself use this skill to spawn grandchild squads. This is powerful but dangerous.

Hard limit: Maximum spawn depth of 3 (HQ → child → grandchild). Beyond that, complexity becomes unmanageable and failures are nearly impossible to diagnose.

Rule: Every level must report its verdict up to its parent. The parent is responsible for aggregating child verdicts into its own verdict.

Anti-Patterns

  • Spawning without a mission contract. If you can't write concrete success criteria, you can't verify the outcome. Don't spawn.
  • Sharing workspaces between squads. Git state, files, and logs will collide. One workspace per squad, always.
  • Trusting session output as proof. Agents can claim they wrote a file without actually writing it. Always verify git state and file existence independently.
  • Spawning for simple tasks. If the work fits in a single prompt, spawning a full squad is overhead with no benefit. Just do it.
  • Unbounded parallel fan-out. Each child squad consumes compute, API calls, and context. Start with 2-3 parallel squads and scale up only after validating the pattern works.
  • Skipping preflight checks. If copilot, squad, or git aren't available, the entire workflow will fail silently or produce garbage. Always check first.
  • No cleanup for ephemeral squads. Disposable workspaces accumulate fast. Always clean up after extracting results.
  • Letting child squads modify the parent repo directly. Child squads work in their own workspace. Results flow back via explicit artifact copying, not shared file access.

Tips

  • Name workspaces descriptively: squad-mission-auth-migration, not test1.
  • One mission per workspace. Don't reuse workspaces across unrelated missions — state leaks.
  • Always capture session logs. They're the only way to debug what went wrong.
  • Windows users: Use PowerShell. Tee-Object replaces tee. Paths use \. Use $env:TEMP instead of /tmp.
  • Start small. Your first spawn should be a single ephemeral squad with a trivial mission. Get comfortable with the workflow before attempting parallel fan-out.

Confidence

medium — Pattern validated through e2e-template-testing skill (PR #1022 in bradygaster/squad) and design conversations with production teams. The core workflow (create workspace → init squad → run sessions → verify → report) is proven. Advanced patterns (parallel fan-out, recursive spawning, long-lived squads) need more field validation.

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

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

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

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

Create, run, and manage child squads for specific missions. Enables an HQ coordinator to fan out work to purpose-built teams.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Προβολή όλων

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

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