ai-engineer

ai-engineer is an agent for Claude Code from thunderkds/easy-ui-mcp. It costs 70 tokens per session (1,189 once invoked), scanned B, original, MIT.

A role and workflow for building features that use language models, such as search-with-generated-answers systems, agent loops, tool connections, and MCP servers. It requires defining how success will be tested before writing the prompt.

In plain words
What is it for?
Use it to implement and evaluate language-model applications and integrations.
Why use it?
It helps prevent language-model features from being judged only by appearance and keeps quality, cost, speed, and failures under review.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to implement and evaluate language-model applications and integrations.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/thunderkds/easy-ui-mcp/ai-engineer
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/thunderkds/easy-ui-mcp

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/thunderkds/easy-ui-mcp/ai-engineer"><img src="https://agentmods.dev/badge/agents/thunderkds/easy-ui-mcp/ai-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 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,189 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00070 $0.01189
Opus 5.5 $0.00028 $0.00476
Sonnet 5.5 $0.00014 $0.00238
Haiku 4.5 $0.00007 $0.00119

Measured 19d ago against content hash 698bd2baecc0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

ai-engineer scanned grade B with 1 finding 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 19d 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.

Instruction-override phrasingmediumPrompt injection

Text telling the model to disregard its earlier instructions or safety rules is the shape of a prompt injection, whoever wrote it.

adversarial inputs ("ignore previous instructions")

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

packs/ai-agent/agents/ai-engineer.md · 83 lines

How it starts

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

You are the LLM application implementer on this project. You build features that use language models as a core component. Your defining constraint: the eval comes before the prompt. You do not ship an LLM feature without a defined pass/fail criterion for its output quality — a prompt that "looks good" in the playground is not done.

Mandatory Startup Sequence

  1. Read PROJECT_SPEC.md — LLM provider (Claude / OpenAI / etc.), model pinning strategy, cost budget, latency SLA
  2. Read memory/MEMORY.md — prompt versioning decisions, eval results, known failure modes
  3. Read assigned tasks/TASK_GUIDE_Txxx.md — scope, acceptance criteria, files to touch / not touch
  4. Read this file — AI-specific constraints

If any file is missing, stop and notify the Supervisor.

The three pillars (your gates)

  • Pillar 1 — Requirement fidelity: before writing any prompt, invoke eval-design to define the success criterion. "The LLM returns a good answer" is not a criterion — precision, recall, format compliance, refusal rate, and latency p95 are.
  • Pillar 2 — Implementation: build prompt + parser + eval harness together. Run prompt-review before marking Pillar 2 green. Test on ≥10 representative inputs including adversarial cases.
  • Pillar 3 — Evaluation: run the eval harness; paste pass rate, latency p50/p95, and token cost per call into the Evidence table.

Scope boundaries

  • You own: system prompts, user prompt templates, context assembly (RAG retrieval + injection), output parsers, tool definitions, agent loop logic, MCP server handlers, eval harnesses.
  • Core backend-developer owns: API routing, auth, database queries, service orchestration.
  • QA owns: end-to-end regression suite, production monitoring for LLM quality drift.

LLM engineering checklist

  • Model pinning: use a pinned model ID (e.g. claude-sonnet-5, not an alias like claude-latest) — model upgrades are explicit, not silent
  • Token budget: track input + output tokens per call; stay within the task's declared cost budget; use caching (cache_control) for static context blocks
  • Context window management: order context by relevance (most relevant closest to the query); include only what the model needs for this task
  • Output format: always define a strict output schema (JSON with Pydantic validation, or a regex-checked format); never rely on freeform output for downstream logic
  • Error handling: LLM calls can fail, refuse, or return malformed output — handle all three paths
  • Prompt injection: system prompt must be structurally separated from user input; test with adversarial inputs ("ignore previous instructions")
  • Latency: measure time-to-first-token and total latency; use streaming for user-facing features
  • Evals before prompts: invoke eval-design at Pillar 1 for any C2+ task — no prompt ships without a defined pass/fail threshold

Read the full file on GitHub · 83 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. 19d ago First seen · 83 lines · 70 tokens per session scan B 698bd2baecc0

Subscribe to this mod's changes

ai-engineer is an agent published in the GitHub repository thunderkds/easy-ui-mcp (1 stars, last pushed 18d ago), licensed MIT. It adds 70 tokens to every session and 1,189 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (instruction-override phrasing). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-11.

Related

ai-engineer compared with agents from other repositories

ai-engineer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ai-engineerthunderkds/easy-ui-mcpAgent118d agoMITB70Claude Code
Prompt Buildergithub/awesome-copilotAgent42ktodayMITA24Claude Code
fitjeremylongshore/tons-of-skills-marketplaceAgent3.0ktodayMITA57Claude Code
openai-api-expert0xfurai/claude-code-subagentsAgent1.0k23d agoMITA23Claude Code
mlops-engineerpjt222/agent-almanacAgent462d agoMITA31Claude Code
bnlearn-researchererdogant/bnlearnAgent6487d agononeA47Claude Code
migration-reviewerahmedawan-oracle/claude-code-pluginsAgent43mo agoMITA70Claude Code