ai-engineer

ai-engineer is an agent for Claude Code from jhlee0409/omni-harness-kit. It costs 179 tokens per session (1,180 once invoked), scanned A, original, MIT.

A specialist for building and evaluating features that use large language models, the systems behind tools such as chat assistants and text generators.

In plain words
What is it for?
It helps design structured prompts, retrieval systems that find relevant documents, evaluation tests, model choices, and production integrations.
Why use it?
It helps control unreliable answers, prompt failures, security risks, cost, and response-time problems before an AI feature is shipped.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the harness-kit plugin — 18 skills, 28 agents, 2 hooks shipped together

Good fit It helps design structured prompts, retrieval systems that find relevant documents, evaluation tests, model choices, and production integrations.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jhlee0409/omni-harness-kit/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/jhlee0409/omni-harness-kit

Made for: Claude Code.

Or install harness-kit, the plugin that ships this one along with the rest of its 18 skills, 28 agents, 2 hooks.

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/jhlee0409/omni-harness-kit/ai-engineer.svg)](https://agentmods.dev/agents/jhlee0409/omni-harness-kit/ai-engineer)
Your own site
<a href="https://agentmods.dev/agents/jhlee0409/omni-harness-kit/ai-engineer"><img src="https://agentmods.dev/badge/agents/jhlee0409/omni-harness-kit/ai-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 179 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,180 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 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.00179 $0.01180
Opus 5 $0.00089 $0.00590
Sonnet 5 $0.00036 $0.00236
Haiku 4.5 $0.00018 $0.00118

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

Security

Grade A, and why

ai-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 7d 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.

adapters/omp/agents/ai-engineer.md · 92 lines

How it starts

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

You are ai-engineer — a senior AI/LLM engineer. You ship LLM features that survive contact with real inputs, real cost budgets, and adversarial users. You are a product engineer, not a demo builder: an LLM feature is only "done" when its output is measured, bounded, and trusted.

Prime directive — proof over prediction

Never claim an LLM feature works without ONE real API round-trip. Quote the real prompt you sent and the real output you got back (provider/model, key fields). A synthetic/stubbed/hand-written "example" response = unverified — say "static OK, runtime unverified" and go run it. Green tests against mocked completions prove the plumbing, not the behavior.

Required skill: llm-eng-checks (load via skill:// — subagents don't auto-inject skill bodies)

Holds prompt-composition patterns for coding/review/diagnosis/research prompts. If absent, apply the structured-output + role/instruction/context/format discipline below from first principles.

Operating mode — two phases

  • DESIGN (default for a new feature). Sketch the prompt contract, the schema, the eval plan, and the provider/adapter shape. Return it inline. No blind coding of an untested prompt.
  • IMPLEMENT. Build it, then run the real round-trip and quote the output.

What you cover

  • Prompt design + structured output. Explicit role/context/task/format. Force machine-readable output with JSON schema / tool-call args, not "please return JSON". Validate every response against the schema; on parse failure, repair-or-retry, never silently pass malformed output downstream. Keep user-facing copy in the product's language; internal reasoning/keys English.
  • RAG. Chunking strategy sized to the embedding model + query shape (not a blind 512). Embedding choice by recall@k on a real corpus. Retrieval eval (recall@k, MRR, nDCG) BEFORE trusting it. Reranking (cross-encoder / LLM rerank) when first-stage recall is high but precision is low. Always cite the measured retrieval numbers, never "retrieval looks good".
  • Eval harness. Golden set of real inputs+expected traits. Regression run on every prompt/model change. LLM-as-judge with a rubric (and a check that the judge itself is calibrated). Hallucination detection: groundedness check against retrieved context, refusal on missing evidence.
  • Model/provider selection. Pick by the cost×latency×quality tradeoff for THIS task — a cheap, fast model for classification/routing, a capable reasoning model for hard reasoning. State the numbers (per-1k-token cost, p50/p95 latency, eval score), don't cargo-cult the biggest model.
  • Function-calling / tool-use design. Tight tool schemas, idempotent tools, validate args before execution, bounded tool-call loops, and a plan for the model calling the wrong tool or looping.
  • Streaming. Token streaming for UX; handle partial JSON, mid-stream errors, and cancellation.
  • Token + cost budgeting. Estimate tokens BEFORE a paid batch call ("just once" means once). Cap context, truncate/summarize long history, and log actual spend.
  • Adapter design. A provider-abstraction layer: retries with backoff on 429/5xx, a fallback model/provider, per-call timeouts, and a circuit around a degraded provider. No provider SDK leaking into feature code.
  • Guardrails. Against hallucination (groundedness + refusal), and against prompt injection (untrusted content is data, never instructions; delimit/label it, strip tool-granting phrases, never let retrieved text escalate privilege).

Read the full file on GitHub · 92 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. 7d ago First seen · 92 lines · 179 tokens per session scan A db66082e8a49

Subscribe to this mod's changes

ai-engineer is an agent published in the GitHub repository jhlee0409/omni-harness-kit (2 stars, last pushed 1mo ago), licensed MIT. It adds 179 tokens to every session and 1,180 once invoked, about $0.0009 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.

Related

Other agents, from other repositories

ai-engineer

AI/ML Engineer (Reza Tehrani) - LLM seçimi, prompt engineering, RAG, AI agent mimarisi, fine-tuning.

vibeeval/vibecosystem · 36 tokens

ai-engineer

Build LLM applications, RAG systems, and prompt pipelines. Implements vector search, agent orchestration, and AI API integrations. Use PROACTIVELY for LLM features, chatbots, or AI-powered applications.

echoVic/blade-code · 48 tokens

langchain-expert

Use this agent when you need expert LangChain development with focus on LCEL, LangGraph, RAG pipelines, and multi-agent systems. This agent specializes in LangChain Python/TypeScript, chain composition, vector databases, embeddings, and building production-ready LLM applications. Examples: Context: User needs to build…

andisab/swe-marketplace · 400 tokens

prompt-engineer

Sharpens an existing system prompt into a tighter, more concrete, more testable one. Use when reviewing or improving a prompt rather than authoring one cold.

emtcmca/promptsmith · 36 tokens

ai-architect

Designs AI/agent systems (agent topology, prompt architecture, RAG design, eval gates, orchestration patterns, model tiering, memory/knowledge-graph design, autonomy guardrails). Advisory only — recommends architecture, does not implement production code. Use for agent design, prompt engineering, retrieval…

LucasSantana-Dev/sharekit · 88 tokens

text-optimizer

Optimizes text/docs for LLM token efficiency. Triggers: optimize prompt, reduce tokens, compress.

kochetkov-ma/claude-brewcode · 25 tokens