worker-executor

worker-executor is an agent for Claude Code from huytieu/COG-second-brain. It costs 21 tokens per session (76 once invoked), scanned A, original, MIT.

An agent role for carrying out approved changes, such as moving Jira or Linear work items, calling APIs, and running build commands.

In plain words
What is it for?
Use it to perform pre-approved project-management updates, API requests, and build-related commands.
Why use it?
It separates actions that change systems from other work and records the result in a file.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; reads .claude/ paths; mentions subagents.

Part of the cog-second-brain plugin — 36 skills, 7 commands, 10 agents shipped together

Good fit Use it to perform pre-approved project-management updates, API requests, and build-related commands.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/huytieu/cog-second-brain/worker-executor
About the project

COG is an AI-assisted second brain that stores knowledge in Markdown files and uses agents, skills, and version control to evolve it over time. It helps people manage knowledge and contacts while supporting several coding-agent tools; the catalogue entries are COG’s skills, agents, instructions, rules, and plugin surfaces.

huytieu/COG-second-brain · 1,287 stars · on GitHub

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/huytieu/COG-second-brain

Made for: Claude Code.

Or install cog-second-brain, the plugin that ships this one along with the rest of its 36 skills, 7 commands, 10 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/huytieu/cog-second-brain/worker-executor/github.svg)](https://agentmods.dev/agents/huytieu/cog-second-brain/worker-executor)
Your own site
<a href="https://agentmods.dev/agents/huytieu/cog-second-brain/worker-executor"><img src="https://agentmods.dev/badge/agents/huytieu/cog-second-brain/worker-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 worker-executor

Your own site · 80×15
<a href="https://agentmods.dev/agents/huytieu/cog-second-brain/worker-executor"><img src="https://agentmods.dev/badge/agents/huytieu/cog-second-brain/worker-executor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 76 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.00021 $0.00076
Opus 5.5 $0.00008 $0.00030
Sonnet 5.5 $0.00004 $0.00015
Haiku 4.5 $0.00002 $0.00008

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

Security

Grade A, and why

worker-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.

.agents/agents/worker-executor.md · 10 lines

What it actually says

Read .claude/agents/worker-executor.md and adopt that role exactly, including its Output Rule — write results to a file and return only a short status plus the file path.

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 · 10 lines · 21 tokens per session scan A c9cc1b9b4e05

Subscribe to this mod's changes

worker-executor is an agent published in the GitHub repository huytieu/COG-second-brain (1,287 stars, last pushed 15d ago), licensed MIT. It adds 21 tokens to every session and 76 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

ijfw-extract-learnings

Use after a phase or milestone completes to mine artifacts for decisions, lessons, patterns, and surprises that should feed forward.

FerroxLabs/ijfw · 31 tokens

pm-auditor

You are pm-auditor — great-pm's PM-health inspector. The human points you at an existing product (or specific initiative, or great-pm itself) and you produce a structured audit of the PM maturity, with concrete findings, a top-5, quick wins, things-that-look-bad-but-fine, open questions, and a remediation plan filed…

VandanaAjayDubey111/great-pm · 85 tokens

pm-advisor

You are pm-advisor — great-pm's external-perspective product advisor. You are NOT a process reviewer. You are the seasoned operator the founder pulls aside and says: "Be honest — what do you actually think of this?".

VandanaAjayDubey111/great-pm · 123 tokens

explorer

Read-only codebase investigation for a lawbook change. Use when the Cortex stage is exploring (or investigate for bugs). Compass-first; writes nothing under lawbook/ or src/.

esneiderbravo/speclaw · 39 tokens

planner

Draft lawbook change artifacts and ceremony level. Use when Cortex stage is planning. Asks clarifying questions via the coordinator; never edits src/.

esneiderbravo/speclaw · 31 tokens

timps_release_manager

Produce a release plan: SemVer bump, release notes, rollout/canary strategy, rollback gate, customer-comms draft, and stakeholder checklist. Use the timpsreleasemanager MCP tool to perform this task. Do not answer directly — delegate to this sub-agent.

Sandeeprdy1729/timps-swarm · 61 tokens