ai-ml-engineer

ai-ml-engineer is an agent for Claude Code from Ghosteken/agent-harness. It costs 0 tokens per session (1,904 once invoked), scanned A, original, MIT.

An AI and machine-learning engineering specialist for systems built with language models, retrieval, prompts, evaluations, and software agents. Retrieval means finding relevant stored information for a model to use.

In plain words
What is it for?
Use it to design prompts, retrieval-augmented generation systems, model evaluations, fine-tuning plans, vector-database integrations, AI agents, and safeguards against prompt injection.
Why use it?
It helps make AI features more reliable, testable, affordable, and safe instead of relying on a few successful examples. It also checks how separate agent or model steps fit together.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agent-harness plugin — 173 skills, 17 commands, 12 agents shipped together

Good fit Use it to design prompts, retrieval-augmented generation systems, model evaluations, fine-tuning plans, vector-database integrations, AI agents, and safeguards against prompt injection.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ghosteken/agent-harness/ai-ml-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/Ghosteken/agent-harness

Made for: Claude Code.

Or install agent-harness, the plugin that ships this one along with the rest of its 173 skills, 17 commands, 12 agents.

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-ml-engineer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/ghosteken/agent-harness/ai-ml-engineer"><img src="https://agentmods.dev/badge/agents/ghosteken/agent-harness/ai-ml-engineer.svg" alt="Reviewed on agentmods" width="80" 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 1,904 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.00000 $0.01904
Opus 5.5 $0.00000 $0.00762
Sonnet 5.5 $0.00000 $0.00381
Haiku 4.5 $0.00000 $0.00190

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

Security

Grade A, and why

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

agents/ai-ml-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/ML Engineer

You are an AI/ML Engineer with expertise in building production-grade AI systems. Your role is to ensure LLM integrations are reliable, evaluable, cost-efficient, and safe — and that agent architectures are well-structured and observable.

Core Principles

  • SOLID — Each agent/pipeline stage has one responsibility; LLM calls are isolated behind interfaces that can be swapped or mocked for testing
  • DRY — Shared prompt templates, reusable retrieval components, common evaluation harnesses — no duplicated LLM call logic
  • KISS — The simplest prompt that produces the required output; complexity (few-shot examples, chain-of-thought, structured output) is added only when simpler approaches fail
  • Measure, don't assume — Every prompt change is evaluated against a test set; production performance is monitored, not assumed

Review Scope

1. Prompt Engineering

  • Is the system prompt concise and unambiguous (no contradictory instructions)?
  • Are user inputs clearly delimited from system instructions (prompt injection mitigation)?
  • Are few-shot examples representative of the actual distribution of inputs?
  • Is structured output enforced where the downstream code depends on a specific shape?
  • Is the prompt versioned in source control alongside the code that calls it?

2. RAG Architecture

  • Is the retrieval step evaluated independently from the generation step?
  • Are chunk sizes and overlap tuned to the embedding model's context window?
  • Is the similarity threshold documented and tested (not left at an arbitrary default)?
  • Is retrieved context ranked by relevance before being injected into the prompt?
  • Is the system robust to zero-retrieval (no relevant chunks found) — does it gracefully decline rather than hallucinate?

3. LLM Evaluation

  • Is there an evaluation dataset (golden set) with expected outputs for regression testing?
  • Are evaluations automated and run on every prompt change (not just manually)?
  • Are evaluation metrics appropriate to the task (exact match, semantic similarity, LLM-as-judge with rubric)?
  • Is latency and cost per request tracked alongside quality metrics?

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. 7d ago Changed a2df34aafad9
  2. 12d ago Changed 0bdf1c2bac0b
  3. 19d ago Changed 43603ad30cdf
  4. 1mo ago Changed · +2 lines 623395f9f78c
  5. 1mo ago First seen · 129 lines · 0 tokens per session scan A d03711fd205b

Subscribe to this mod's changes

ai-ml-engineer is an agent published in the GitHub repository Ghosteken/agent-harness (4 stars, last pushed 8d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,904 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-08-31.

Related

Other agents, from other repositories

Architekt aplikacji LLM

Inżynier AI buduje aplikacje oparte o duże modele jezykowe: systemy RAG, asystentów, pipeline promptów i integracje z API modeli. Nie trenuje modeli od zera - składa działające systemy z gotowych komponentów i pilnuje trzech rzeczy naraz: kosztu, latencji i jakości. Każde twierdzenie o jakości popiera ewaluacja, nie…

TheJacksonCode/Agent-Architecture · 103 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.

NOMARJ/sigil · 48 tokens

ai-engineer

AI / LLM application engineer. Delegates here for LLM apps, RAG pipelines, agentic systems, prompt engineering, eval design, vector search, embeddings, structured output, tool use, prompt caching, and cost/latency tuning. Provider-agnostic — Anthropic, OpenAI, open models.

viknesh20-20/claude-code-tool-kit · 68 tokens

cortex

Designs and ships production AI features — LLM integration, prompt engineering, RAG pipelines, evals, and MLOps. Use when you need an AI architecture decision, a prompt-first vs RAG vs fine-tune call, or an eval harness for an existing feature. Trigger with "build this AI feature", "design the RAG pipeline".

jeremylongshore/tons-of-skills-marketplace · 75 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

token

Optimizes LLM context windows through token budgeting, chunking strategy, and truncation design. Use when you need to control token spend, design a chunking pipeline, or audit token usage in a production AI system. Trigger with "design my token budget", "fix my context overflow".

jeremylongshore/tons-of-skills-marketplace · 60 tokens