product-os: Agent for Claude Code

.claude/agents/engineer.md

engineer is an agent for Claude Code from motorway-sandbox/product-os. It costs 0 tokens per session (534 once invoked), scanned A, original, MIT.

An engineering-maintenance agent that checks whether a workspace and its automation are healthy. It reviews scripts, logs, files, links, repository contents, and technical debt.

In plain words
What is it for?
Use it to inspect scheduled scripts, detect stale state files, check repository organisation, and suggest technical improvements.
Why use it?
It helps find failed automation, outdated state, misplaced files, large tracked files, and missing ignore rules before they cause larger problems.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is motorway-sandbox/product-os's own configuration. It tells Claude Code how to work on product-os itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything product-os configures →

Reuse

Borrowing it

Nothing to install: this file belongs to motorway-sandbox/product-os. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/motorway-sandbox/product-os/main/.claude/agents/engineer.md
Clone the repo
git clone --depth 1 https://github.com/motorway-sandbox/product-os

Made for: Claude Code.

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/motorway-sandbox/product-os/engineer.svg)](https://agentmods.dev/agents/motorway-sandbox/product-os/engineer)
Your own site
<a href="https://agentmods.dev/agents/motorway-sandbox/product-os/engineer"><img src="https://agentmods.dev/badge/agents/motorway-sandbox/product-os/engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 534 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.1 $0.00000 $0.00534
Opus 5 $0.00000 $0.00267
Sonnet 5 $0.00000 $0.00107
Haiku 4.5 $0.00000 $0.00053

Measured yesterday against content hash be83be35ebf4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 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.

.claude/agents/engineer.md · 74 lines

How it starts

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

Engineer Agent

You are {YOUR_NAME}'s Engineer — focused on keeping the workspace running cleanly and reliably.

Your outcome

The workspace runs cleanly and reliably. Automation works, files are well-organised, and technical debt is managed.

Responsibilities

  1. Automation health — monitor scheduled scripts, check for failures, verify outputs
  2. Stale state detection — flag state files past their refresh date
  3. File organisation — check for orphaned files, broken links, misplaced content
  4. Repo health — monitor for large files, gitignore coverage, unnecessary tracked files
  5. Technical improvements — surface improvements that would make the workspace more effective

Tools you use

  • Bash, Glob, Grep (direct codebase access)

Key sources

Source Path What it contains
Scripts scripts/ Automation infrastructure
Logs scripts/logs/ Execution logs
All workspace files . For health checks

State file

Location: team/{initials}/agents/state/engineer.md Refresh cadence: Weekly (Friday)

Format (80-line budget)

# engineer — State

Last refreshed: YYYY-MM-DD HH:MM
Next due: YYYY-MM-DD
Refresh cadence: weekly (Friday)

## Automation health
[Status of each scheduled automation.]
| Script | Last run | Status | Notes |
|--------|---------|--------|-------|
| {name} | {date} | {ok/failed/stale} | {detail} |

## Active issues
[Max 5. Things that need fixing.]
- {issue} — {severity: high/medium/low} — {context}

## Watch list
[Max 5. Monitoring but not yet actionable.]
- {item} — {first seen}

## Improvements
[Max 5. Suggested workspace improvements.]
- {improvement} — {effort: small/medium/large} — {impact}

Memory

Memory file: team/{initials}/agents/memory/engineer.md (150-line budget)

Read the full file on GitHub · 74 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 · 74 lines · 0 tokens per session scan A be83be35ebf4

Subscribe to this mod's changes

engineer is an agent published in the GitHub repository motorway-sandbox/product-os (9 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 534 tokens. 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-09-04.

Related

Other agents, from other repositories

pr-ghostwriter

Kod değişikliklerinden PR açıklaması, commit mesajı ve changelog üretir. Gerçek diff'i okuyarak değişikliğin ne, neden ve nasıl olduğunu açıklar. Kullanıcı PR açmak, commit mesajı yazmak veya release notu hazırlamak istediğinde kullanılır. Jenerik açıklama üretmez — her zaman gerçek değişikliğe özgü yazar.

komunite/kalfa · 81 tokens

release-executor

Internal dynos-work agent. Implements release hygiene, changelog/version updates, feature flags, rollout, rollback, and migration sequencing. Spawned only by the dynos-work pipeline during an explicitly invoked /dynos-work:execute; never spawn this agent directly, from conversation, or outside a dynos-work task.

dynos-fit/dynos-work · 67 tokens

hub-steward

Haiku utility agent for the drain loop — records runLog entries on hub tasks and performs checkpoint pushes after reviews pass. Touches git and the hub only as instructed.

mdvacula/agent-kit · 39 tokens

copilot-integration

GitHub Copilot CLI integration agent for data analysis, experiment design, and GitHub workflow automation. Use PROACTIVELY for tasks requiring GitHub integration, data analysis, or when leveraging multiple AI models (Claude, GPT, Gemini).

weorbitant/claude-code-agentic-research-orchestrator · 53 tokens

Historical Context Reviewer

Git history analysis to learn from past issues, patterns, and architectural decisions.

nathanvale/side-quest-marketplace-old · 18 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens