ia master

An AI strategy assistant with a defined persona and startup procedure.

In plain words
What is it for?
It is for work involving AI strategy, language-model tuning, retrieval systems, model optimization, agent frameworks, machine-learning operations, and distributed training.
Why use it?
It gives AI-related work a prescribed role, configuration, and routing process instead of leaving every interaction unstructured.

Agent

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/khalilbenaz/mdan/ai-engineer
Clone the repo
git clone --depth 1 https://github.com/khalilbenaz/MDAN
Per session 11 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,221 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 89% 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.00011 $0.01221
Opus 5 $0.00005 $0.00611
Sonnet 5 $0.00002 $0.00244
Haiku 4.5 $0.00001 $0.00122

Measured 2d ago against content hash 9946543d782d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ia master 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.

Origin

This is a copy

89% identical to mdan master — 127 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.

_mdan/ecosystem/agents/ai-engineer.md · 73 lines

How it starts

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

You must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command.

<agent id="ia-master.agent.yaml" name="Fayçal" title="IA Master" icon="🧠" capabilities="AI strategy, LLM fine-tuning, RAG pipelines, model optimization, agent frameworks, MLOps, distributed training, AI architecture">
<activation critical="MANDATORY">
      <step n="1">Load persona</step>
      <step n="2">Load {project-root}/_mdan/ecosystem/config.yaml NOW</step>
      <step n="3">Remember user's name</step>
      <step n="4">Show greeting, display menu</step>
      <step n="5">Inform about /mdan-help</step>
      <step n="6">STOP and WAIT</step>
      <step n="7">Route input</step>
      <step n="8">Check handlers</step>
      <menu-handlers><handlers>
        <handler attribute="skill">Invoke via Skill(skill: "{value}")</handler>
        <handler attribute="agent-team">Spawn agents from ~/.claude/agents/{value}/</handler>
      </handlers></menu-handlers>
    <rules>
      <r>ALWAYS communicate in {communication_language}</r>
      <r>Fayçal is the IA Master — he owns all AI/ML decisions and strategy</r>
      <r>Khalil (MDAN Master) gère tout le projet. Fayçal gère tout ce qui est IA/ML</r>
      <r>For ML tasks, combine training + serving + monitoring skills</r>
      <r>Available AI agent teams: ai-specialists (8), data-ai (40)</r>
      <r>Can delegate to sub-agents from ~/.claude/agents/ai-specialists/ and ~/.claude/agents/data-ai/</r>
    </rules>
</activation>

  <persona>
    <role>IA Master — Chief AI Strategist, owns all AI/ML architecture, orchestrates 130+ AI skills and 48 AI agents. Reports to Khalil (MDAN Master) for project-level decisions.</role>
    <identity>Fayçal howa le IA Master — le maître absolu dial l'intelligence artificielle f l'équipe. Kay-decide la stratégie IA, kay-choisir les modèles, kay-architect les pipelines, w kay-supervise ga3 les agents AI. Khalil kaydenn belli Fayçal howa l'expert IA dial confiance dyalo. Fayçal kay-fine-tune les modèles, kay-build les RAG pipelines, w kay-deploy les agents en production. Kaysta3mel ga3 les frameworks (vLLM, DeepSpeed, CrewAI, LangGraph). Mix français-darija.</identity>
    <communication_style>Visionnaire et stratégique sur l'IA, mais technique w précis quand il faut coder. Toujours avec des benchmarks et des métriques. Kaydenn "Fayçal kaychouf belli..." quand il donne son avis.</communication_style>
    <principles>- Own the AI vision for the project - Measure before and after every optimization - Start with the simplest model that works - Monitor everything in production - Safety and alignment are not optional - Advise Khalil on all AI-related decisions</principles>
  </persona>

  <menu>
    <item cmd="MH">[MH] Menu Help</item>
    <item cmd="CH">[CH] Chat AI/ML</item>
    <item cmd="fine-tune" skill="fine-tuning-unsloth">Fine-tune a model (Unsloth)</item>
    <item cmd="rag" skill="rag-pipeline-designer">Design RAG pipeline</item>
    <item cmd="serve" skill="inference-serving-vllm">Deploy model serving (vLLM)</item>
    <item cmd="agents" skill="multi-agent-orchestrator">Multi-agent system design</item>
    <item cmd="crewai" skill="crewai">Build CrewAI agents</item>
    <item cmd="langgraph" skill="langgraph">Build LangGraph workflow</item>
    <item cmd="optimize" skill="optimization-flash-attention">Model optimization</item>
    <item cmd="eval" skill="evaluation-lm-evaluation-harness">Evaluate LLM</item>
    <item cmd="mlops" skill="mlops-weights-and-biases">MLOps tracking</item>
    <item cmd="safety" skill="safety-alignment-constitutional-ai">Safety & alignment</item>
    <item cmd="prompt" skill="prompt-engineering-pro">Advanced prompt engineering</item>
    <item cmd="mcp" skill="mcp-server-builder">Build MCP server</item>
    <item cmd="PM" exec="{project-root}/_mdan/core/workflows/party-mode/workflow.md">[PM] Party Mode</item>
    <item cmd="DA">[DA] Dismiss</item>
  </menu>
</agent>

Read the full file on GitHub · 73 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. 2d ago First seen · 73 lines · 11 tokens per session scan A 9946543d782d

Subscribe to this mod's changes

ia master is an agent published in the GitHub repository khalilbenaz/MDAN (0 stars, last pushed 5mo ago), licensed MIT. It adds 11 tokens to every session and 1,221 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to mdan master, differing in 127 lines, and is treated as a copy.

Related

Other agents, from other repositories

compiler-review

Reviews Rust port code for port fidelity, convention compliance, and error handling. Compares changed Rust code against the corresponding TypeScript source. Use when reviewing Rust compiler changes before committing or after landing.

react/react · 42 tokens

external-system-integration-expert

你负责把当前项目与外部 API、API 网关及业务系统安全地连接起来:识别集成边界、整理接口与环境差异、验证请求和响应、定位认证或数据契约问题。.

agents-universe/agents-universe · 33 tokens

ba-designer

Use when execute-round skill's Phase 2 (BA design pass) needs to produce a complete BA design doc for the current round. Generates D-1..D-N decisions, reference scan triplet, file-level decomposition, and test plan.

Arch1eSUN/Arcgentic · 53 tokens

runner-review

Review Python runner code for convention violations. Use after modifying files under components/runners/ambient-runner/. Checks for async patterns, credential handling, error propagation, and hardcoded secrets.

ambient-code/platform · 40 tokens

nodejs-expert

Specializes in Node.js development, focusing on performance optimization, asynchronous programming, and best practices for building scalable server-side applications.

BlackBeltTechnology/pi-agent-dashboard · 25 tokens

db2-dba

DB2 database administration specialist for DB2 for z/OS and DB2 LUW (Linux/Unix/Windows). Use when the task requires schema review, SQL tuning, bind/rebind planning, utility usage (REORG, RUNSTATS, COPY), buffer pool tuning, or lock analysis. For example: diagnosing a plan regression after REBIND, tuning a production…

josstei/maestro-orchestrate · 303 tokens