[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M783DVAQT26CPYP6GF5XPAJ5":3,"skill-same:01M783DVAQT26CPYP6GF5XPAJ5":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M783DVAQT26CPYP6GF5XPAJ5","agent-evaluation",null,"Use this when you need to EVALUATE OR IMPROVE or OPTIMIZE an existing LLM agent's output quality - including improving tool selection accuracy, answer quality, reducing costs, or fixing issues where the agent gives wrong\u002Fincomplete responses. Evaluates agents systematically using MLflow evaluation with datasets, scorers, and tracing. IMPORTANT - Always also load the instrumenting-with-mlflow-tracing skill before starting any work. Covers end-to-end evaluation workflow or individual components (tracing setup, dataset creation, scorer definition, evaluation execution).","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fskills_sh\u002Fs\u002Fskills-sh_mlflow_skills_agent-evaluation\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: agent-evaluation\ndescription: Use this when you need to EVALUATE OR IMPROVE or OPTIMIZE an existing LLM agent's output quality - including improving tool selection accuracy, answer quality, reducing costs, or fixing issues where the agent gives wrong\u002Fincomplete responses. Evaluates agents systematically using MLflow evaluation with datasets, scorers, and tracing. IMPORTANT - Always also load the instrumenting-with-mlflow-tracing skill before starting any work. Covers end-to-end evaluation workflow or individual components (tracing setup, dataset creation, scorer definition, evaluation execution).\nallowed-tools: Read, Write, Bash, Grep, Glob, WebFetch\n---\n\n# Agent Evaluation with MLflow\n\nComprehensive guide for evaluating GenAI agents with MLflow. Use this skill for the complete evaluation workflow or individual components - tracing setup, environment configuration, dataset creation, scorer definition, or evaluation execution. Each section can be used independently based on your needs.\n\n## ⛔ CRITICAL: Must Use MLflow APIs\n\n**DO NOT create custom evaluation frameworks.** You MUST use MLflow's native APIs:\n\n- **Datasets**: Use `mlflow.genai.datasets.create_dataset()` - NOT custom test case files\n- **Scorers**: Use `mlflow.genai.scorers` and `mlflow.genai.judges.make_judge()` - NOT custom scorer functions\n- **Evaluation**: Use `mlflow.genai.evaluate()` - NOT custom evaluation loops\n- **Scripts**: Use the provided `scripts\u002F` directory templates - NOT custom `evaluation\u002F` directories\n\n**Why?** MLflow tracks everything (datasets, scorers, traces, results) in the experiment. Custom frameworks bypass this and lose all observability.\n\nIf you're tempted to create `evaluation\u002Feval_dataset.py` or similar custom files, STOP. Use `scripts\u002Fcreate_dataset_template.py` instead.\n\n## Table of Contents\n\n1. [Quick Start](#quick-start)\n2. [Documentation Access Protocol](#documentation-access-protocol)\n3. [Setup Overview](#setup-overview)\n4. [Evaluation Workflow](#evaluation-workflow)\n5. [References](#references)\n\n## Quick Start\n\n**⚠️ REMINDER: Use MLflow APIs from this skill. Do not create custom evaluation frameworks.**\n\n**Setup (prerequisite)**: Install MLflow 3.8+, configure environment, integrate tracing\n\n**Evaluation workflow in 5 steps** (each uses MLflow APIs):\n\n1. **Understand**: Run agent, inspect traces, understand purpose\n2. **Scorers**: Select and register scorers for quality criteria\n3. **Dataset**: ALWAYS discover existing datasets first, only create new if needed\n3.5. **Dry Run**: Run 3 questions first — catch broken tools and misconfigured scorers before full eval\n4. **Evaluate**: Run agent on dataset, apply scorers, analyze results\n\n## Command Conventions\n\n**Always use `uv run` for MLflow and Python commands:**\n\n```bash\nuv run mlflow --version          # MLflow CLI commands\nuv run python scripts\u002Fxxx.py     # Python script execution\nuv run python -c \"...\"           # Python one-liners\n```\n\nThis ensures commands run in the correct environment with proper dependencies.\n\n**CRITICAL: Separate stderr from stdout when capturing CLI output:**\n\nWhen saving CLI command output to files for parsing (JSON, CSV, etc.), always redirect stderr separately to avoid mixing logs with structured data:\n\n```bash\n# Save both separately for debugging\nuv run mlflow traces evaluate ... --output json > results.json 2> evaluation.log\n```\n\n## Documentation Access Protocol\n\n**All MLflow documentation must be accessed through llms.txt:**\n\n1. Start at: `https:\u002F\u002Fmlflow.org\u002Fdocs\u002Flatest\u002Fllms.txt`\n2. Query llms.txt for your topic with specific prompt\n3. If llms.txt references another doc, use WebFetch with that URL\n4. Do not use WebSearch - use WebFetch with llms.txt first\n\n**This applies to all steps**, especially:\n\n- Dataset creation (read GenAI dataset docs from llms.txt)\n- Scorer registration (check MLflow docs for scorer APIs)\n- Evaluation execution (understand mlflow.genai.evaluate API)\n\n## Discovering Agent Structure\n\n**Each project has unique structure.** Use dynamic exploration instead of assumptions:\n\n### Find Agent Entry Points\n```bash\n# Search for main agent functions\ngrep -r \"def.*agent\" . --include=\"*.py\"\ngrep -r \"def (run|stream|handle|process)\" . --include=\"*.py\"\n\n# Check common locations\nls main.py app.py src\u002F*\u002Fagent.py 2>\u002Fdev\u002Fnull\n\n# Look for API routes\ngrep -r \"@app\\.(get|post)\" . --include=\"*.py\"  # FastAPI\u002FFlask\ngrep -r \"def.*route\" . --include=\"*.py\"\n```\n\n### Understand Project Structure\n```bash\n# Check entry points in package config\ncat pyproject.toml setup.py 2>\u002Fdev\u002Fnull | grep -A 5 \"scripts\\|entry_points\"\n\n# Read project documentation\ncat README.md docs\u002F*.md 2>\u002Fdev\u002Fnull | head -100\n\n# Explore main directories\nls -la src\u002F app\u002F agent\u002F 2>\u002Fdev\u002Fnull\n```\n\n## Setup Overview\n\n### Pre-check: Use Existing Environment\n\n**Before doing ANY setup, check if `MLFLOW_TRACKING_URI` and `MLFLOW_EXPERIMENT_ID` are already set:**\n\n```bash\necho \"MLFLOW_TRACKING_URI=$MLFLOW_TRACKING_URI\"\necho \"MLFLOW_EXPERIMENT_ID=$MLFLOW_EXPERIMENT_ID\"\n```\n\n**If BOTH are already set, skip Steps 1-2 entirely.** The environment is pre-configured. Do NOT run `setup_mlflow.py`, do NOT create a `.env` file, do NOT override these values. Go directly to Step 3 (tracing integration) and the evaluation workflow.\n\n### Setup Steps (only if environment is NOT pre-configured)\n\n1. **Install MLflow** (version >=3.8.0)\n2. **Configure environment** (tracking URI and experiment)\n   - **Guide**: Follow `references\u002Fsetup-guide.md` Steps 1-2\n3. **Integrate tracing** (autolog and @mlflow.trace decorators)\n   - ⚠️ **MANDATORY**: Use the `instrumenting-with-mlflow-tracing` skill for tracing setup\n   - ✓ **VERIFY**: Run `scripts\u002Fvalidate_tracing_runtime.py` after implementing\n\n⚠️ **Tracing must work before evaluation.** If tracing fails, stop and troubleshoot.\n\n**Checkpoint - verify before proceeding:**\n\n- [ ] MLflow >=3.8.0 installed\n- [ ] MLFLOW_TRACKING_URI and MLFLOW_EXPERIMENT_ID set\n- [ ] Autolog enabled and @mlflow.trace decorators added\n- [ ] Test run creates a trace (verify trace ID is not None)\n\n**Validation scripts:**\n```bash\nuv run python scripts\u002Fvalidate_environment.py  # Check MLflow install, env vars, connectivity\nuv run python scripts\u002Fvalidate_auth.py         # Test authentication before expensive operations\n```\n\n## Evaluation Workflow\n\n### Step 1: Agent Interview (REQUIRED — do not skip)\n\nBefore doing anything else, ask the user these questions. Do NOT proceed until you have answers.\n\n**Required:**\n1. \"What does your agent do? Describe its purpose in 1-2 sentences.\"\n2. \"What are the 2-3 most important things it needs to get right?\"\n3. \"Are there common failure modes you've already noticed?\"\n\n**Use answers to:**\n- Derive scorer names and criteria (do not invent them)\n- Write the `agent_description` parameter for `generate_evals_df`\n- Set evaluation priorities\n\n**If running in automated mode:** Read agent purpose from the codebase (SKILL.md, README, or main entry point docstring). Still surface what you found and confirm before proceeding.\n\n### Step 2: Define Quality Scorers\n\n1. **Check registered scorers in your experiment:**\n   ```bash\n   uv run mlflow scorers list -x $MLFLOW_EXPERIMENT_ID\n   ```\n\n**IMPORTANT: if there are registered scorers in the experiment then they must be used for evaluation.**\n\n2. **Select additional built-in scorers that apply to the agent** \n\nSee `references\u002Fscorers.md` for the built-in scorers. Select any that are useful for assessing the agent's quality and that are not already registered. \n\n3. **Create additional custom scorers as needed**\n\nIf needed, create additional scorers using the `make_judge()` API. See `references\u002Fscorers.md` on how to create custom scorers and `references\u002Fscorers-constraints.md` for best practices.\n\n> ⚠️ **CRITICAL — Scorer Return Values:** Scorers MUST instruct the LLM judge to return `\"yes\"` or `\"no\"` (or booleans\u002Fnumerics). Return values of `\"pass\"` or `\"fail\"` are **silently cast to `None`** by `_cast_assessment_value_to_float` and **excluded from `results.metrics`** with no error or warning — results simply disappear. See `references\u002Fscorers-constraints.md` Constraint 2 for the full list of safe vs. broken return values.\n\n4. **REQUIRED: Register new scorers before evaluation** using Python API:\n   \n   ```python\n   from mlflow.genai.judges import make_judge\n   from mlflow.genai.scorers import BuiltinScorerName\n   import os\n\n   scorer = make_judge(...)  # Or, scorer = BuiltinScorerName()\n   scorer.register()\n   ```\n\n** IMPORTANT:  See `references\u002Fscorers.md` → \"Model Selection for Scorers\" to configure the `model` parameter of scorers before registration.\n\n⚠️ **Scorers MUST be registered before evaluation.** Inline scorers that aren't registered won't appear in `mlflow scorers list` and won't be reusable.\n\n5. **Verify registration:**\n   ```bash\n   uv run mlflow scorers list -x $MLFLOW_EXPERIMENT_ID  # Should show your scorers\n   ```\n\n### Step 3: Prepare Evaluation Dataset\n\n**ALWAYS discover existing datasets first** to prevent duplicate work:\n\n1. **Run dataset discovery** (mandatory):\n\n   ```bash\n   uv run python scripts\u002Flist_datasets.py  # Lists, compares, recommends datasets\n   uv run python scripts\u002Flist_datasets.py --format json  # Machine-readable output\n   uv run python scripts\u002Flist_datasets.py --help  # All options\n   ```\n\n2. **Present findings to user**:\n\n   - Show all discovered datasets with their characteristics (size, topics covered)\n   - If datasets found, highlight most relevant options based on agent type\n\n3. **Ask user about existing datasets**:\n\n   - \"I found [N] existing evaluation dataset(s). Do you want to use one of these? (y\u002Fn)\"\n   - If yes: Ask which dataset to use and record the dataset name — skip to Step 3.5\n   - If no: Proceed to Phase A below\n\n**If creating a new dataset, use the two-phase approach below.**\n\n---\n\n#### Phase A: Sanity Check (5 questions — always run first)\n\nCreate a minimal 5-question dataset manually from the Step 1 interview answers. The goal is to confirm the pipeline works end-to-end before investing in large-scale generation.\n\n```python\nimport mlflow\nfrom mlflow.genai.datasets import create_dataset\n\n# Derive 5 representative questions directly from the agent's stated purpose\n# and known failure modes identified in Step 1\nsanity_records = [\n    {\"inputs\": {\"query\": \"\u003Cquestion 1 from interview>\"}, \"expected_response\": \"\u003Cexpected answer>\"},\n    {\"inputs\": {\"query\": \"\u003Cquestion 2 from interview>\"}, \"expected_response\": \"\u003Cexpected answer>\"},\n    # ... 5 total\n]\n\nsanity_dataset = create_dataset(\n    records=sanity_records,\n    name=\"sanity-check-5q\",\n)\n```\n\nRun evaluation on this dataset (see Step 4), then **present results to the user** with this framing:\n\n> \"This is a sanity check — 5 questions confirm the pipeline works but aren't statistically meaningful. Proceeding to Phase B to generate a proper evaluation set.\"\n\nOnly proceed to Phase B once Phase A completes without errors.\n\n---\n\n#### Phase B: Proper Evaluation Dataset (100+ questions — run after Phase A passes)\n\nGenerate questions from the agent's actual corpus rather than inventing them from scratch. The approach depends on whether the project uses Databricks or OSS MLflow.\n\n**On Databricks** — use `generate_evals_df` to synthesize questions from the agent's document corpus:\n\n```python\nfrom databricks.agents.evals import generate_evals_df, estimate_synthetic_num_evals\nimport mlflow\n\n# agent_description comes from Step 1 interview answers\nagent_description = \"\u003Cagent purpose from interview>\"\n\n# docs_df: a Spark or pandas DataFrame with a \"content\" column containing\n# the documents\u002Fchunks the agent retrieves from (e.g., your Vector Search index)\nevals = generate_evals_df(\n    docs=docs_df,\n    num_evals=100,\n    agent_description=agent_description,\n)\n\n# Merge into MLflow dataset — don't create a separate dataset\ndataset = mlflow.genai.datasets.create_dataset(name=\"generated-evals-100q\")\ndataset.merge_records(evals)\n```\n\nTo estimate the right `num_evals` before generating:\n\n```python\nrecommended = estimate_synthetic_num_evals(docs_df)\nprint(f\"Recommended num_evals: {recommended}\")\n```\n\n**Dataset size guidance:**\n- **\u003C30 questions**: not statistically meaningful — avoid drawing conclusions\n- **50–100 questions**: adequate for catching regressions, suitable for most agents\n- **200+ questions**: recommended when comparing model variants or scoring multiple dimensions\n\n**On OSS MLflow** — use RAGAS `TestsetGenerator` to generate from your document corpus:\n\n```python\nfrom ragas.testset import TestsetGenerator\nfrom ragas.llms import LangchainLLMWrapper\nfrom ragas.embeddings import LangchainEmbeddingsWrapper\n\ngenerator = TestsetGenerator(\n    llm=LangchainLLMWrapper(your_llm),\n    embedding_model=LangchainEmbeddingsWrapper(your_embeddings),\n)\ntestset = generator.generate_with_langchain_docs(docs, testset_size=100)\nevals_df = testset.to_pandas()\n\n# Convert to MLflow dataset schema and merge\nimport mlflow\nrecords = [\n    {\"inputs\": {\"query\": row[\"user_input\"]}, \"expected_response\": row[\"reference\"]}\n    for _, row in evals_df.iterrows()\n]\ndataset = mlflow.genai.datasets.create_dataset(name=\"generated-evals-100q\")\ndataset.merge_records(records)\n```\n\n**If no document corpus is available** — ask the user to provide 50–100 representative queries from production logs or usage history. These are more realistic than synthetic questions and are preferable when available.\n\n---\n\n**IMPORTANT**: Do not skip dataset discovery. Always run `list_datasets.py` first, even if you plan to create a new dataset. This prevents duplicate work and ensures users are aware of existing evaluation datasets.\n\n**For complete dataset guide:** See `references\u002Fdataset-preparation.md`\n\n**Checkpoint - verify before proceeding:**\n\n- [ ] Scorers have been registered\n- [ ] Phase A sanity check passed (pipeline runs end-to-end)\n- [ ] Phase B dataset created with 50+ questions (or existing dataset selected)\n\n### Step 3.5: Dry Run (REQUIRED before full eval)\n\nRun evaluation on **3 questions** from the dataset before committing to the full run. This catches broken tools, misconfigured scorers, and auth failures early — before they silently corrupt 100-question results.\n\nIf you completed Phase A above, the pipeline is already validated — focus the dry run on scorer output only.\n\n```python\nimport mlflow\n\ndataset = mlflow.genai.datasets.get_dataset(name=\"\u003Cyour-dataset-name>\")\ndry_run_records = dataset.df.head(3)\n```\n\nRun `mlflow.genai.evaluate()` on these 3 records using the same wrapper and scorers as the full eval.\n\n**For each response, check:**\n\n1. **Tool calls** — Did the agent call any tools? If it called zero tools on questions that require retrieval, tools are likely broken (403s, rate limits, missing credentials).\n2. **Response quality** — Are responses empty or generic (\"I don't know\", \"I can't help with that\")? Empty responses score as irrelevant and will skew the full eval.\n3. **Scorer output** — Did all 3 scores come back as `0` or `None`? If so, the scorer is misconfigured (check return values — `\"pass\"`\u002F`\"fail\"` are silently cast to `None`; use `\"yes\"`\u002F`\"no\"` instead).\n\n**Decision gate:**\n\n- **If dry run shows tool failures or empty responses:** Stop. Fix the underlying issue (auth, tool config, retrieval) before proceeding. Do not run the full eval on broken infrastructure.\n- **If all 3 scorer outputs are 0 or None:** Stop. Debug scorer return values and re-register before proceeding.\n- **If dry run passes:** Report to the user: *\"Dry run passed (3\u002F3 responses non-empty, tools called, scores non-zero). Proceeding to full eval.\"* Then continue to Step 4.\n\n> **Why this matters:** Tool failures (403s from docs scraping, GitHub API rate limits) produce empty agent responses that score as 0. Running a 100-question eval only to discover all tools were failing wastes time and produces misleading results. The dry run catches this in under a minute.\n\n---\n\n### Step 4: Run Evaluation\n\n> **Large datasets (50+ questions)?** See `references\u002Fthroughput-guide.md` for throughput optimization — covers parallelism env vars, async predict functions, and dataset splitting for 200+ question evals.\n\n#### 4a. Estimate Runtime Before Starting\n\nBefore launching evaluation, tell the user how long it will take:\n\n1. **Count the dataset questions:**\n   ```python\n   import mlflow\n   dataset = mlflow.genai.datasets.get_dataset(name=\"\u003Cyour-dataset-name>\")\n   print(f\"Dataset size: {len(dataset.df)} questions\")\n   ```\n\n2. **Calculate the estimate** — each question runs the agent once and the judge scorer once:\n   - Opus-class judge models (e.g. `claude-opus-4`): ~45–90s per question\n   - Sonnet-class judge models (e.g. `claude-sonnet-4`): ~20–45s per question\n   - Multiple scorers per question add time proportionally\n\n   ```\n   Estimated time = N questions × 30–60s per question ÷ parallelism factor (typically 4–8x)\n   ```\n\n3. **Tell the user before starting:**\n   > \"This dataset has N questions. At ~30–60s per question with typical parallelism, evaluation will take approximately **X–Y minutes**. I'll run it as a background task so you can continue working — I'll summarize the results when it's done.\"\n\n#### 4b. Generate the Evaluation Script\n\n```bash\n# Generate evaluation script (specify module and entry point)\nuv run python scripts\u002Frun_evaluation_template.py \\\n  --module mlflow_agent.agent \\\n  --entry-point run_agent\n```\n\nThe generated script creates a wrapper function that:\n- Accepts keyword arguments matching the dataset's input keys\n- Provides any additional arguments the agent needs (like `llm_provider`)\n- Runs `mlflow.genai.evaluate(data=df, predict_fn=wrapper, scorers=registered_scorers)`\n- Saves results to `evaluation_results.csv`\n\n⚠️ **CRITICAL: wrapper Signature Must Match Dataset Input Keys**\n\nMLflow calls `predict_fn(**inputs)` - it unpacks the inputs dict as keyword arguments.\n\n| Dataset Record | MLflow Calls | predict_fn Must Be |\n|----------------|--------------|-------------------|\n| `{\"inputs\": {\"query\": \"...\"}}` | `predict_fn(query=\"...\")` | `def wrapper(query):` |\n| `{\"inputs\": {\"question\": \"...\", \"context\": \"...\"}}` | `predict_fn(question=\"...\", context=\"...\")` | `def wrapper(question, context):` |\n\n**Common Mistake (WRONG):**\n```python\ndef wrapper(inputs):  # ❌ WRONG - inputs is NOT a dict\n    return agent(inputs[\"query\"])\n```\n\n#### 4c. Launch as a Background Sub-Agent\n\nRun the evaluation as a background sub-agent so the main session stays available. Use the Agent tool with `run_in_background: true`:\n\n**Sub-agent instructions (pass these verbatim):**\n```\nRun the agent evaluation and write results to scratchpad.\n\nSteps:\n1. cd \u003Cproject-directory>\n2. Run: uv run python run_agent_evaluation.py\n3. When complete, write a summary to scratchpad\u002Feval-results.md with:\n   - Exit status (success or error message)\n   - Path to results file (evaluation_results.csv)\n   - Wall-clock time taken\n4. Return only: \"Evaluation complete. Results written to scratchpad\u002Feval-results.md\"\n```\n\n**In the main session, poll for completion** by checking for the scratchpad file rather than blocking:\n\n```python\n# Poll every 30s using Glob\n# Glob(\"scratchpad\u002Feval-results.md\")\n# When the file appears, read it and proceed to analysis\n```\n\nDo NOT use TaskOutput to wait for the background agent — that dumps the full transcript (~10–20k tokens) into the main context.\n\n#### 4d. Analyze Results (after evaluation completes)\n\nOnce `scratchpad\u002Feval-results.md` appears, run analysis:\n\n```bash\n# Pattern detection, failure analysis, recommendations\n# Reads the CSV produced by mlflow.genai.evaluate() above\nuv run python scripts\u002Fanalyze_results.py evaluation_results.csv\n```\n\nGenerates `evaluation_report.md` with per-scorer pass rates and improvement suggestions.\n\nThe script reads `{scorer_name}\u002Fvalue` and `{scorer_name}\u002Frationale` columns from the CSV.\nIt also accepts the legacy JSON format from `mlflow traces evaluate` for backward compatibility:\n```bash\nuv run python scripts\u002Fanalyze_results.py evaluation_results.json  # legacy format\nuv run python scripts\u002Fanalyze_results.py evaluation_results.csv --output my_report.md  # custom output\n```\n\n## References\n\nDetailed guides in `references\u002F` (load as needed):\n\n- **setup-guide.md** - Environment setup (MLflow install, tracking URI configuration)\n- **Tracing**: Use the `instrumenting-with-mlflow-tracing` skill (authoritative guide for autolog, decorators, session tracking, verification)\n- **dataset-preparation.md** - Dataset schema, APIs, creation, Unity Catalog\n- **scorers.md** - Built-in vs custom scorers, registration, testing\n- **scorers-constraints.md** - CLI requirements for custom scorers (yes\u002Fno format, templates)\n- **troubleshooting.md** - Common errors by phase with solutions\n- **throughput-guide.md** - Parallelism env vars, async predict_fn, dataset splitting for 200+ question evals\n\nScripts are self-documenting - run with `--help` for usage details.\n","# Agent Evaluation with MLflow\n\nComprehensive guide for evaluating GenAI agents with MLflow. Use this skill for the complete evaluation workflow or individual components - tracing setup, environment configuration, dataset creation, scorer definition, or evaluation execution. Each section can be used independently based on your needs.\n\n## ⛔ CRITICAL: Must Use MLflow APIs\n\n**DO NOT create custom evaluation frameworks.** You MUST use MLflow's native APIs:\n\n- **Datasets**: Use `mlflow.genai.datasets.create_dataset()` - NOT custom test case files\n- **Scorers**: Use `mlflow.genai.scorers` and `mlflow.genai.judges.make_judge()` - NOT custom scorer functions\n- **Evaluation**: Use `mlflow.genai.evaluate()` - NOT custom evaluation loops\n- **Scripts**: Use the provided `scripts\u002F` directory templates - NOT custom `evaluation\u002F` directories\n\n**Why?** MLflow tracks everything (datasets, scorers, traces, results) in the experiment. Custom frameworks bypass this and lose all observability.\n\nIf you're tempted to create `evaluation\u002Feval_dataset.py` or similar custom files, STOP. Use `scripts\u002Fcreate_dataset_template.py` instead.\n\n## Table of Contents\n\n1. [Quick Start](#quick-start)\n2. [Documentation Access Protocol](#documentation-access-protocol)\n3. [Setup Overview](#setup-overview)\n4. [Evaluation Workflow](#evaluation-workflow)\n5. [References](#references)\n\n## Quick Start\n\n**⚠️ REMINDER: Use MLflow APIs from this skill. Do not create custom evaluation frameworks.**\n\n**Setup (prerequisite)**: Install MLflow 3.8+, configure environment, integrate tracing\n\n**Evaluation workflow in 5 steps** (each uses MLflow APIs):\n\n1. **Understand**: Run agent, inspect traces, understand purpose\n2. **Scorers**: Select and register scorers for quality criteria\n3. **Dataset**: ALWAYS discover existing datasets first, only create new if needed\n3.5. **Dry Run**: Run 3 questions first — catch broken tools and misconfigured scorers before full eval\n4. **Evaluate**: Run agent on dataset, apply scorers, analyze results\n\n## Command Conventions\n\n**Always use `uv run` for MLflow and Python commands:**\n\n```bash\nuv run mlflow --version          # MLflow CLI commands\nuv run python scripts\u002Fxxx.py     # Python script execution\nuv run python -c \"...\"           # Python one-liners\n```\n\nThis ensures commands run in the correct environment with proper dependencies.\n\n**CRITICAL: Separate stderr from stdout when capturing CLI output:**\n\nWhen saving CLI command output to files for parsing (JSON, CSV, etc.), always redirect stderr separately to avoid mixing logs with structured data:\n\n```bash\n# Save both separately for debugging\nuv run mlflow traces evaluate ... --output json > results.json 2> evaluation.log\n```\n\n## Documentation Access Protocol\n\n**All MLflow documentation must be accessed through llms.txt:**\n\n1. Start at: `https:\u002F\u002Fmlflow.org\u002Fdocs\u002Flatest\u002Fllms.txt`\n2. Query llms.txt for your topic with specific prompt\n3. If llms.txt references another doc, use WebFetch with that URL\n4. Do not use WebSearch - use WebFetch with llms.txt first\n\n**This applies to all steps**, especially:\n\n- Dataset creation (read GenAI dataset docs from llms.txt)\n- Scorer registration (check MLflow docs for scorer APIs)\n- Evaluation execution (understand mlflow.genai.evaluate API)\n\n## Discovering Agent Structure\n\n**Each project has unique structure.** Use dynamic exploration instead of assumptions:\n\n### Find Agent Entry Points\n```bash\n# Search for main agent functions\ngrep -r \"def.*agent\" . --include=\"*.py\"\ngrep -r \"def (run|stream|handle|process)\" . --include=\"*.py\"\n\n# Check common locations\nls main.py app.py src\u002F*\u002Fagent.py 2>\u002Fdev\u002Fnull\n\n# Look for API routes\ngrep -r \"@app\\.(get|post)\" . --include=\"*.py\"  # FastAPI\u002FFlask\ngrep -r \"def.*route\" . --include=\"*.py\"\n```\n\n### Understand Project Structure\n```bash\n# Check entry points in package config\ncat pyproject.toml setup.py 2>\u002Fdev\u002Fnull | grep -A 5 \"scripts\\|entry_points\"\n\n# Read project documentation\ncat README.md docs\u002F*.md 2>\u002Fdev\u002Fnull | head -100\n\n# Explore main directories\nls -la src\u002F app\u002F agent\u002F 2>\u002Fdev\u002Fnull\n```\n\n## Setup Overview\n\n### Pre-check: Use Existing Environment\n\n**Before doing ANY setup, check if `MLFLOW_TRACKING_URI` and `MLFLOW_EXPERIMENT_ID` are already set:**\n\n```bash\necho \"MLFLOW_TRACKING_URI=$MLFLOW_TRACKING_URI\"\necho \"MLFLOW_EXPERIMENT_ID=$MLFLOW_EXPERIMENT_ID\"\n```\n\n**If BOTH are already set, skip Steps 1-2 entirely.** The environment is pre-configured. Do NOT run `setup_mlflow.py`, do NOT create a `.env` file, do NOT override these values. Go directly to Step 3 (tracing integration) and the evaluation workflow.\n\n### Setup Steps (only if environment is NOT pre-configured)\n\n1. **Install MLflow** (version >=3.8.0)\n2. **Configure environment** (tracking URI and experiment)\n   - **Guide**: Follow `references\u002Fsetup-guide.md` Steps 1-2\n3. **Integrate tracing** (autolog and @mlflow.trace decorators)\n   - ⚠️ **MANDATORY**: Use the `instrumenting-with-mlflow-tracing` skill for tracing setup\n   - ✓ **VERIFY**: Run `scripts\u002Fvalidate_tracing_runtime.py` after implementing\n\n⚠️ **Tracing must work before evaluation.** If tracing fails, stop and troubleshoot.\n\n**Checkpoint - verify before proceeding:**\n\n- [ ] MLflow >=3.8.0 installed\n- [ ] MLFLOW_TRACKING_URI and MLFLOW_EXPERIMENT_ID set\n- [ ] Autolog enabled and @mlflow.trace decorators added\n- [ ] Test run creates a trace (verify trace ID is not None)\n\n**Validation scripts:**\n```bash\nuv run python scripts\u002Fvalidate_environment.py  # Check MLflow install, env vars, connectivity\nuv run python scripts\u002Fvalidate_auth.py         # Test authentication before expensive operations\n```\n\n## Evaluation Workflow\n\n### Step 1: Agent Interview (REQUIRED — do not skip)\n\nBefore doing anything else, ask the user these questions. Do NOT proceed until you have answers.\n\n**Required:**\n1. \"What does your agent do? Describe its purpose in 1-2 sentences.\"\n2. \"What are the 2-3 most important things it needs to get right?\"\n3. \"Are there common failure modes you've already noticed?\"\n\n**Use answers to:**\n- Derive scorer names and criteria (do not invent them)\n- Write the `agent_description` parameter for `generate_evals_df`\n- Set evaluation priorities\n\n**If running in automated mode:** Read agent purpose from the codebase (SKILL.md, README, or main entry point docstring). Still surface what you found and confirm before proceeding.\n\n### Step 2: Define Quality Scorers\n\n1. **Check registered scorers in your experiment:**\n   ```bash\n   uv run mlflow scorers list -x $MLFLOW_EXPERIMENT_ID\n   ```\n\n**IMPORTANT: if there are registered scorers in the experiment then they must be used for evaluation.**\n\n2. **Select additional built-in scorers that apply to the agent** \n\nSee `references\u002Fscorers.md` for the built-in scorers. Select any that are useful for assessing the agent's quality and that are not already registered. \n\n3. **Create additional custom scorers as needed**\n\nIf needed, create additional scorers using the `make_judge()` API. See `references\u002Fscorers.md` on how to create custom scorers and `references\u002Fscorers-constraints.md` for best practices.\n\n> ⚠️ **CRITICAL — Scorer Return Values:** Scorers MUST instruct the LLM judge to return `\"yes\"` or `\"no\"` (or booleans\u002Fnumerics). Return values of `\"pass\"` or `\"fail\"` are **silently cast to `None`** by `_cast_assessment_value_to_float` and **excluded from `results.metrics`** with no error or warning — results simply disappear. See `references\u002Fscorers-constraints.md` Constraint 2 for the full list of safe vs. broken return values.\n\n4. **REQUIRED: Register new scorers before evaluation** using Python API:\n   \n   ```python\n   from mlflow.genai.judges import make_judge\n   from mlflow.genai.scorers import BuiltinScorerName\n   import os\n\n   scorer = make_judge(...)  # Or, scorer = BuiltinScorerName()\n   scorer.register()\n   ```\n\n** IMPORTANT:  See `references\u002Fscorers.md` → \"Model Selection for Scorers\" to configure the `model` parameter of scorers before registration.\n\n⚠️ **Scorers MUST be registered before evaluation.** Inline scorers that aren't registered won't appear in `mlflow scorers list` and won't be reusable.\n\n5. **Verify registration:**\n   ```bash\n   uv run mlflow scorers list -x $MLFLOW_EXPERIMENT_ID  # Should show your scorers\n   ```\n\n### Step 3: Prepare Evaluation Dataset\n\n**ALWAYS discover existing datasets first** to prevent duplicate work:\n\n1. **Run dataset discovery** (mandatory):\n\n   ```bash\n   uv run python scripts\u002Flist_datasets.py  # Lists, compares, recommends datasets\n   uv run python scripts\u002Flist_datasets.py --format json  # Machine-readable output\n   uv run python scripts\u002Flist_datasets.py --help  # All options\n   ```\n\n2. **Present findings to user**:\n\n   - Show all discovered datasets with their characteristics (size, topics covered)\n   - If datasets found, highlight most relevant options based on agent type\n\n3. **Ask user about existing datasets**:\n\n   - \"I found [N] existing evaluation dataset(s). Do you want to use one of these? (y\u002Fn)\"\n   - If yes: Ask which dataset to use and record the dataset name — skip to Step 3.5\n   - If no: Proceed to Phase A below\n\n**If creating a new dataset, use the two-phase approach below.**\n\n---\n\n#### Phase A: Sanity Check (5 questions — always run first)\n\nCreate a minimal 5-question dataset manually from the Step 1 interview answers. The goal is to confirm the pipeline works end-to-end before investing in large-scale generation.\n\n```python\nimport mlflow\nfrom mlflow.genai.datasets import create_dataset\n\n# Derive 5 representative questions directly from the agent's stated purpose\n# and known failure modes identified in Step 1\nsanity_records = [\n    {\"inputs\": {\"query\": \"\u003Cquestion 1 from interview>\"}, \"expected_response\": \"\u003Cexpected answer>\"},\n    {\"inputs\": {\"query\": \"\u003Cquestion 2 from interview>\"}, \"expected_response\": \"\u003Cexpected answer>\"},\n    # ... 5 total\n]\n\nsanity_dataset = create_dataset(\n    records=sanity_records,\n    name=\"sanity-check-5q\",\n)\n```\n\nRun evaluation on this dataset (see Step 4), then **present results to the user** with this framing:\n\n> \"This is a sanity check — 5 questions confirm the pipeline works but aren't statistically meaningful. Proceeding to Phase B to generate a proper evaluation set.\"\n\nOnly proceed to Phase B once Phase A completes without errors.\n\n---\n\n#### Phase B: Proper Evaluation Dataset (100+ questions — run after Phase A passes)\n\nGenerate questions from the agent's actual corpus rather than inventing them from scratch. The approach depends on whether the project uses Databricks or OSS MLflow.\n\n**On Databricks** — use `generate_evals_df` to synthesize questions from the agent's document corpus:\n\n```python\nfrom databricks.agents.evals import generate_evals_df, estimate_synthetic_num_evals\nimport mlflow\n\n# agent_description comes from Step 1 interview answers\nagent_description = \"\u003Cagent purpose from interview>\"\n\n# docs_df: a Spark or pandas DataFrame with a \"content\" column containing\n# the documents\u002Fchunks the agent retrieves from (e.g., your Vector Search index)\nevals = generate_evals_df(\n    docs=docs_df,\n    num_evals=100,\n    agent_description=agent_description,\n)\n\n# Merge into MLflow dataset — don't create a separate dataset\ndataset = mlflow.genai.datasets.create_dataset(name=\"generated-evals-100q\")\ndataset.merge_records(evals)\n```\n\nTo estimate the right `num_evals` before generating:\n\n```python\nrecommended = estimate_synthetic_num_evals(docs_df)\nprint(f\"Recommended num_evals: {recommended}\")\n```\n\n**Dataset size guidance:**\n- **\u003C30 questions**: not statistically meaningful — avoid drawing conclusions\n- **50–100 questions**: adequate for catching regressions, suitable for most agents\n- **200+ questions**: recommended when comparing model variants or scoring multiple dimensions\n\n**On OSS MLflow** — use RAGAS `TestsetGenerator` to generate from your document corpus:\n\n```python\nfrom ragas.testset import TestsetGenerator\nfrom ragas.llms import LangchainLLMWrapper\nfrom ragas.embeddings import LangchainEmbeddingsWrapper\n\ngenerator = TestsetGenerator(\n    llm=LangchainLLMWrapper(your_llm),\n    embedding_model=LangchainEmbeddingsWrapper(your_embeddings),\n)\ntestset = generator.generate_with_langchain_docs(docs, testset_size=100)\nevals_df = testset.to_pandas()\n\n# Convert to MLflow dataset schema and merge\nimport mlflow\nrecords = [\n    {\"inputs\": {\"query\": row[\"user_input\"]}, \"expected_response\": row[\"reference\"]}\n    for _, row in evals_df.iterrows()\n]\ndataset = mlflow.genai.datasets.create_dataset(name=\"generated-evals-100q\")\ndataset.merge_records(records)\n```\n\n**If no document corpus is available** — ask the user to provide 50–100 representative queries from production logs or usage history. These are more realistic than synthetic questions and are preferable when available.\n\n---\n\n**IMPORTANT**: Do not skip dataset discovery. Always run `list_datasets.py` first, even if you plan to create a new dataset. This prevents duplicate work and ensures users are aware of existing evaluation datasets.\n\n**For complete dataset guide:** See `references\u002Fdataset-preparation.md`\n\n**Checkpoint - verify before proceeding:**\n\n- [ ] Scorers have been registered\n- [ ] Phase A sanity check passed (pipeline runs end-to-end)\n- [ ] Phase B dataset created with 50+ questions (or existing dataset selected)\n\n### Step 3.5: Dry Run (REQUIRED before full eval)\n\nRun evaluation on **3 questions** from the dataset before committing to the full run. This catches broken tools, misconfigured scorers, and auth failures early — before they silently corrupt 100-question results.\n\nIf you completed Phase A above, the pipeline is already validated — focus the dry run on scorer output only.\n\n```python\nimport mlflow\n\ndataset = mlflow.genai.datasets.get_dataset(name=\"\u003Cyour-dataset-name>\")\ndry_run_records = dataset.df.head(3)\n```\n\nRun `mlflow.genai.evaluate()` on these 3 records using the same wrapper and scorers as the full eval.\n\n**For each response, check:**\n\n1. **Tool calls** — Did the agent call any tools? If it called zero tools on questions that require retrieval, tools are likely broken (403s, rate limits, missing credentials).\n2. **Response quality** — Are responses empty or generic (\"I don't know\", \"I can't help with that\")? Empty responses score as irrelevant and will skew the full eval.\n3. **Scorer output** — Did all 3 scores come back as `0` or `None`? If so, the scorer is misconfigured (check return values — `\"pass\"`\u002F`\"fail\"` are silently cast to `None`; use `\"yes\"`\u002F`\"no\"` instead).\n\n**Decision gate:**\n\n- **If dry run shows tool failures or empty responses:** Stop. Fix the underlying issue (auth, tool config, retrieval) before proceeding. Do not run the full eval on broken infrastructure.\n- **If all 3 scorer outputs are 0 or None:** Stop. Debug scorer return values and re-register before proceeding.\n- **If dry run passes:** Report to the user: *\"Dry run passed (3\u002F3 responses non-empty, tools called, scores non-zero). Proceeding to full eval.\"* Then continue to Step 4.\n\n> **Why this matters:** Tool failures (403s from docs scraping, GitHub API rate limits) produce empty agent responses that score as 0. Running a 100-question eval only to discover all tools were failing wastes time and produces misleading results. The dry run catches this in under a minute.\n\n---\n\n### Step 4: Run Evaluation\n\n> **Large datasets (50+ questions)?** See `references\u002Fthroughput-guide.md` for throughput optimization — covers parallelism env vars, async predict functions, and dataset splitting for 200+ question evals.\n\n#### 4a. Estimate Runtime Before Starting\n\nBefore launching evaluation, tell the user how long it will take:\n\n1. **Count the dataset questions:**\n   ```python\n   import mlflow\n   dataset = mlflow.genai.datasets.get_dataset(name=\"\u003Cyour-dataset-name>\")\n   print(f\"Dataset size: {len(dataset.df)} questions\")\n   ```\n\n2. **Calculate the estimate** — each question runs the agent once and the judge scorer once:\n   - Opus-class judge models (e.g. `claude-opus-4`): ~45–90s per question\n   - Sonnet-class judge models (e.g. `claude-sonnet-4`): ~20–45s per question\n   - Multiple scorers per question add time proportionally\n\n   ```\n   Estimated time = N questions × 30–60s per question ÷ parallelism factor (typically 4–8x)\n   ```\n\n3. **Tell the user before starting:**\n   > \"This dataset has N questions. At ~30–60s per question with typical parallelism, evaluation will take approximately **X–Y minutes**. I'll run it as a background task so you can continue working — I'll summarize the results when it's done.\"\n\n#### 4b. Generate the Evaluation Script\n\n```bash\n# Generate evaluation script (specify module and entry point)\nuv run python scripts\u002Frun_evaluation_template.py \\\n  --module mlflow_agent.agent \\\n  --entry-point run_agent\n```\n\nThe generated script creates a wrapper function that:\n- Accepts keyword arguments matching the dataset's input keys\n- Provides any additional arguments the agent needs (like `llm_provider`)\n- Runs `mlflow.genai.evaluate(data=df, predict_fn=wrapper, scorers=registered_scorers)`\n- Saves results to `evaluation_results.csv`\n\n⚠️ **CRITICAL: wrapper Signature Must Match Dataset Input Keys**\n\nMLflow calls `predict_fn(**inputs)` - it unpacks the inputs dict as keyword arguments.\n\n| Dataset Record | MLflow Calls | predict_fn Must Be |\n|----------------|--------------|-------------------|\n| `{\"inputs\": {\"query\": \"...\"}}` | `predict_fn(query=\"...\")` | `def wrapper(query):` |\n| `{\"inputs\": {\"question\": \"...\", \"context\": \"...\"}}` | `predict_fn(question=\"...\", context=\"...\")` | `def wrapper(question, context):` |\n\n**Common Mistake (WRONG):**\n```python\ndef wrapper(inputs):  # ❌ WRONG - inputs is NOT a dict\n    return agent(inputs[\"query\"])\n```\n\n#### 4c. Launch as a Background Sub-Agent\n\nRun the evaluation as a background sub-agent so the main session stays available. Use the Agent tool with `run_in_background: true`:\n\n**Sub-agent instructions (pass these verbatim):**\n```\nRun the agent evaluation and write results to scratchpad.\n\nSteps:\n1. cd \u003Cproject-directory>\n2. Run: uv run python run_agent_evaluation.py\n3. When complete, write a summary to scratchpad\u002Feval-results.md with:\n   - Exit status (success or error message)\n   - Path to results file (evaluation_results.csv)\n   - Wall-clock time taken\n4. Return only: \"Evaluation complete. Results written to scratchpad\u002Feval-results.md\"\n```\n\n**In the main session, poll for completion** by checking for the scratchpad file rather than blocking:\n\n```python\n# Poll every 30s using Glob\n# Glob(\"scratchpad\u002Feval-results.md\")\n# When the file appears, read it and proceed to analysis\n```\n\nDo NOT use TaskOutput to wait for the background agent — that dumps the full transcript (~10–20k tokens) into the main context.\n\n#### 4d. Analyze Results (after evaluation completes)\n\nOnce `scratchpad\u002Feval-results.md` appears, run analysis:\n\n```bash\n# Pattern detection, failure analysis, recommendations\n# Reads the CSV produced by mlflow.genai.evaluate() above\nuv run python scripts\u002Fanalyze_results.py evaluation_results.csv\n```\n\nGenerates `evaluation_report.md` with per-scorer pass rates and improvement suggestions.\n\nThe script reads `{scorer_name}\u002Fvalue` and `{scorer_name}\u002Frationale` columns from the CSV.\nIt also accepts the legacy JSON format from `mlflow traces evaluate` for backward compatibility:\n```bash\nuv run python scripts\u002Fanalyze_results.py evaluation_results.json  # legacy format\nuv run python scripts\u002Fanalyze_results.py evaluation_results.csv --output my_report.md  # custom output\n```\n\n## References\n\nDetailed guides in `references\u002F` (load as needed):\n\n- **setup-guide.md** - Environment setup (MLflow install, tracking URI configuration)\n- **Tracing**: Use the `instrumenting-with-mlflow-tracing` skill (authoritative guide for autolog, decorators, session tracking, verification)\n- **dataset-preparation.md** - Dataset schema, APIs, creation, Unity Catalog\n- **scorers.md** - Built-in vs custom scorers, registration, testing\n- **scorers-constraints.md** - CLI requirements for custom scorers (yes\u002Fno format, templates)\n- **troubleshooting.md** - Common errors by phase with solutions\n- **throughput-guide.md** - Parallelism env vars, async predict_fn, dataset splitting for 200+ question evals\n\nScripts are self-documenting - run with `--help` for usage details.\n",{"name":5,"description":7,"allowed-tools":24},"Read, Write, Bash, Grep, Glob, WebFetch","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fskills_sh\u002Fs\u002Fskills-sh_mlflow_skills_agent-evaluation",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill agent-evaluation",{"tool":40,"command":41},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill agent-evaluation",{"tool":43,"command":44},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill agent-evaluation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fskills_sh\u002Fs\u002Fskills-sh_mlflow_skills_agent-evaluation\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]