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.
npx agentmods add skills/ghosteken/agent-harness/ai-engineernpx skills add Ghosteken/agent-harness --skill ai-engineergit clone --depth 1 https://github.com/Ghosteken/agent-harnessWrote 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.
[](https://agentmods.dev/skills/ghosteken/agent-harness/ai-engineer)<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>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.
| Model | Per session | Once 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 |
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.
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.
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
- Clarify use cases, constraints, and success metrics.
- Design the AI architecture, data flow, and model selection.
- Implement with monitoring, safety, and cost controls.
- 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
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.
- 5d ago First seen · 191 lines · 37 tokens per session scan A e03ad72b76c3
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.
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.
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.
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.
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.
rag-knowledge
RAG domain knowledge — architecture, component routing, rules, and reference tables. Use when working on any file under rag/.
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/.