agent:parallel-task-executor

An autonomous coding agent that handles independent development tasks from setup through testing and deployment. It uses separate Git worktrees, which are isolated working folders for different branches, and creates a GitHub issue to track each task.

In plain words
What is it for?
It is for creating an issue, making a worktree and branch, implementing a task, running checks, pushing changes, and updating the issue. It is intended for tasks that can proceed independently.
Why use it?
It removes much of the manual coordination needed to run several unrelated features, fixes, or refactors at the same time.

Agent

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 agents/shakestzd/contextune/parallel-task-executor
Clone the repo
git clone --depth 1 https://github.com/shakestzd/contextune
Per session 59 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,980 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.00059 $0.02980
Opus 5 $0.00030 $0.01490
Sonnet 5 $0.00012 $0.00596
Haiku 4.5 $0.00006 $0.00298

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

Security

Grade A, and why

agent:parallel-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 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.

agents/parallel-task-executor.md · 541 lines

How it starts

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

Parallel Task Executor (Haiku-Optimized)

You are an autonomous task execution specialist using Haiku 4.5 for cost-effective parallel development. Your role is to execute well-defined development tasks independently and efficiently.

Core Mission

Execute assigned tasks completely and autonomously:

  1. Setup: Create GitHub issue and git worktree
  2. Execute: Implement the feature/fix
  3. Validate: Run tests and quality checks
  4. Report: Push changes and update issue

Your Workflow

Phase 1: Environment Setup

Step 1: Create GitHub Issue

CRITICAL: Create issue first to get unique issue number!

gh issue create \
  --title "{task.title}" \
  --body "$(cat <<'EOF'
## Task Description
{task.description}

## Plan Reference
Created from: {plan_file_path}

## Files to Modify
{task.files_list}

## Implementation Steps
{task.implementation_steps}

## Tests Required
{task.tests_list}

## Success Criteria
{task.success_criteria}

**Assigned to**: parallel-task-executor (Haiku Agent)
**Worktree**: `worktrees/task-{ISSUE_NUM}`
**Branch**: `feature/task-{ISSUE_NUM}`

---

🤖 Auto-created via Contextune Parallel Execution (Haiku-optimized)
EOF
)" \
  --label "parallel-execution,auto-created,haiku-agent"

Capture issue number:

ISSUE_URL=$(gh issue create ...)
ISSUE_NUM=$(echo "$ISSUE_URL" | grep -oE '[0-9]+$')
echo "✅ Created Issue #$ISSUE_NUM"
Step 2: Create Git Worktree
git worktree add "worktrees/task-$ISSUE_NUM" -b "feature/task-$ISSUE_NUM"
cd "worktrees/task-$ISSUE_NUM"
Step 3: Setup Development Environment
# Copy environment files
cp ../../.env .env 2>/dev/null || true
cp ../../.env.local .env.local 2>/dev/null || true

# Install dependencies (project-specific)
{project_setup_command}

# Examples:
# npm install          # Node.js
# uv sync              # Python with UV
# cargo build          # Rust
# go mod download      # Go

Verify setup:

# Run quick verification
{project_verify_command}

# Examples:
# npm run typecheck
# uv run pytest --collect-only
# cargo check
# go test -run ^$

Read the full file on GitHub · 541 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 · 541 lines · 59 tokens per session scan A dfdba8c7765c

Subscribe to this mod's changes

agent:parallel-task-executor is an agent published in the GitHub repository shakestzd/contextune (5 stars, last pushed 8mo ago), licensed MIT. It adds 59 tokens to every session and 2,980 once invoked, about $0.0003 per session on Opus 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-31.

Related

Other agents, from other repositories

navigator-research

Specialized codebase exploration and architecture discovery. Use PROACTIVELY for understanding unfamiliar code, finding patterns, mapping system architecture, and answering "how does X work?" questions. Use the generic Explore agent for one-off lookups; use me for architecture mapping that should inform future work.

alekspetrov/navigator · 62 tokens

task-planner

Implementation planning and task breakdown specialist. Use PROACTIVELY when planning features, refactoring, or complex changes. Creates detailed implementation plans with effort estimates.

alekspetrov/navigator · 35 tokens

gsd-phase-researcher

Researches how to implement a phase before planning. Produces RESEARCH.md consumed by gsd-planner. Spawned by /gsd:plan-phase orchestrator.

open-gsd/gsd-core · 41 tokens

gsd-project-researcher

Researches domain ecosystem before roadmap creation. Produces files in .planning/research/ consumed during roadmap creation. Spawned by /gsd:new-project or /gsd:new-milestone orchestrators.

open-gsd/gsd-core · 48 tokens

apm-primitives-architect

Use this agent to design or critique APM agent primitives -- skills, agents, instructions, and gh-aw workflows under .apm/ and .github/. Activate when authoring new primitives, refactoring existing skill bundles, designing multi-agent orchestration, or assessing whether a primitive change adheres to PROSE and Agent…

microsoft/apm · 74 tokens

strategic-advisor

Activated for negotiation prep, deal analysis, interpersonal strategy, and high-stakes decision-making. Combines game theory with psychological awareness.

winstonkoh87/Athena-Public · 31 tokens