From lg13-skills
Team terminator — multiple instances collaborate on shared goal list. Director dispatches, workers execute, sync via ping-pong. Triggers: 'avengers', 'assemble', 'team execute', 'svolat tym', 'team goals', 'multi-instance'
How this skill is triggered — by the user, by Claude, or both
Slash command
/lg13-skills:avengersThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Team-version terminator. Víc instancí pracuje na **sdíleném goal listu** paralelně.
Team-version terminator. Víc instancí pracuje na sdíleném goal listu paralelně.
Strat = director (parsuje goals, rozkládá, dispatchuje). Coder + Legal = workers (berou task, vykonávají, reportují zpět).
Koordinace: ping-pong JSON protokol + instance_queue.py.
Strat vidí celkový obraz, Tom vidí progress na issue.
gh issue view <NUMBER> --repo <OWNER/REPO> --json body,title,number
# Každý goal rozlož na atomic tasks s rolí
tasks = [
{"id": "T001", "goal": goal_text, "role": "coder", "description": "..."},
{"id": "T002", "goal": goal_text, "role": "legal", "description": "..."},
{"id": "T003", "goal": goal_text, "role": "strat", "description": "..."},
]
# Ulož do shared file
Path("L:/LG13/runtime/ops/avengers_tasks.json").write_text(json.dumps(tasks, indent=2))
# Pro každý task → ping příslušné instanci
for task in tasks:
send_ping(
to=task["role"],
subject=f"[AVENGERS] T{task['id']}: {task['description'][:60]}",
body=f"## Task {task['id']}\n\n{task['description']}\n\n**Goal:** {task['goal']}\n\n**Expected output:** ...",
round=f"AV-{task['id']}",
priority="P1"
)
# Čekej na pong (ACK) od workerů
# Při každém ACK: mark task done v avengers_tasks.json
# Při blocker: time-limited question do issue (jako terminator)
gh issue comment <NUMBER> --body "## 🦸 [AVENGERS] Progress update
| Task | Role | Status |
|------|------|--------|
| T001 | coder | ✅ done |
| T002 | legal | 🔄 in-progress |
**Director:** strat | **Active workers:** coder, legal"
ls -t L:/LG13/runtime/ops/ping_pong/strat_to_<me>_*.json | head -3
Rozeznej [AVENGERS] prefix v subject.
python L:/LG13/app/agent/instance_queue.py --claim-next --name <instance>
Proveď task popsaný v ping body. Použij tools/subagents dle potřeby.
send_pong(
to="strat",
in_reply_to="<incoming_ping_file>",
subject=f"[AVENGERS] T{task_id}: DONE — {short_result}",
body=f"## Result\n\n{result_detail}\n\n## PLAN STATUS\n\n- [x] T{task_id} done",
round=f"AV-{task_id}"
)
director → dispatch ping (P1) → worker Monitor detects
worker → claim → in-progress → execute
worker → pong ACK to director
director → mark done → aggregate report
STOP AVENGERS v issue nebo Slack[AVENGERS] prefix v subject → snadné filtrováníavengers_tasks.json = source of truth pro stavterminator — single-instance verze (director + worker v jednom)ping-pong — komunikační protokolteam-launcher — spuštění více instancí najednouheartbeat — workers posílají heartbeat directoruL:/LG13/app/agent/instance_queue.py — existující queue infranpx claudepluginhub lg13-21/lg13-skills --plugin lg13-skillsCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.