task-creator

A project interface for creating and updating task folders, with task details stored in readable Markdown files. It also keeps a rebuildable SQLite index for finding tasks and assigning numbers.

In plain words
What is it for?
Use it to create tasks, rename them, change their status, look them up, and synchronize the task index.
Why use it?
It prevents task metadata from being edited inconsistently or task numbers from being lost when the index needs repair. The task files remain the authoritative record.

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/rdudov/task-agent/task-creator
Any agent
npx skills add rdudov/task-agent --skill task-creator
Clone the repo
git clone --depth 1 https://github.com/rdudov/task-agent

Made for: Claude Code, Codex.

Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,804 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00109 $0.04804
Opus 5 $0.00055 $0.02402
Sonnet 5 $0.00022 $0.00961
Haiku 4.5 $0.00011 $0.00480

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

Security

Grade B, and why

task-creator scanned grade B with 1 finding 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 yesterday.

The scan reads SKILL.md. This mod also ships 12 executable files (scripts/__init__.py, scripts/create_task.sh, scripts/python_runtime.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

write access to `.state/`. Both bot services and CLI sessions run as root, so
skills/task-creator/SKILL.md · 419 lines

How it starts

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

Task Creator

This project stores every task as a dedicated artifact directory under tasks/.

There are two stores, and only one of them is authoritative:

tasks/<slug>/task.md frontmatter   source of truth (durable, human-readable, greppable)
        ^ every write goes here first        | discover_and_sync (lazy, on every command)
.state/tasks-index.db  tasks       one table, fully rebuildable from tasks/

scripts/tasks_index.py owns both. It is the one callable creation interface: do not hand-assemble a task.md, and do not hand-edit the frontmatter when a command exists for the field. Reading the index directly is fine; writing to it is not.

The Database Is Rebuildable, All Of It

Delete .state/tasks-index.db and the next command builds it again from tasks/ — including the next task number, which is MAX(id) + 1 over the table after it has been synced. A corrupt database is repaired by removing it. Nothing here is the record of anything.

This replaced a design that split the same file in half: a disposable lookup table beside an id_allocation ledger that was the allocator of record, never re-derived from disk, with no repair path. Losing .state/ while tasks/ survived left task creation broken with no way back. Do not reintroduce a durable allocator under another name.

One Discovery, Shared By Everything

discover_and_sync is the only thing that reads the task tree, and query, add, reindex, write-command argument resolution and check all call it. It lists the immediate directories of tasks/ — never their payloads — compares each task.md against a stored mtime_ns+size fingerprint, and parses YAML only for what is new or changed.

Do not implement discovery a second time. add runs it inside the BEGIN IMMEDIATE that computes the number, so a directory the table has not yet seen still owns its number. An add that allocated from an unsynced table would reissue a number that already exists on disk.

A task's id comes from its frontmatter and never from the directory name. A directory with no usable number is indexed with a null id: visible in listings, absent from MAX(id), reported by check. The prefix and the id: must agree exactly, and a directory that has a usable id must carry it in its name: a name with no numeric prefix (tasks/archive/) or a date-shaped one (2026-05-26-…) blocks allocation exactly as a mismatched prefix does. Both used to pass — tasks/archive/task.md claiming id: 90000 moved the next number to 90001, and a date whose year equalled the id satisfied the prefix comparison while still being a date.

Read the full file on GitHub · 419 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. yesterday First seen · 419 lines · 109 tokens per session scan B 0a9fc340d2bb

Subscribe to this mod's changes

task-creator is a skill published in the GitHub repository rdudov/task-agent (4 stars, last pushed 2d ago), licensed MIT. It adds 109 tokens to every session and 4,804 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens