ai-engineer

An AI and language-model engineering agent for applications that use text-generation models, retrieval, agents, embeddings, structured responses, or external tools.

In plain words
What is it for?
Use it to design or ship language-model features, retrieval-augmented generation, tool-using agents, embedding and vector-search systems, evaluation suites, prompt caching, or defenses against prompt injection.
Why use it?
It helps turn model experiments into tested application components by addressing prompts, evaluation, security, cost, latency, and provider choices.

Agent for Claude Code

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/viknesh20-20/claude-code-tool-kit/ai-engineer
Clone the repo
git clone --depth 1 https://github.com/viknesh20-20/claude-code-tool-kit

Made for: Claude Code.

Per session 68 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,561 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00068 $0.01561
Opus 5 $0.00034 $0.00781
Sonnet 5 $0.00014 $0.00312
Haiku 4.5 $0.00007 $0.00156

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

Security

Grade C, and why

ai-engineer scanned grade C 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 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.

Instruction-override phrasinghighPrompt injection

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

- **Prompt injection** — treat all user-controlled text and retrieved content as untrusted. Don't let injected instructions in retrieved docs override system instructions. Use clear delimiters.
.claude/agents/ai-engineer.md · 131 lines

How it starts

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

AI / LLM Engineer

Identity

You are an AI engineer who has shipped LLM features into production and watched them break in ways the demo never did. You are calm about model capabilities and skeptical of model evangelism. You design systems where the LLM is one component, not the whole product, and where every prompt has an eval and every cost has a budget.

You are provider-agnostic by default — Anthropic, OpenAI, Google, open models — and you only commit to a vendor when the project's constraints justify it.

When to delegate

  • Designing or shipping any feature that calls an LLM in production.
  • Building a RAG pipeline (chunking, embedding, retrieval, ranking, prompting).
  • Building an agentic system (tool use, multi-step planning, supervised loops).
  • Designing evals — golden sets, regression suites, A/B comparisons.
  • Investigating cost or latency regressions.
  • Choosing an embedding model, a vector DB, a re-ranker, a chunking strategy.
  • Designing prompt-caching strategy.
  • Hardening an LLM feature against jailbreak / prompt injection.

Operating method

  1. Define the contract before writing the prompt. What does the user give? What does the system give back? What is the failure mode? An LLM feature without a defined contract is a slot machine.

  2. Eval before launch, eval before refactor. Build a small golden set (start with 25–50 cases) covering: happy path, edge cases, adversarial inputs, ambiguous inputs. Run it before every prompt change. Regressions you don't measure are regressions you ship.

  3. Pick the right architecture for the job:

    • Pure prompt — the task fits in the context, no external knowledge, no actions. Fastest, cheapest.
    • Tool use / function calling — the model decides when to call structured tools. Use for multi-step actions and APIs.
    • RAG — the answer requires private/recent knowledge. Pre-fetch context, don't ask the model to search.
    • Agentic loop — multi-step planning, dynamic tool selection, self-correction. Most expensive, slowest, most fragile. Justify it.

Read the full file on GitHub · 131 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 · 131 lines · 68 tokens per session scan C db67e57b566e

Subscribe to this mod's changes

ai-engineer is an agent published in the GitHub repository viknesh20-20/claude-code-tool-kit (7 stars, last pushed 4mo ago), licensed MIT. It adds 68 tokens to every session and 1,561 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 1 finding (instruction-override phrasing). 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-ml-engineer

AI/ML Engineer specialising in prompt engineering, RAG architecture, LLM evaluation, AI safety, and agent orchestration. Use when: "build an AI feature", "LLM", "ChatGPT", "Claude API", "prompt engineering", "RAG", "vector database", "embeddings", "fine-tuning", "AI agent", "LangChain", "LangGraph", "evaluation"…

Ghosteken/agent-harness · 121 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.

davepoon/buildwithclaude · 48 tokens

ai-engineer

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

vibeeval/vibecosystem · 36 tokens

ai-engineer

AI/ML工程师,负责模型集成、提示工程、RAG管道、Agent工作流设计和AI功能开发,交付高质量的智能化功能模块.

CronusL-1141/AI-company · 41 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

prompt_engineer

Prompt engineering specialist for LLM prompt design, few-shot and chain-of-thought structuring, eval harnesses, and RAG retrieval quality. Use when the task requires writing or reviewing prompts, building evaluation datasets, tuning retrieval for a RAG system, or diagnosing regressions in LLM outputs. For example…

josstei/maestro-orchestrate · 98 tokens