ap-tasks

ap-tasks is a skill for Claude Code, Codex from agentproto/ts. It costs 70 tokens per session (994 once invoked), scanned A, original, Apache-2.0.

A shared task board for dividing work among agents and tracking who owns each task. Tasks can include a verification command that must pass before they are marked done.

In plain words
What is it for?
Use it to create, claim, update, and hand off work items when several agents are working in parallel.
Why use it?
It prevents agents from duplicating work and makes completion checkable instead of relying only on an agent's report.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/agentproto/ts/ap-tasks
Any agent
npx skills add agentproto/ts --skill ap-tasks
Clone the repo
git clone --depth 1 https://github.com/agentproto/ts

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 ap-tasks

README.md
[![agentmods](https://agentmods.dev/badge/skills/agentproto/ts/ap-tasks.svg)](https://agentmods.dev/skills/agentproto/ts/ap-tasks)
Your own site
<a href="https://agentmods.dev/skills/agentproto/ts/ap-tasks"><img src="https://agentmods.dev/badge/skills/agentproto/ts/ap-tasks.svg" alt="Measured on agentmods" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 994 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00070 $0.00994
Opus 5 $0.00035 $0.00497
Sonnet 5 $0.00014 $0.00199
Haiku 4.5 $0.00007 $0.00099

Measured today against content hash 7eaba0187e46, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ap-tasks 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 today.

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.

packages/skill-pack-agentproto/src/skills/ap-tasks/SKILL.md · 71 lines

How it starts

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

ap-tasks

When to use

  • Several agents (or you + an agent) must share a list of work units without stepping on each other.
  • You want "done" to be provable, not self-reported.
  • You are handing a task to an unclaimed queue that any session on the board can pick up.

Create tasks

task_create({
  "title": "Migrate auth module to new API",
  "description": "Files under src/auth/. Keep test coverage. See plan.md section 3.",
  "owner": "self",
  "verify": { "command": "pnpm", "args": ["test", "auth"], "cwd": "/repo" }
})

title is required; description is for whoever claims it. Leave owner absent to make the task claimable — anyone on the board can pick it up. boardId defaults to your session's lineage board (tree:<root>) or the workspace board (ws:<slug>). The optional verify gate (a shell command, exit 0 = pass) makes done gated.

The claim cycle: read → claim → work → update

Every task carries a rev (revision number). task_claim is compare-and-swap: it succeeds only if the task is pending, has no owner, and the rev you pass matches what you last read.

// 1. List open tasks
task_list({ "boardId": "ws:studio" })

// 2. Claim before touching anything
task_claim({ "taskId": "task_7", "rev": 3 })
//    → ok, you own it, status flips to in_progress

// 3. Do the work, then close it
task_update({ "taskId": "task_7", "rev": 4, "status": "done", "note": "Migrated, 12 tests green" })

// 4. Dropping without finishing
task_update({ "taskId": "task_7", "rev": 5, "owner": null, "status": "pending" })

ALWAYS claim before working and update when done. Unclaimed work is invisible to the rest of the board; work you never close blocks everyone downstream.

Conflicts

On a lost race, task_claim returns { "conflict": true, "current": {...} } — someone moved first. Re-read current, then either pick a different task or retry the claim with the fresh rev. Never force: there is no override for a rev mismatch, and silently overwriting another agent's claim corrupts the board.

Read the full file on GitHub · 71 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. today First seen · 71 lines · 70 tokens per session scan A 7eaba0187e46

Subscribe to this mod's changes

ap-tasks is a skill published in the GitHub repository agentproto/ts (5 stars, last pushed today), licensed Apache-2.0. It adds 70 tokens to every session and 994 once invoked, about $0.0003 per session on Opus 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-09-04.

Related

Other skills, from other repositories

github-triage

Triage GitHub issues through a label-based state machine with interactive grilling sessions. Use when user wants to triage issues, review incoming bugs or feature requests, prepare issues for an AFK agent, or manage issue workflow.

sammcj/agentic-coding · 50 tokens

backlog

Capture single backlog items, or list and triage an existing project backlog. Use this skill whenever the user wants to file a bug, feature request, or backlog item without writing a full PRD, including casual requests mid-conversation like "create an issue for that", "add this to the backlog", or "file a quick bug…

sammcj/agentic-coding · 182 tokens

reframe-voice

Write, rewrite, or review content in the evidence-led reframe voice style. Use when the user explicitly asks to write in "reframe voice" or "reframe style". Do NOT use for general writing tasks.

sammcj/agentic-coding · 49 tokens

to-tickets

Break a plan, spec, or the current conversation into independently-grabbable tickets on the project issue tracker using tracer-bullet vertical slices, each declaring the tickets that block it. Use when user wants to convert a plan or spec into tickets, create implementation tickets, or break down work into issues.

sammcj/agentic-coding · 64 tokens

to-spec

Turn the current conversation context into a spec and submit it as a GitHub issue. Use when user wants to create a spec or PRD from the current context.

sammcj/agentic-coding · 36 tokens

goal-flight

Portable Goal Flight workflow for long-running repo work: planning, dispatch, review, recovery, file-backed resume.

simonrowland/goal-flight · 25 tokens