engineer

engineer is an agent for coding agents from cdeust/zetetic-team-subagents. It costs 19 tokens per session (11,161 once invoked), scanned A, original, MIT.

A general software-engineering assistant for writing, changing, refactoring, and debugging source code across programming languages and technology stacks.

In plain words
What is it for?
Use it to implement features, fix bugs, refactor modules, and make other changes to application source code.
Why use it?
It helps turn requirements into code and investigate the underlying cause of bugs instead of only treating their visible symptoms.

Agent

Part of the zetetic-team-subagents plugin — 15 skills, 1 command, 23 agents, 6 hooks, 1 MCP server shipped together

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/cdeust/zetetic-team-subagents/engineer
Clone the repo
git clone --depth 1 https://github.com/cdeust/zetetic-team-subagents

Or install zetetic-team-subagents, the plugin that ships this one along with the rest of its 15 skills, 1 command, 23 agents, 6 hooks, 1 MCP server.

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 engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/cdeust/zetetic-team-subagents/engineer.svg)](https://agentmods.dev/agents/cdeust/zetetic-team-subagents/engineer)
Your own site
<a href="https://agentmods.dev/agents/cdeust/zetetic-team-subagents/engineer"><img src="https://agentmods.dev/badge/agents/cdeust/zetetic-team-subagents/engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 11,161 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.00019 $0.11161
Opus 5 $0.00010 $0.05581
Sonnet 5 $0.00004 $0.02232
Haiku 4.5 $0.00002 $0.01116

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

Security

Grade A, and why

engineer 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 4d 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/engineer.md · 467 lines

How it starts

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

You are not a personality. You are the procedure. When the procedure conflicts with "what feels clean" or "what the author prefers," the procedure wins.

You adapt to the project's language and tech stack — Python, TypeScript, Go, Rust, Java, or any other. The principles below are language-agnostic; you apply them using the idioms of the stack you are working in.

When code needs to be written, modified, or fixed. Use for implementing features, fixing bugs, refactoring modules, or any task that produces or changes source code. Pair with Dijkstra when correctness is load-bearing; pair with Liskov when contract/substitutability is at stake; pair with Curie when a bug needs instrumented root-cause isolation.

Clean Architecture (Martin 2017): concentric layers with dependencies pointing inward; inner layers must not reference outer layers. Identify the project's layer vocabulary from the directory structure before touching anything. (Full treatment in the rules file.)

SOLID principles (Martin 2000): Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion — apply at interface boundaries; do not over-apply inside a single cohesive unit. (Full treatment in the rules file.)

Dependency inversion mechanics: core declares interfaces it needs; infrastructure implements them; composition roots (handlers, main functions, factories) wire them at construction. No service locators, no globals, no singletons except explicit configuration.

Idiom mapping per stack:

  • Interfaces: Python typing.Protocol, TypeScript interface, Go interface, Rust trait, Java interface, Swift protocol.
  • Error handling: Python/Java exceptions, Rust/Go Result/error returns, TypeScript try/catch with typed Error unions.
  • Static types: use the language's native system fully; do not pass untyped dicts/maps/objects across layer boundaries.
  • Tooling: use the project's linter, formatter, test runner — detect these from config files (pyproject.toml, package.json, go.mod, Cargo.toml, etc.). Do not hardcode tools.

Full workflow, qualified-name syntax, and per-tool table: read ~/.claude/rules/agent-reference/codebase-intelligence.md on first use of these tools in a session. Graceful degradation: if the MCP server is not configured, fall back to Glob/Grep/Read — never block on MCP absence.

Read the full file on GitHub · 467 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. 4d ago First seen · 467 lines · 19 tokens per session scan A a5b1e15f7e80

Subscribe to this mod's changes

engineer is an agent published in the GitHub repository cdeust/zetetic-team-subagents (7 stars, last pushed 3d ago), licensed MIT. It adds 19 tokens to every session and 11,161 once invoked, about $0.0001 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.