tm-main

A collection of commands for managing software tasks with Task Master inside Claude Code. It covers setup, AI model settings, turning product requirements into tasks, and viewing or filtering those tasks.

In plain words
What is it for?
Use it to initialise a project, configure models, generate tasks from a PRD, create subtasks, and list or filter work by status.
Why use it?
It provides one command structure for moving from a requirements document to an organised task list and daily task management.

Command for Claude Code

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 commands/wyre-ai/autotask-mcp/tm-main
Clone the repo
git clone --depth 1 https://github.com/WYRE-AI/autotask-mcp

Made for: Claude Code.

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 1,031 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.00000 $0.01031
Opus 5 $0.00000 $0.00515
Sonnet 5 $0.00000 $0.00206
Haiku 4.5 $0.00000 $0.00103

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

Security

Grade A, and why

tm-main 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 yesterday.

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

7 near-identical copies found in the catalogue:

  • tm-main — 100% identical, 32 lines differ
  • tm-main — 100% identical, 0 lines differ
  • tm-main — 100% identical, 0 lines differ
  • tm-main — 100% identical, 0 lines differ
  • tm-main — 100% identical, 0 lines differ
  • tm-main — 100% identical, 32 lines differ
  • tm-main — 86% identical, 65 lines differ
.claude/commands/tm/tm-main.md · 146 lines

How it starts

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

Task Master Command Reference

Comprehensive command structure for Task Master integration with Claude Code.

Command Organization

Commands are organized hierarchically to match Task Master's CLI structure while providing enhanced Claude Code integration.

Project Setup & Configuration

/project:tm/init

  • init-project - Initialize new project (handles PRD files intelligently)
  • init-project-quick - Quick setup with auto-confirmation (-y flag)

/project:tm/models

  • view-models - View current AI model configuration
  • setup-models - Interactive model configuration
  • set-main - Set primary generation model
  • set-research - Set research model
  • set-fallback - Set fallback model

Task Generation

/project:tm/parse-prd

  • parse-prd - Generate tasks from PRD document
  • parse-prd-with-research - Enhanced parsing with research mode

/project:tm/generate

  • generate-tasks - Create individual task files from tasks.json

Task Management

/project:tm/list

  • list-tasks - Smart listing with natural language filters
  • list-tasks-with-subtasks - Include subtasks in hierarchical view
  • list-tasks-by-status - Filter by specific status

/project:tm/set-status

  • to-pending - Reset task to pending
  • to-in-progress - Start working on task
  • to-done - Mark task complete
  • to-review - Submit for review
  • to-deferred - Defer task
  • to-cancelled - Cancel task

/project:tm/sync-readme

  • sync-readme - Export tasks to README.md with formatting

/project:tm/update

  • update-task - Update tasks with natural language
  • update-tasks-from-id - Update multiple tasks from a starting point
  • update-single-task - Update specific task

/project:tm/add-task

  • add-task - Add new task with AI assistance

/project:tm/remove-task

  • remove-task - Remove task with confirmation

Subtask Management

/project:tm/add-subtask

  • add-subtask - Add new subtask to parent
  • convert-task-to-subtask - Convert existing task to subtask

Read the full file on GitHub · 146 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 · 146 lines · 0 tokens per session scan A 9bd93d9a7d1b

Subscribe to this mod's changes

tm-main is a command published in the GitHub repository WYRE-AI/autotask-mcp (49 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,031 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-08-30.