Logo van Team Tasks

Team Tasks

Community
win4r
team-tasks

Coordinate multi-agent development pipelines using shared JSON task files. Use when dispatching work across dev team agents (code-agent, test-agent, docs-agent, monitor-bot), tracking pipeline progress, or running sequential/parallel workflows. Covers project init, task assignment, status tracking, agent dispatch via sessions_send, and result collection. Supports two modes: linear (sequential pipeline) and dag (dependency graph with parallel execution).

Add to TypingMind

Overzicht

Uitgeverwin4r
Repositoryteam-tasks
Skillnaamteam-tasks
Sterren
446
Forks
81
Meegeleverde bestanden
7
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 7

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door win4r op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Team Tasks in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/win4r/team-tasks/tree/master
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/win4r/team-tasks.git \
  .claude/skills/team-tasks
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Team Tasks in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Team Tasks automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Team Tasks niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Team Tasks — Multi-Agent Pipeline Coordination

Overview

Coordinate dev team agents through shared JSON task files + AGI dispatch. AGI is the command center — agents never talk to each other directly.

Two modes:

  • Mode A (linear): Fixed pipeline order code → test → docs → monitor
  • Mode B (dag): Tasks declare dependencies, parallel dispatch when deps are met

Task Manager CLI

All commands use: python3 <skill-dir>/scripts/task_manager.py <command> [args]

Where <skill-dir> is the directory containing this SKILL.md.

Quick Reference

CommandModeUsageDescription
initbothinit <project> -g "goal" [-m linear|dag]Create project
adddagadd <project> <task-id> -a <agent> -d <deps>Add task with deps
statusbothstatus <project> [--json]Show progress
assignbothassign <project> <task> "desc"Set task description
updatebothupdate <project> <task> <status>Change status
nextlinearnext <project> [--json]Get next stage
readydagready <project> [--json]Get all dispatchable tasks
graphdaggraph <project>Show dependency tree
logbothlog <project> <task> "msg"Add log entry
resultbothresult <project> <task> "output"Save output
resetbothreset <project> [task] [--all]Reset to pending
listbothlistList all projects

Status Values

  • pending — waiting for dispatch
  • in-progress — agent is working
  • done — stage completed
  • failed — stage failed (pipeline blocks)
  • skipped — intentionally skipped

Pipeline Workflow (Mode A: Linear)

Step 1: Initialize Project

bash
python3 scripts/task_manager.py init my-project \
  -g "Build a REST API with tests and docs" \
  -p "code-agent,test-agent,docs-agent,monitor-bot"

Default pipeline order: code-agent → test-agent → docs-agent → monitor-bot

Step 2: Assign Tasks to All Stages

bash
python3 scripts/task_manager.py assign my-project code-agent "Implement REST API with Flask: GET/POST/DELETE /items"
python3 scripts/task_manager.py assign my-project test-agent "Write pytest tests for all endpoints, target 90%+ coverage"
python3 scripts/task_manager.py assign my-project docs-agent "Write README.md with API docs, setup guide, examples"
python3 scripts/task_manager.py assign my-project monitor-bot "Verify code quality, check for security issues, validate deployment readiness"

Step 3: Dispatch Agents Sequentially

For each stage, AGI follows this loop:

