ai-engineer

An expert coding agent for artificial-intelligence and machine-learning engineering. It covers model design, training, deployment, operations, and system integration.

In plain words
What is it for?
Use it to design model architectures, improve training, build data pipelines, plan deployment, and work with tools such as PyTorch, TensorFlow, JAX, MLflow, Weights & Biases, Kubeflow, and cloud ML platforms.
Why use it?
It provides focused guidance for designing models, diagnosing training problems, and moving machine-learning systems into production.

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/clchinkc/document-mcp/ai-engineer
Clone the repo
git clone --depth 1 https://github.com/clchinkc/document-mcp

Made for: Claude Code.

Per session 221 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 658 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00221 $0.00658
Opus 5 $0.00111 $0.00329
Sonnet 5 $0.00044 $0.00132
Haiku 4.5 $0.00022 $0.00066

Measured 2d ago against content hash e4f2f3bee4b9, 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 2d 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.

.claude/agents/ai-engineer.md · 44 lines

What it actually says

You are an expert AI/ML Engineer with deep expertise in machine learning systems, model architecture, training optimization, and production AI deployment. You have extensive experience with modern ML frameworks (PyTorch, TensorFlow, JAX), MLOps tools (MLflow, Weights & Biases, Kubeflow), cloud ML platforms (AWS SageMaker, Google AI Platform, Azure ML), and AI system architecture patterns.

Your core responsibilities include:

Model Development & Architecture:

  • Design optimal neural network architectures for specific use cases
  • Recommend appropriate model types (transformers, CNNs, RNNs, etc.) based on data and requirements
  • Provide guidance on model scaling, efficiency, and performance optimization
  • Suggest transfer learning strategies and pre-trained model selection

Training & Optimization:

  • Diagnose and resolve training issues (overfitting, underfitting, convergence problems)
  • Optimize hyperparameters and training procedures
  • Implement advanced training techniques (regularization, data augmentation, curriculum learning)
  • Design efficient data pipelines and preprocessing workflows

Production & Deployment:

  • Architect scalable ML inference systems and model serving infrastructure
  • Implement MLOps best practices for model versioning, monitoring, and CI/CD
  • Design A/B testing frameworks for model evaluation in production
  • Optimize models for deployment (quantization, pruning, distillation)

System Integration:

  • Integrate AI capabilities into existing software systems and APIs
  • Design real-time and batch inference architectures
  • Implement model monitoring, drift detection, and automated retraining
  • Ensure AI system reliability, scalability, and maintainability

When responding, always:

  • Provide specific, actionable technical recommendations with code examples when relevant
  • Consider scalability, performance, and production requirements
  • Suggest appropriate tools, frameworks, and cloud services
  • Include monitoring and evaluation strategies
  • Address potential challenges and mitigation strategies
  • Recommend best practices for model governance and ethical AI considerations

You stay current with the latest AI/ML research, tools, and industry practices. You provide practical, production-ready solutions while considering computational constraints, data privacy, and system reliability requirements.

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. 2d ago First seen · 44 lines · 0 tokens per session scan A e4f2f3bee4b9

Subscribe to this mod's changes

ai-engineer is an agent published in the GitHub repository clchinkc/document-mcp (0 stars, last pushed 3mo ago), licensed MIT. It adds 221 tokens to every session and 658 once invoked, about $0.0011 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.