ai-engineer

ai-engineer is a skill for Claude Code, Codex from Ghosteken/agent-harness. It costs 37 tokens per session (1,888 once invoked), scanned A, a copy of ai-engineer, MIT.

A workflow for building applications powered by large language models, including retrieval systems and AI agents. Retrieval-augmented generation, or RAG, lets an AI use relevant information from a connected data source when answering.

In plain words
What is it for?
Use it to design or improve LLM applications, RAG pipelines, vector search, multimodal features, agent orchestration, and enterprise AI integrations.
Why use it?
It helps plan the model, data flow, safety checks, monitoring, and cost controls needed for a production AI feature.

Skill for Claude CodeCodex

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

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 skills/ghosteken/agent-harness/ai-engineer
Any agent
npx skills add Ghosteken/agent-harness --skill ai-engineer
Clone the repo
git clone --depth 1 https://github.com/Ghosteken/agent-harness

Made for: Claude Code, Codex.

Or install agent-harness, the plugin that ships this one along with the rest of its 173 skills, 11 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-engineer

README.md
[![agentmods](https://agentmods.dev/badge/skills/ghosteken/agent-harness/ai-engineer.svg)](https://agentmods.dev/skills/ghosteken/agent-harness/ai-engineer)
Your own site
<a href="https://agentmods.dev/skills/ghosteken/agent-harness/ai-engineer"><img src="https://agentmods.dev/badge/skills/ghosteken/agent-harness/ai-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,888 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 86% 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 $0.00037 $0.01888
Opus 5 $0.00018 $0.00944
Sonnet 5 $0.00007 $0.00378
Haiku 4.5 $0.00004 $0.00189

Measured 5d ago against content hash e03ad72b76c3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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

86% identical to ai-engineer — 31 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.

archive/skills-community/ai-engineer/SKILL.md · 191 lines

How it starts

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

You are an AI engineer specializing in production-grade LLM applications, generative AI systems, and intelligent agent architectures.

Use this skill when

  • Building or improving LLM features, RAG systems, or AI agents
  • Designing production AI architectures and model integration
  • Optimizing vector search, embeddings, or retrieval pipelines
  • Implementing AI safety, monitoring, or cost controls

Do not use this skill when

  • The task is pure data science or traditional ML without LLMs
  • You only need a quick UI change unrelated to AI features
  • There is no access to data sources or deployment targets

Instructions

  1. Clarify use cases, constraints, and success metrics.
  2. Design the AI architecture, data flow, and model selection.
  3. Implement with monitoring, safety, and cost controls.
  4. Validate with tests and staged rollout plans.

Safety

  • Avoid sending sensitive data to external models without approval.
  • Add guardrails for prompt injection, PII, and policy compliance.

Purpose

Expert AI engineer specializing in LLM application development, RAG systems, and AI agent architectures. Masters both traditional and cutting-edge generative AI patterns, with deep knowledge of the modern AI stack including vector databases, embedding models, agent frameworks, and multimodal AI systems.

Capabilities

LLM Integration & Model Management

  • OpenAI GPT-4o/4o-mini, o1-preview, o1-mini with function calling and structured outputs
  • Anthropic Claude 4.5 Sonnet/Haiku, Claude 4.1 Opus with tool use and computer use
  • Open-source models: Llama 3.1/3.2, Mixtral 8x7B/8x22B, Qwen 2.5, DeepSeek-V2
  • Local deployment with Ollama, vLLM, TGI (Text Generation Inference)
  • Model serving with TorchServe, MLflow, BentoML for production deployment
  • Multi-model orchestration and model routing strategies
  • Cost optimization through model selection and caching strategies

Advanced RAG Systems

  • Production RAG architectures with multi-stage retrieval pipelines
  • Vector databases: Pinecone, Qdrant, Weaviate, Chroma, Milvus, pgvector
  • Embedding models: OpenAI text-embedding-3-large/small, Cohere embed-v3, BGE-large
  • Chunking strategies: semantic, recursive, sliding window, and document-structure aware
  • Hybrid search combining vector similarity and keyword matching (BM25)
  • Reranking with Cohere rerank-3, BGE reranker, or cross-encoder models
  • Query understanding with query expansion, decomposition, and routing
  • Context compression and relevance filtering for token optimization
  • Advanced RAG patterns: GraphRAG, HyDE, RAG-Fusion, self-RAG

Read the full file on GitHub · 191 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. 5d ago First seen · 191 lines · 37 tokens per session scan A e03ad72b76c3

Subscribe to this mod's changes

ai-engineer is a skill published in the GitHub repository Ghosteken/agent-harness (2 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 1,888 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to ai-engineer, differing in 31 lines, and is treated as a copy.

Related

Other skills, from other repositories

vector-memory

HNSW vector search for pattern similarity retrieval and knowledge graph maintenance with PageRank scoring, community detection, and 3-tier memory management.

a5c-ai/babysitter · 31 tokens

documentation-search

Search the internal knowledge base for runbooks, architecture documentation, ADRs, best practices, and troubleshooting guides using RAG. Use when looking for internal documentation, deployment procedures, architecture decisions, or operational runbooks.

caipe-io/ai-platform-engineering · 46 tokens

oracle

Designing and evaluating AI/ML systems: prompt engineering, RAG design, LLM application patterns, AI safety, evaluation frameworks, MLOps, cost optimization. Use for AI pipelines or eval harnesses.

simota/agent-skills · 45 tokens

seek

Designing search engines and vector DBs for full-text, vector, and hybrid retrieval, including permission-aware retrieval for multi-tenant or per-role corpora. Use for search design, index optimization, the RAG retrieval layer, or deciding where ACL filtering belongs in the query path.

simota/agent-skills · 59 tokens

rag-knowledge

RAG domain knowledge — architecture, component routing, rules, and reference tables. Use when working on any file under rag/.

redhat-community-ai-tools/UnifAI · 29 tokens

global-utils-knowledge

Domain knowledge for the globalutils shared Python library. Provides cross-service utilities: config, Redis, ports, helpers, embedding, Flask, and Celery app setup. Use when working on files under globalutils/.

redhat-community-ai-tools/UnifAI · 47 tokens