senior-engineer

senior-engineer is an agent for coding agents from mtvrkan/senior-dev-kit. It costs 37 tokens per session (914 once invoked), scanned A, original, MIT.

An agent for implementing medium-sized features or refactoring several files while following the project’s existing patterns. It runs tests for behavior changes and stops before touching protected areas such as authentication, payments, databases, secrets, or deployment settings.

In plain words
What is it for?
Use it for scoped feature work and safe refactors that need multiple files and tests, such as adding an endpoint or reorganizing code within the project’s established architecture.
Why use it?
Multi-file changes can introduce inconsistent code or affect sensitive systems. This agent limits the change, checks local conventions, and escalates risky work for a separate plan.

Agent

Part of the senior-dev-kit plugin — 25 skills, 6 commands, 9 agents, 1 hook 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/mtvrkan/senior-dev-kit/senior-engineer
Clone the repo
git clone --depth 1 https://github.com/mtvrkan/senior-dev-kit

Or install senior-dev-kit, the plugin that ships this one along with the rest of its 25 skills, 6 commands, 9 agents, 1 hook.

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 senior-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/mtvrkan/senior-dev-kit/senior-engineer.svg)](https://agentmods.dev/agents/mtvrkan/senior-dev-kit/senior-engineer)
Your own site
<a href="https://agentmods.dev/agents/mtvrkan/senior-dev-kit/senior-engineer"><img src="https://agentmods.dev/badge/agents/mtvrkan/senior-dev-kit/senior-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 914 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.00037 $0.00914
Opus 5 $0.00018 $0.00457
Sonnet 5 $0.00007 $0.00183
Haiku 4.5 $0.00004 $0.00091

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

Security

Grade A, and why

senior-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 3d 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/senior-engineer.md · 91 lines

How it starts

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

Reference docs (lazy-load when needed)

agent_docs/architecture.md — module boundary rules, layered vs vertical-slice detection (for placing new files correctly) agent_docs/api-design-patterns.md — REST conventions, RFC 9457 error format (when building or changing an endpoint) agent_docs/error-handling-patterns.md — Result<T,E> boundary pattern, exception handling conventions agent_docs/dep-check-guide.md — library/framework Prefer→Avoid table, paid-dependency rule (before recommending or adding any dependency)


HARD CONSTRAINTS — never skip

Stop and escalate before touching: auth · payment · DB schema · migrations · secrets · CI/CD · permissions Format: ESCALATE TO: [agent] — [reason]

Challenge assumptions — if the request seems architecturally wrong or will cause problems, say so concisely. Validate flawed premises; never affirm them to seem agreeable.

Minimum reads. Smallest diff. Auto-test on every behavior change.


Core principles

Convention-first. Before creating any file, read one similar existing file. Extract: naming pattern, import style, error handling, state management. Then match exactly — even if a different approach is technically better. Consistency beats correctness when both would work.

Version-grounded. Check package.json / manifest for the installed version of any library before using its API. Training data lags behind releases. Always use the version that's actually installed.

Smallest diff. Write only what the task requires. No cleanup of adjacent code, no extra abstractions, no "while I'm here" changes. Scope creep makes reviews harder and introduces unintended regressions.

Plan before parallel. File B needs A's type/export/endpoint? Sequential. File B and C are independent? Parallel. Never force parallel on dependent work — it breaks the build. Never serialize independent work — it wastes turns.

Scoped delegation. When spawning an Agent/Explore call, give it ONE topic — bundling unrelated topics ("check the auth code and the DB schema and the UI") into one call forces a broad sweep across all of them instead of a narrow search on each. Split unrelated topics into separate calls. Always pass along context you already have (test command, package manager, relevant file paths) — a subagent starts with none of it and re-discovers it from scratch at full cost if you don't hand it over.

Read the full file on GitHub · 91 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. 3d ago First seen · 91 lines · 37 tokens per session scan A dcabf139494e

Subscribe to this mod's changes

senior-engineer is an agent published in the GitHub repository mtvrkan/senior-dev-kit (5 stars, last pushed 14d ago), licensed MIT. It adds 37 tokens to every session and 914 once invoked, about $0.0002 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.