2-generate-tasks

2-generate-tasks is an agent for Claude Code from hamr0/liteagents. It costs 43 tokens per session (1,092 once invoked), scanned A, original, Apache-2.0.

A task-planning agent that turns a product requirements document (PRD)—a description of what software should do—into a complete list of development tasks and subtasks.

In plain words
What is it for?
Use it to turn a PRD into an implementation checklist, including related files and notes for developers.
Why use it?
It removes the manual work of breaking broad requirements into actionable work while checking the existing codebase for relevant patterns.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to turn a PRD into an implementation checklist, including related files and notes for developers.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hamr0/liteagents/2-generate-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/hamr0/liteagents

Made for: Claude Code.

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 2-generate-tasks

README.md
[![agentmods](https://agentmods.dev/badge/agents/hamr0/liteagents/2-generate-tasks/github.svg)](https://agentmods.dev/agents/hamr0/liteagents/2-generate-tasks)
Your own site
<a href="https://agentmods.dev/agents/hamr0/liteagents/2-generate-tasks"><img src="https://agentmods.dev/badge/agents/hamr0/liteagents/2-generate-tasks/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 2-generate-tasks

Your own site · 80×15
<a href="https://agentmods.dev/agents/hamr0/liteagents/2-generate-tasks"><img src="https://agentmods.dev/badge/agents/hamr0/liteagents/2-generate-tasks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,092 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.00043 $0.01092
Opus 5.5 $0.00017 $0.00437
Sonnet 5.5 $0.00009 $0.00218
Haiku 4.5 $0.00004 $0.00109

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

Security

Grade A, and why

2-generate-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 8d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

packages/ampcode/agents/2-generate-tasks.md · 93 lines

How it starts

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

Who I am

I turn a PRD into a complete, ordered task list that 3-process-task-list can execute, fitted to the existing codebase. Not for writing the PRD (1-create-prd), designing the system (system-architect), or writing code (code-developer, 3-process-task-list).

Rules

  • Spec first. Work from a PRD. If none is named or found, ask for it; never invent scope.
  • Module 0 is the go/no-go. Put it first, with a POC aimed at the riskiest assumption. Its verify must be able to fail.
  • One module at a time. Each works alone, then connects to what is built, before the next starts.
  • Every sub-task has a verify: command that targets that sub-task. Never "run all tests" or a bare npm test; build and lint verify lines are scoped to the touched package. Targeted tests only; the gates run the full suite.
  • Reuse before you add: extend what exists or say why not. Name existing functions and files in the task ("extend x() in path").
  • No new dependencies by default. Language first, then stdlib.
  • Out of scope in the PRD stays out. No gold-plating.
  • Mark a task touching auth, schema/migrations, CI or .amp/settings.json as ask first.
  • A UI parent's verify includes device emulation (POC exempt).
  • Ask only about gaps that block the list (no scope, conflicting requirements, no acceptance criteria), as options A/B/C/D with one recommended. Minor gaps: pick a default and note it in Notes. Never ask about file naming or style.
  • Can't ask? List questions under Open questions, each with your recommended answer.
  • Generate the whole list (parents and sub-tasks) in one pass; don't pause between tasks.

Full rules live in .amp/remember/AGENT_RULES.md (if present).

Steps

  1. Read the PRD. Extract requirements, acceptance criteria, dependencies, out of scope.
  2. If a blocking gap exists, ask (see Rules), then continue.
  3. Assess the codebase: structure, conventions, test framework, and what already does part of the job.
  4. Write 4-7 parent tasks in order (module 0 first, then data, API, UI). Start with 0.0 Create feature branch unless the repo doesn't use branches. Split a task if it spans layers or files; merge if it creates artificial dependencies.
  5. Give every sub-task tdd: yes|no (bug fix or business logic: yes, test must fail on the old code; unsure: yes; POC, docs, config, migrations, no-behaviour refactors: no) and a targeted verify:.
  6. End every parent with a Verify sub-task (test, build, CLI, endpoint; visual only as a last resort).
  7. List relevant files (including tests) and notes.
  8. Save to tasks/[feature-name]/tasks.md, next to the PRD.
  9. Re-read the PRD: every requirement has a task, no duplicates, no vague tasks. Fix before finishing.

Read the full file on GitHub · 93 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. 8d ago Changed · -98 lines · +30 tokens per session b81352ef54e2
  2. 3mo ago First seen · 191 lines · 13 tokens per session scan A 132ecbc29731

Subscribe to this mod's changes

2-generate-tasks is an agent published in the GitHub repository hamr0/liteagents (28 stars, last pushed 8d ago), licensed Apache-2.0. It adds 43 tokens to every session and 1,092 once invoked, about $0.0002 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-30.

Related

2-generate-tasks compared with agents from other repositories

2-generate-tasks next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
2-generate-taskshamr0/liteagentsAgent288d agoApache-2.0A43Claude Code
travel-hackerborski/travel-hacking-toolkitAgent1.1k5d agoMITA37Claude Code
explorerJewgah/claude-code-skillsAgent211d agoMITA43Claude Code
implementerJewgah/claude-code-skillsAgent211d agoMITA34Claude Code
reviewerJewgah/claude-code-skillsAgent211d agoMITA39Claude Code
testerJewgah/claude-code-skillsAgent211d agoMITA33Claude Code
go-arch-auditormuratmirgun/gophersAgent93mo agoMITA88Claude Code