tasks

tasks is a command for Claude Code from fatihkan/badi. It costs 0 tokens per session (770 once invoked), scanned A, original, MIT.

A task-planning and execution command that turns a plan or specification into an ordered task list with dependencies. Independent tasks can run at the same time, while dependent tasks wait for the work they need.

In plain words
What is it for?
Use it to create a tasks.md file, split a feature into concrete tasks, map affected files, and execute independent implementation steps concurrently.
Why use it?
It prevents complex work from being done in the wrong order and makes safe parallel work explicit instead of handling every step sequentially.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

Part of the badi plugin — 81 skills, 86 commands, 30 agents, 7 hooks shipped together

Good fit Use it to create a tasks.md file, split a feature into concrete tasks, map affected files, and execute independent implementation steps concurrently.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/fatihkan/badi/tasks
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.

Clone the repo
git clone --depth 1 https://github.com/fatihkan/badi

Made for: Claude Code.

Or install badi, the plugin that ships this one along with the rest of its 81 skills, 86 commands, 30 agents, 7 hooks.

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 tasks

README.md
[![agentmods](https://agentmods.dev/badge/commands/fatihkan/badi/tasks.svg)](https://agentmods.dev/commands/fatihkan/badi/tasks)
Your own site
<a href="https://agentmods.dev/commands/fatihkan/badi/tasks"><img src="https://agentmods.dev/badge/commands/fatihkan/badi/tasks.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 770 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.00000 $0.00770
Opus 5 $0.00000 $0.00385
Sonnet 5 $0.00000 $0.00154
Haiku 4.5 $0.00000 $0.00077

Measured today against content hash 4de88cce9483, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

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.

.claude/commands/tasks.md · 64 lines

How it starts

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

Dependency-aware task sequencing command. Turns a plan or spec into an ordered, parallel-executable tasks.md — then runs it, fanning out independent ([P]) tasks concurrently and respecting dependencies. The execution layer between /eng-review (the plan) and the actual work.

Required Tools

  • Read (the plan/spec, affected files)
  • Grep / Glob (map files each task touches, to decide what is parallel-safe)
  • Write (the tasks.md artifact)
  • Workflow / Agent (execute [P] tasks concurrently; sequential ones in order)

When to Use

After a plan exists (/eng-review, a spec, or a clear goal) and the work splits into many concrete steps. Use /tasks to make the dependency structure explicit and to actually parallelize the independent parts instead of doing everything sequentially. Not for a single-step change — that's just doing it.

Task Format (the artifact)

Write tasks.md (or .claude/workspace/tasks-<feature>.md) with one line per task:

- [ ] T001 [P] Create the data model in src/models/user.js
- [ ] T002 [P] Add the config schema in src/config/schema.js
- [ ] T003 Wire the service in src/services/user.js   (depends on T001)

Rules:

  • T001, T002, … — sequential ids in execution order.
  • [P] — parallel-safe: touches different files and has no dependency on an incomplete task. Tasks WITHOUT [P] run sequentially (they share a file or depend on an earlier task).
  • Explicit file path in every task — it's how you decide what is parallel-safe (two [P] tasks must not write the same file).
  • Phases when useful: Setup → Foundational (blocking) → per-feature → Polish.

Procedure

Step 1: Derive the task list

  • Read the plan/spec. Break it into the smallest independently-verifiable tasks.
  • For each task, name the exact file(s) it creates/edits and its dependencies.

Step 2: Mark parallelism

  • Tag a task [P] only if it touches files no other in-flight task touches AND all its dependencies are already complete. When unsure, leave [P] off (sequential is the safe default).

Read the full file on GitHub · 64 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 · 64 lines · 0 tokens per session scan A 4de88cce9483

Subscribe to this mod's changes

tasks is a command published in the GitHub repository fatihkan/badi (7 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 770 tokens. 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-06.