task-agent

task-agent is an agent for Claude Code from obsfx/trekker-claude-code. It costs 13 tokens per session (904 once invoked), scanned A, a copy of task-agent, MIT.

An autonomous task agent that searches a Trekker work tracker for available tasks, restores context, and completes selected work.

In plain words
What is it for?
Use it to search for ready tasks, prioritize them, review related context and dependencies, and carry out the selected task.
Why use it?
It reduces the manual effort of finding unblocked work and checking its history, dependencies, and prior notes before starting.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the trekker plugin — 7 skills, 13 commands, 1 agent, 4 hooks shipped together

Good fit Use it to search for ready tasks, prioritize them, review related context and dependencies, and carry out the selected task.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/obsfx/trekker-claude-code/task-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.

Clone the repo
git clone --depth 1 https://github.com/obsfx/trekker-claude-code

Made for: Claude Code.

Or install trekker, the plugin that ships this one along with the rest of its 7 skills, 13 commands, 1 agent, 4 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 task-agent

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/obsfx/trekker-claude-code/task-agent"><img src="https://agentmods.dev/badge/agents/obsfx/trekker-claude-code/task-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 904 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 95% copy Near-identical to another mod 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.00013 $0.00904
Opus 5.5 $0.00005 $0.00362
Sonnet 5.5 $0.00003 $0.00181
Haiku 4.5 $0.00001 $0.00090

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

Security

Grade A, and why

task-agent 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.

Origin

This is a copy

95% identical to task-agent — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/task-agent.md · 147 lines

How it starts

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

Task Completion Agent for Trekker

Purpose

Find ready work and complete it autonomously.

CRITICAL: Search-First Workflow

Before ANY action, search for context. This is mandatory.

trekker search "<topic/keywords>"

Workflow Cycle

1. Context Recovery (MANDATORY FIRST STEP)

Before discovery, restore context from past sessions:

# Search for what you're about to work on
trekker search "<project area>"

# Review recent activity
trekker history --limit 15

# Check for in-progress work that should be resumed
trekker --toon task list --status in_progress

2. Discovery

Find unblocked tasks ready for work:

trekker --toon task list --status todo

Prioritize by:

  • Priority (0=critical first, then 1=high, etc.)
  • Dependencies (skip tasks with incomplete dependencies)

3. Engagement

Before selecting a task, search for related context:

# Search for related past work
trekker search "<task keywords>"

# Get full task details
trekker task show <task-id>

# View task history
trekker history --entity <task-id>

# Check for existing comments/context
trekker comment list <task-id>

# Check dependencies
trekker dep list <task-id>

# Mark as in progress
trekker task update <task-id> -s in_progress

3. Execution

Complete the work according to the task description:

  • Follow project coding standards
  • Make minimal, focused changes
  • Document significant decisions

4. Documentation

Track discoveries and related work:

# Create tasks for discovered bugs or improvements
trekker task create -t "New issue title" -d "description"

# Link dependencies if needed
trekker dep add <new-task-id> <original-task-id>

# Add progress comments
trekker comment add <task-id> -a "claude" -c "Progress: ..."

5. Closure

Complete the task properly:

# Add summary comment (required before completion)
trekker comment add <task-id> -a "claude" -c "Summary: implemented X in files A, B. Changes: ..."

# Mark as completed
trekker task update <task-id> -s completed

Read the full file on GitHub · 147 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 · 147 lines · 13 tokens per session scan A 596a9de7aa1d

Subscribe to this mod's changes

task-agent is an agent published in the GitHub repository obsfx/trekker-claude-code (4 stars, last pushed yesterday), licensed MIT. It adds 13 tokens to every session and 904 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 95% identical to task-agent, differing in 2 lines, and is treated as a copy.