1. Check next stage:   task_manager.py next <project> --json
2. Mark in-progress:   task_manager.py update <project> <agent> in-progress
3. Dispatch agent:     sessions_send(sessionKey="agent:<agent>:telegram:group:<id>", message=<task>)
4. Wait for reply      (sessions_send returns the agent's response)
5. Save result:        task_manager.py result <project> <agent> "<summary>"
6. Mark done:          task_manager.py update <project> <agent> done
7. Repeat from 1       (currentStage auto-advances)

Step 4: Handle Failures

If an agent fails:

bash
python3 scripts/task_manager.py update my-project code-agent failed
python3 scripts/task_manager.py log my-project code-agent "Failed: syntax error in main.py"

To retry:

bash
python3 scripts/task_manager.py reset my-project code-agent
python3 scripts/task_manager.py update my-project code-agent in-progress
# Re-dispatch...

Step 5: Check Progress Anytime

bash
python3 scripts/task_manager.py status my-project

Output:

📋 Project: my-project
🎯 Goal: Build a REST API with tests and docs
📊 Status: active
▶️  Current: test-agent

  ✅ code-agent: done
     Task: Implement REST API with Flask
     Output: Created /home/ubuntu/projects/my-project/app.py
  🔄 test-agent: in-progress
     Task: Write pytest tests for all endpoints
  ⬜ docs-agent: pending
  ⬜ monitor-bot: pending

  Progress: [██░░] 2/4

Agent Dispatch Details

Session Keys (Dev Team)

AgentSession Key
code-agentagent:code-agent:telegram:group:-5189558203
test-agentagent:test-agent:telegram:group:-5218382533
docs-agentagent:docs-agent:telegram:group:-5253138320
monitor-botagent:monitor-bot:telegram:group:-5193935559

Dispatch Template

When dispatching to an agent, include:

  1. Project context — what the project is about
  2. Specific task — what this agent should do
  3. Working directory — where to create/find files
  4. Previous stage output — if relevant (e.g., test-agent needs to know what code-agent built)

Example dispatch message:

Project: my-project
Goal: Build a REST API with tests and docs
Your task: Write pytest tests for all endpoints in /home/ubuntu/projects/my-project/app.py
Target: 90%+ coverage, test GET/POST/DELETE /items
Working directory: /home/ubuntu/projects/my-project/
Previous stage (code-agent) output: Created app.py with Flask REST API, 3 endpoints

Delivery Context Fix

⚠️ If an agent's session was first created via sessions_send, its deliveryContext is webchat, not telegram. Agent replies won't appear in the Telegram group.

Workaround: After getting the agent's reply via sessions_send, use the message tool to relay key results to the group:

message(action="send", channel="telegram", target="-5189558203", message="✅ code-agent 完成: Created app.py")

Mode B: DAG Workflow (Parallel Dependencies)

Step 1: Initialize DAG Project

bash
python3 scripts/task_manager.py init my-project -m dag -g "Build REST API with parallel workstreams"

Step 2: Add Tasks with Dependencies

bash
TM="python3 scripts/task_manager.py"
# Root tasks (no deps — can run in parallel)
$TM add my-project design     -a docs-agent  --desc "Write API spec"
$TM add my-project scaffold   -a code-agent  --desc "Create project skeleton"

# Tasks with dependencies (blocked until deps are done)
$TM add my-project implement  -a code-agent  -d "design,scaffold" --desc "Implement API"
$TM add my-project write-tests -a test-agent -d "design"          --desc "Write test cases from spec"

# Fan-in: depends on multiple tasks
$TM add my-project run-tests  -a test-agent  -d "implement,write-tests" --desc "Run all tests"
$TM add my-project write-docs -a docs-agent  -d "implement"             --desc "Write final docs"

# Final gate
$TM add my-project review     -a monitor-bot -d "run-tests,write-docs"  --desc "Final review"

Step 3: View DAG Graph

bash
$TM graph my-project
├─ ⬜ design [docs-agent]
│  ├─ ⬜ implement [code-agent]
│  │  ├─ ⬜ run-tests [test-agent]
│  │  │  └─ ⬜ review [monitor-bot]
│  │  └─ ⬜ write-docs [docs-agent]
│  └─ ⬜ write-tests [test-agent]
└─ ⬜ scaffold [code-agent]
   └─ ⬜ implement (↑ see above)

Step 4: Dispatch Ready Tasks

bash
$TM ready my-project    # Shows all tasks whose deps are met

For each ready task, AGI follows this loop:

1. Get ready tasks:     task_manager.py ready <project> --json
2. For each ready task (can dispatch in parallel):
   a. Mark in-progress: task_manager.py update <project> <task> in-progress
   b. Dispatch agent:   sessions_send(sessionKey=..., message=<task + dep outputs>)
3. When agent replies:
   a. Save result:      task_manager.py result <project> <task> "<summary>"
   b. Mark done:        task_manager.py update <project> <task> done
   c. Check newly unblocked tasks (printed automatically)
4. Repeat until all done

Key DAG Features

  • Parallel dispatch: ready returns ALL tasks whose deps are satisfied — dispatch them simultaneously
  • Dep outputs forwarding: ready --json includes depOutputs — previous stage results to pass to agents
  • Auto-unblock notification: When a task completes, shows which tasks are newly unblocked
  • Cycle detection: add rejects tasks that would create circular dependencies
  • Partial failure: If one task fails, unrelated branches continue; only downstream tasks block
  • Graph visualization: graph shows tree view with status icons and dedup markers

Custom Pipelines

Linear (Mode A)

bash
# Code + test only
python3 scripts/task_manager.py init quick-fix -g "Hotfix" -p "code-agent,test-agent"

# Docs first, then code
python3 scripts/task_manager.py init spec-driven -g "Spec-driven dev" -p "docs-agent,code-agent,test-agent"

DAG (Mode B)

bash
# Diamond pattern: 2 parallel branches merge for review
$TM init diamond -m dag -g "Parallel dev"
$TM add diamond code -a code-agent --desc "Write code"
$TM add diamond test -a test-agent --desc "Write tests"
$TM add diamond integrate -a code-agent -d "code,test" --desc "Integration"
$TM add diamond review -a monitor-bot -d "integrate" --desc "Final review"

Choosing Between Modes

Mode A (linear)Mode B (dag)
WhenSequential tasks, simple flowsParallel workstreams, complex deps
DispatchOne at a time, auto-advanceMultiple simultaneous, dep-driven
Setupinit -p agents (one command)init -m dag + add per task
Best forBug fixes, simple featuresLarge features, spec-driven dev

Data Location

Task files: /home/ubuntu/clawd/data/team-tasks/<project>.json

⚠️ Common Pitfalls

Mode A: Stage ID is agent name, NOT a number

In linear mode, the stage ID is the agent name (e.g., code-agent), not a numeric index like 1, 2, 3.

bash
# ❌ WRONG — will error "stage '1' not found"
python3 scripts/task_manager.py assign my-project 1 "Build API"
python3 scripts/task_manager.py update my-project 1 done

# ✅ CORRECT — use agent name as stage ID
python3 scripts/task_manager.py assign my-project code-agent "Build API"
python3 scripts/task_manager.py update my-project code-agent done
python3 scripts/task_manager.py result my-project code-agent "Created main.py"

This applies to all stage-referencing commands: assign, update, result, log, reset.

The pipeline order is defined by -p at init time (e.g., -p "code-agent,test-agent,docs-agent"), and next automatically advances through them in order — but you always reference stages by agent name.

Tips

  • One project per task — keep scope focused; create multiple projects for parallel work
  • Meaningful project slugs — rest-api-v2, bug-fix-auth, refactor-db (not project1)
  • Save results — always result before update done; this is the inter-agent context
  • Log liberally — log is cheap; helps debug failed pipelines
  • Reset and retry — reset --all for clean reruns; reset <stage> for targeted retry
  • DAG fan-out — one root task can unblock many parallel tasks
  • DAG fan-in — a task can depend on multiple predecessors (all must complete)

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Team Tasks?

Coordinate multi-agent development pipelines using shared JSON task files. Use when dispatching work across dev team agents (code-agent, test-agent, docs-agent, monitor-bot), tracking pipeline progress, or running sequential/parallel workflows. Covers project init, task assignment, status tracking, agent dispatch via sessions_send, and result collection. Supports two modes: linear (sequential pipeline) and dag (dependency graph with parallel execution).

Waarom Team Tasks gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Team Tasks bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Team Tasks in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/win4r/team-tasks/tree/master. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Team Tasks gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Team Tasks gebruiken?

Zoveel als je wilt. Je kunt Team Tasks gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Team Tasks gratis?

Deze skill is door win4r op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