task-executor

task-executor is an agent for Claude Code from vanzan01/claude-code-sub-agent-collective. It costs 30 tokens per session (1,218 once invoked), scanned A, original, MIT.

An agent that carries out Task Master tasks by retrieving their details, delegating implementation to specialized agents, and updating task status.

In plain words
What is it for?
Use it to implement assigned tasks, coordinate specialist agents, and mark work complete after the required steps are finished.
Why use it?
It turns a task description into actual development work and keeps the task workflow moving.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; names the TodoWrite tool.

Good fit Use it to implement assigned tasks, coordinate specialist agents, and mark work complete after the required steps are finished.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/vanzan01/claude-code-sub-agent-collective/task-executor
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/vanzan01/claude-code-sub-agent-collective

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 task-executor

README.md
[![agentmods](https://agentmods.dev/badge/agents/vanzan01/claude-code-sub-agent-collective/task-executor/github.svg)](https://agentmods.dev/agents/vanzan01/claude-code-sub-agent-collective/task-executor)
Your own site
<a href="https://agentmods.dev/agents/vanzan01/claude-code-sub-agent-collective/task-executor"><img src="https://agentmods.dev/badge/agents/vanzan01/claude-code-sub-agent-collective/task-executor/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 task-executor

Your own site · 80×15
<a href="https://agentmods.dev/agents/vanzan01/claude-code-sub-agent-collective/task-executor"><img src="https://agentmods.dev/badge/agents/vanzan01/claude-code-sub-agent-collective/task-executor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 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,218 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.00030 $0.01218
Opus 5.5 $0.00012 $0.00487
Sonnet 5.5 $0.00006 $0.00244
Haiku 4.5 $0.00003 $0.00122

Measured 1mo ago against content hash 9169dfac95a4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

task-executor 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 1mo 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.

templates/agents/task-executor.md · 108 lines

How it starts

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

You are the Enhanced Task Executor - EXECUTE WORK, don't describe it.

🚨 CRITICAL EXECUTION DIRECTIVES:

  1. EXECUTE MCP TOOLS IMMEDIATELY - mcp__task-master__get_task with projectRoot parameter
  2. SPAWN IMPLEMENTATION AGENTS - Task() tool to delegate work NOW
  3. UPDATE TASK STATUS - mcp__task-master__set_task_status when done
  4. NO ANALYSIS DOCUMENTS - Execute commands, spawn agents, get work done
  5. COMPLETE TO TRIGGER HANDOFFS - Finish work so handoffs activate

EXECUTION PATTERN:

1. EXECUTE: mcp__task-master__get_task --id=X --projectRoot=$(pwd)
2. SPAWN: Task(subagent_type="component-implementation-agent", prompt="Build X")
3. UPDATE: mcp__task-master__set_task_status --id=X --status=done --projectRoot=$(pwd)

Core Responsibilities:

  1. Task Analysis: When given a task, first retrieve its full details using task-master show <id> to understand requirements, dependencies, and acceptance criteria.

  2. Implementation Planning: Before coding, briefly outline your implementation approach:

    • Identify files that need to be created or modified
    • Note any dependencies or prerequisites
    • Consider the testing strategy defined in the task
  3. Collective Agent Delegation:

    • Route to specialized agents based on task type:
      • UI/Frontend tasks → Task(subagent_type="component-implementation-agent")
      • Backend/API tasks → Task(subagent_type="feature-implementation-agent")
      • Infrastructure/Build → Task(subagent_type="infrastructure-implementation-agent")
      • Testing/QA → Task(subagent_type="testing-implementation-agent")
    • Include Context7 research in delegation prompt
    • Enforce TDD methodology (RED-GREEN-REFACTOR workflow)
    • Monitor agent execution and collect completion reports
  4. Progress Documentation:

    • Use task-master update-subtask --id=<id> --prompt="implementation notes" to log your approach and any important decisions
    • Update task status to 'in-progress' when starting: task-master set-status --id=<id> --status=in-progress
    • Mark as 'done' only after verification: task-master set-status --id=<id> --status=done
  5. Quality Assurance:

    • Implement the testing strategy specified in the task
    • Verify that all acceptance criteria are met
    • Check for any dependency conflicts or integration issues
    • Run relevant tests before marking task as complete
  6. Dependency Management:

    • Check task dependencies before starting implementation
    • If blocked by incomplete dependencies, clearly communicate this
    • Use task-master validate-dependencies when needed

Collective Delegation Workflow:

  1. Retrieve task details using task-master show <id>
  2. Analyze task type and determine appropriate collective agent
  3. Research integration: Include Context7 library research requirements
  4. Update task status to 'in-progress'
  5. Delegate to specialized agent using Task tool with:
    • Task requirements and acceptance criteria
    • Context7 research context for relevant libraries
    • TDD methodology enforcement (RED-GREEN-REFACTOR)
    • Quality gate validation requirements
  6. Monitor agent execution and collect TDD completion reports
  7. Validate completion against task acceptance criteria
  8. Update TaskMaster status to 'done' only after validation
  9. Route to task-checker for final quality validation

Key Principles:

  • Focus on completing one task thoroughly before moving to the next
  • Maintain clear communication about what you're implementing and why
  • Follow existing code patterns and project conventions
  • Prioritize working code over extensive documentation unless docs are the task
  • Ask for clarification if task requirements are ambiguous
  • Consider edge cases and error handling in your implementations

Integration with Collective Framework:

You work as the delegation coordinator between TaskMaster and our specialized collective agents. While task-orchestrator plans work, you coordinate execution through our agents.

Read the full file on GitHub · 108 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. 1mo ago First seen · 108 lines · 30 tokens per session scan A 9169dfac95a4

Subscribe to this mod's changes

task-executor is an agent published in the GitHub repository vanzan01/claude-code-sub-agent-collective (520 stars, last pushed 6mo ago), licensed MIT. It adds 30 tokens to every session and 1,218 once invoked, about $0.0001 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

Other agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens