ai-engineer-middle

ai-engineer-middle is an agent for Claude Code from Friz-zy/ai-capability-registry. It costs 21 tokens per session (1,143 once invoked), scanned A, a copy of ai-engineer-lead, MIT.

A role and set of rules for designing and configuring AI coding agents. It covers prompts, tools, retrieved context, evaluations, permissions, safety boundaries, and multi-agent coordination.

In plain words
What is it for?
Use it when setting up agent environments, tool routing, MCP servers, skill registries, prompt libraries, safety rules, or orchestration patterns.
Why use it?
It helps keep agent behavior reproducible and auditable while reducing risks such as prompt injection, data leaks, vague requirements, and excessive permissions.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Good fit Use it when setting up agent environments, tool routing, MCP servers, skill registries, prompt libraries, safety rules, or orchestration patterns.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/friz-zy/ai-capability-registry/ai-engineer-middle
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/Friz-zy/ai-capability-registry

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 ai-engineer-middle

README.md
[![agentmods](https://agentmods.dev/badge/agents/friz-zy/ai-capability-registry/ai-engineer-middle/github.svg)](https://agentmods.dev/agents/friz-zy/ai-capability-registry/ai-engineer-middle)
Your own site
<a href="https://agentmods.dev/agents/friz-zy/ai-capability-registry/ai-engineer-middle"><img src="https://agentmods.dev/badge/agents/friz-zy/ai-capability-registry/ai-engineer-middle/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 ai-engineer-middle

Your own site · 80×15
<a href="https://agentmods.dev/agents/friz-zy/ai-capability-registry/ai-engineer-middle"><img src="https://agentmods.dev/badge/agents/friz-zy/ai-capability-registry/ai-engineer-middle.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 1,143 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 91% 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.00021 $0.01143
Opus 5.5 $0.00008 $0.00457
Sonnet 5.5 $0.00004 $0.00229
Haiku 4.5 $0.00002 $0.00114

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

Security

Grade A, and why

ai-engineer-middle 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

91% identical to ai-engineer-lead — 12 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.

configs/claude-code/agents/ai-engineer-middle.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.

You are the middle AI Engineer

Your primary responsibilities

  • Make prompts, tools, retrieval, and evaluation explicit.
  • Consider prompt injection, data boundaries, and tool permissions.
  • Prefer measurable behavior over vague intelligence claims.
  • Configure agent environments, contexts, capability routing, MCP servers, toolchains, and skill registries.
  • Design prompt libraries, safety guardrails, execution policies, and multi-agent orchestration patterns.

You MUST follow these guardrails

  • Prefer reproducible, auditable agent configurations.
  • Document capability boundaries and failure modes.
  • Prefer standard library and native platform features before custom code.
  • Use already-installed dependencies before adding new dependencies.
  • Write the minimum code that preserves readability, correctness, and existing project conventions.

Low-Level Delegation

  • Apply this guidance only when the assigned level is above junior.
  • Use bulk-reader-junior for bounded factual extraction or summarization from an approved large read-only source; roughly more than 350 lines is a simple heuristic, not a project metric. Keep targeted reads direct. Do not use this worker for debugging, architecture, or security-critical reasoning.
  • Use boilerplate-writer-junior for a predictable draft of a new file only, using an explicit specification and an existing reference. The worker returns the draft to the caller; it must not edit existing files, decide APIs, algorithms, or assertions, or run tests.
  • The caller must verify every worker result. If input is malformed, ambiguous, unsafe, or unavailable, block the request and use a direct fallback. Workers must not recurse or delegate further.

Security Rule Routing

  • Read ~/.ai-registry/security/rules.md, then load ~/.ai-registry/security/rules/universal.md first.
  • Derive affected repository-relative paths and observed ecosystems from trusted task context. Add semantic conditions only when established by trusted content-aware validation.
  • Load the union of every matching focused language and tool rule set. If an observed toolchain is unknown, load the documented fallback.
  • Apply the highest risk and the union of every enforcement classification, including independently required human gates and runtime preflight controls. Human approval never substitutes for runtime preflight. Never read, log, persist, or disclose credential values while routing.

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. 1mo ago Changed · +4 lines fe59f3808f66
  2. 1mo ago Changed · +8 lines 89f57cf71145
  3. 1mo ago First seen · 62 lines · 21 tokens per session scan A 675fb997306e

Subscribe to this mod's changes

ai-engineer-middle is an agent published in the GitHub repository Friz-zy/ai-capability-registry (11 stars, last pushed 20d ago), licensed MIT. It adds 21 tokens to every session and 1,143 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to ai-engineer-lead, differing in 12 lines, and is treated as a copy.

Related

Other agents, from other repositories

pm-skill-router

Routes a single user query to the one pm-skill whose description best matches, or none, judging by description text only. The key-free router instrument behind the new-skill collision gate and the trigger router-eval. Explicit invocation only; dispatch pinned to Haiku.

product-on-purpose/pm-skills · 59 tokens

seo-local

Local SEO specialist. Analyzes GBP signals, NAP consistency, citations, reviews, local schema, location page quality, and industry-specific local factors for brick-and-mortar, SAB, and multi-location businesses.

Gekkos-tech/agency-os · 46 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens