role-ai-ml-engineer

role-ai-ml-engineer is a skill for Claude Code, Codex from oyi77/1ai-skills. It costs 45 tokens per session (2,096 once invoked), scanned A, original, MIT.

An AI and machine-learning engineering guide for designing systems that use language models, including retrieval-augmented generation (RAG), where a model retrieves relevant information before answering. It also covers prompts, model training, serving models, routing requests between providers, and agent improvement.

In plain words
What is it for?
Use it to design RAG pipelines, improve prompts, fine-tune models, route requests across model providers, serve models, and build self-improving agent runtimes.
Why use it?
It helps organise AI systems beyond simple model calls and addresses issues such as unreliable answers, inefficient context, provider failures, and production serving needs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Part of the 1ai-skills plugin — 212 skills, 4 commands shipped together

Good fit Use it to design RAG pipelines, improve prompts, fine-tune models, route requests across model providers, serve models, and build self-improving agent runtimes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oyi77/1ai-skills/role-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.

Any agent
npx skills add oyi77/1ai-skills --skill role-ai-ml-engineer
Clone the repo
git clone --depth 1 https://github.com/oyi77/1ai-skills

Made for: Claude Code, Codex.

Or install 1ai-skills, the plugin that ships this one along with the rest of its 212 skills, 4 commands.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/oyi77/1ai-skills/role-ai-ml-engineer"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-skills/role-ai-ml-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,096 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.00045 $0.02096
Opus 5.5 $0.00018 $0.00838
Sonnet 5.5 $0.00009 $0.00419
Haiku 4.5 $0.00005 $0.00210

Measured today against content hash 29296a2468ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

role-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 today.

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.

core/role-ai-ml-engineer/SKILL.md · 176 lines

How it starts

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

Overview

The role-ai-ml-engineer skill directs generative AI architecture, large language model (LLM) serving, retrieval-augmented generation (RAG) pipelines, fine-tuning protocols, and autonomous agent runtime optimization. Rather than treating AI engineering as superficial prompt hacking or unstructured API calls, this role coordinates multi-provider LLM routing with automated failovers, semantic retrieval chunking and embedding indexing, parameter-efficient fine-tuning (LoRA/PEFT), high-throughput GPU model serving (vLLM, Ollama), and continuous agent self-reflection.

[Phase 1: Task Modeling & Model Selection] ──► [Phase 2: RAG & Context Engineering] ──► [Phase 3: Prompt & Fine-Tuning Optimization]
                                                                                                        │
                  [Phase 5: Self-Reflection & SRE] ◄── [Phase 4: Serving & Model Routing] ◄────────────┘

The AI/ML engineer enforces strict evaluation gates, token efficiency budgets, hallucination mitigations, and model fallback invariants across production agent runtimes.

When to Use

  • When designing, building, or optimizing RAG pipelines (chunking, embedding models, vector databases, hybrid retrieval).
  • When establishing multi-provider LLM routing (OpenAI, Anthropic, Gemini, local models) with cost/latency balancing.
  • When formulating production prompt architectures (chain-of-thought, few-shot calibration, structured JSON schemas).
  • When fine-tuning open-source LLMs using LoRA, QLoRA, or instruction dataset curation.
  • When deploying high-performance local or cloud LLM inference engines (vLLM, TGI, llama.cpp, Ollama).
  • When implementing autonomous agent self-reflection loops, memory retrieval, and skill self-improvement.

When NOT to Use

  • When building web application frontend UI components or styling (use content/role-ui-ux-designer).
  • When managing general cloud infrastructure, VPC networking, or Kubernetes ingress (use devops/role-devops-sre-engineer).
  • When implementing application database schemas or non-AI backend APIs (use development/role-software-engineer).
  • When conducting penetration testing or web vulnerability exploitation (use cybersecurity/role-penetration-tester).

Read the full file on GitHub · 176 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. today First seen · 176 lines · 45 tokens per session scan A 29296a2468ac

Subscribe to this mod's changes

role-ai-ml-engineer is a skill published in the GitHub repository oyi77/1ai-skills (17 stars, last pushed today), licensed MIT. It adds 45 tokens to every session and 2,096 once invoked, about $0.0002 per session on Opus 5.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-10-26.

Related

Other skills, from other repositories

dspy

Build complex AI systems with declarative programming, optimize prompts automatically, create modular RAG systems and agents with DSPy - Stanford NLP's framework for systematic LM programming.

synthetic-sciences/openscience · 35 tokens

ai-engineer

Builds production AI/ML systems — model training, fine-tuning, MLOps pipelines, model serving, evaluation frameworks, RAG optimization, and agent orchestration at scale. Use when the user asks to build, train, or deploy ML models, set up MLOps pipelines, optimize RAG systems, create inference endpoints, or design…

buiphucminhtam/forgewright · 78 tokens

ai-engineering-toolkit

Overview of six AI engineering workflows: prompt evaluation (8-dimension scoring), context budget planning, RAG pipeline design, agent security audit (65-point checklist), eval harness building, and product sense coaching.

sickn33/agentic-awesome-skills · 47 tokens

execution-hygiene

Runs computations so they finish, reproduce and fit the machine that will re-execute them, detaching long jobs through computejob instead of blocking or sleeping shells, checkpointing so reruns resume, fixing seeds and capping BLAS and OpenMP threads, streaming large tables with explicit dtypes, writing outputs…

synthetic-sciences/openscience · 150 tokens

generate-image

Generates or edits images with the native generateimage tool (Nano Banana Pro through Ace or a Gemini key, GPT Image 2 through an OpenAI key), for illustrations, cover art, graphical abstracts, conceptual visuals, photo-style figures and edits of existing images, saved straight into the workspace and checked before…

synthetic-sciences/openscience · 103 tokens

tinker-training-cost

Calculates training costs for Tinker fine-tuning jobs. Use when estimating costs for Tinker LLM training, counting tokens in datasets, or comparing Tinker model training prices. Tokenizes datasets using the correct model tokenizer and provides accurate cost estimates.

synthetic-sciences/openscience · 55 tokens