task-graph-basics

task-graph-basics is a skill for Claude Code, Codex from Oortonaut/task-graph-mcp. It costs 33 tokens per session (3,962 once invoked), scanned A, original, Apache-2.0.

A foundation guide for connecting workers and coordinating tasks with task-graph-mcp, a system for managing work across multiple agents.

In plain words
What is it for?
Use it to connect as a worker, find available tasks, claim work, report progress, and mark tasks complete.
Why use it?
It gives agents the shared connection, task-claiming, status, and coordination rules needed to work together.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to connect as a worker, find available tasks, claim work, report progress, and mark tasks complete.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oortonaut/task-graph-mcp/task-graph-basics
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Oortonaut/task-graph-mcp --skill task-graph-basics
Clone the repo
git clone --depth 1 https://github.com/Oortonaut/task-graph-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for task-graph-basics

README.md
[![agentmods](https://agentmods.dev/badge/skills/oortonaut/task-graph-mcp/task-graph-basics/github.svg)](https://agentmods.dev/skills/oortonaut/task-graph-mcp/task-graph-basics)
Your own site
<a href="https://agentmods.dev/skills/oortonaut/task-graph-mcp/task-graph-basics"><img src="https://agentmods.dev/badge/skills/oortonaut/task-graph-mcp/task-graph-basics/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for task-graph-basics

Your own site · 80×15
<a href="https://agentmods.dev/skills/oortonaut/task-graph-mcp/task-graph-basics"><img src="https://agentmods.dev/badge/skills/oortonaut/task-graph-mcp/task-graph-basics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,962 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.03962
Opus 5.5 $0.00013 $0.01585
Sonnet 5.5 $0.00007 $0.00792
Haiku 4.5 $0.00003 $0.00396

Measured 2mo ago against content hash ec63009bf11c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

task-graph-basics scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

config/skills/task-graph-basics/SKILL.md · 510 lines

How it starts

The opening of the file, as written. The whole thing — 510 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Task Graph Basics

Foundation skill providing shared patterns, tool reference, and connection workflow for task-graph-mcp.

This skill is automatically referenced by all other task-graph skills.

Coordination patterns (roles, phases, states, gates) are defined by workflow configs (workflow-solo.yaml, workflow-hierarchical.yaml, etc.) loaded at connect time. This skill covers the tools and patterns that are common across all workflows.


Quick Start

# First thing in any session - connect as a worker
connect(tags=["code", "image-in"])
  Returns worker_id (SAVE THIS for all subsequent calls)

# Find work
list_tasks(ready=true, worker_id=worker_id)

# Claim and work
claim(worker_id=worker_id, task=task_id)
thinking(worker_id=worker_id, thought="Working on X...")
update(worker_id=worker_id, task=task_id, state="completed")

Connection Workflow

Every worker MUST connect before using task-graph tools:

1. CONNECT
   connect(
     worker_id="worker-17",   # Only if assigned!
     tags=["code", "audio-out"], # Capabilities
   )
    Returns: worker_id
    SAVE THIS ID for all subsequent calls

2. WORK (use worker_id in all calls)
   list_tasks, claim, thinking, update, etc.

3. DISCONNECT (when done)
   disconnect(worker_id=worker_id)
    Releases all claims and locks

Choosing a worker_id:

  • Only provide a worker_id if you've been assigned one that seems unique
  • "claude" -> BAD (too generic, will collide)
  • "coordinator" -> Likely OK (role-based, probably unique)
  • "worker-17" -> Good (explicitly assigned)
  • If you don't have an assigned name, omit worker_id entirely -- a unique petname will be generated for you automatically

Tags enable task affinity:

  • agent_tags_all on tasks: Worker must have ALL (AND logic)
  • agent_tags_any on tasks: Worker must have AT LEAST ONE (OR logic)

CLI Agent Delegation

When running as a coordinator (MCP agent), you can spawn background CLI agents for parallel work. CLI agents use task-graph-mcp agent subcommands instead of MCP tool calls.

Read the full file on GitHub · 510 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 510 lines · 33 tokens per session scan A ec63009bf11c

Subscribe to this mod's changes

task-graph-basics is a skill published in the GitHub repository Oortonaut/task-graph-mcp (2 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 33 tokens to every session and 3,962 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.