[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69BKWP6SD1EWM9AGXW54EYN":3,"skill-same:01M69BKWP6SD1EWM9AGXW54EYN":96},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":47,"ownerHtmlUrl":48,"ownerBlogUrl":49,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M69BKWP6SD1EWM9AGXW54EYN","benchmark-qed-autoq","RAG 基准问题生成","Generate benchmark questions and assertions from input data using benchmark-qed. Use when: generating local, global, linked, or activity questions for RAG benchmarking, creating assertions for existing questions, computing assertion statistics, or running the autoq question generation pipeline. Also use when the user wants to create a benchmark question set, build evaluation questions from a dataset, or generate ground-truth assertions — even if they don't say \"autoq\" explicitly.","使用 benchmark-qed 从输入数据生成基准问题和断言。适用于：为 RAG 基准测试生成局部、全局、链接或活动问题，为现有问题创建断言，计算断言统计，或运行 autoq 问题生成流水线。当用户想要创建基准问题集、从数据集构建评估问题，或生成真值断言时也适用——即使用户没有明确说“autoq”。","microsoft\u002Fbenchmark-qed","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69BKPH852RZE1NZFW5DFVSA",104,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\u002Fblob\u002Fmain\u002F.apm\u002Fskills\u002Fbenchmark-qed-autoq\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BZTWSXAPNKVKA1N0JGMJK2","AI 模型评估与基准测试","SCENARIO","使用场景",[31,32,33,34,35,36],"benchmark","benchmark qed autoq","benchmarking","rag","create","generate","2026-11-10 10:12:30",false,"---\nname: benchmark-qed-autoq\ndescription: >\n  Generate benchmark questions and assertions from input data using\n  benchmark-qed. Use when: generating local, global, linked, or activity\n  questions for RAG benchmarking, creating assertions for existing questions,\n  computing assertion statistics, or running the autoq question generation\n  pipeline. Also use when the user wants to create a benchmark question set,\n  build evaluation questions from a dataset, or generate ground-truth\n  assertions — even if they don't say \"autoq\" explicitly.\n---\n\n# Benchmark-QED Question Generation (autoq)\n\nGenerate benchmark questions and assertions from input data for RAG evaluation.\n\n## Prerequisites\n\n- A configured workspace with valid `settings.yaml` (use the `\u002Fbenchmark-qed-setup` skill first)\n- A configured workspace with valid `settings.yaml` (use the `benchmark-qed-setup` skill to initialize and configure)\n- Input data (CSV or JSON) in the workspace `input\u002F` directory\n- Valid LLM API key in `.env`\n\nRun all commands with:\n```bash\nuvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed \u003Ccommand>\n```\n\n## Commands\n\n### 1. Generate Questions (`autoq`)\n\nThe main question generation pipeline. Generates benchmark questions from input data.\n\n```bash\nuvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed autoq \u003Csettings.yaml> \u003Coutput_dir> [OPTIONS]\n```\n\n**Options:**\n| Option | Description |\n|--------|-------------|\n| `--generation-types` | Specific types to generate (repeatable). CLI default: all except `data_linked`, but this skill always includes `data_linked` |\n| `--print-model-usage` | Print LLM token usage stats |\n| `--account-url` | Azure Blob Storage account URL (managed-identity auth). Use when the config path is a `blob:\u002F\u002F` URI. Falls back to `$AZURE_STORAGE_ACCOUNT_URL`. |\n| `--connection-string` | Azure Blob Storage connection string. Use when the config path is a `blob:\u002F\u002F` URI. Falls back to `$AZURE_STORAGE_CONNECTION_STRING`. |\n\n**Generation types and dependencies:**\n\n```\ndata_local          ← runs first (no dependencies)\n  ├── data_global   ← requires data_local candidates\n  └── data_linked   ← requires data_local candidates (not in CLI default, but this skill always includes it)\n\nactivity_local      ← auto-generates activity_context first\n  └── activity_global ← requires activity_local\n```\n\n> **Important**: `data_linked` is NOT included in the CLI's default generation types, but this skill always generates it by passing all types explicitly. If running the CLI manually, you must add `--generation-types data_linked`.\n\n> **Gotcha**: `data_global` and `data_linked` silently return empty results if `data_local` hasn't been run first. Always run `data_local` before these types.\n\n**Examples:**\n```bash\n# Run from the workspace directory (paths resolve relative to settings.yaml location)\ncd .\u002Fworkspace\n\n# Generate all types including data_linked (skill default)\nuvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed autoq settings.yaml .\u002Foutput \\\n  --generation-types data_local --generation-types data_global --generation-types data_linked \\\n  --generation-types activity_local --generation-types activity_global\n\n# Generate only local questions\nuvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed autoq settings.yaml .\u002Foutput --generation-types data_local\n\n# Generate local + linked questions\nuvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed autoq settings.yaml .\u002Foutput \\\n  --generation-types data_local --generation-types data_linked\n\n# Use a config stored in Azure Blob Storage\nuvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed autoq \\\n  blob:\u002F\u002Fmy-container\u002Fconfigs\u002Fsettings.yaml .\u002Foutput \\\n  --account-url https:\u002F\u002Fmyaccount.blob.core.windows.net \\\n  --generation-types data_local\n```\n\n**Output structure:**\n```\noutput_dir\u002F\n├── sample_texts.parquet              # Intermediate: clustered text samples\n├── data_local_questions\u002F\n│   ├── selected_questions.json       # Final curated questions\n│   ├── selected_questions_text.json  # Human-readable version\n│   └── candidate_questions.json      # All generated candidates\n├── data_global_questions\u002F            # Same structure\n├── data_linked_questions\u002F            # Same structure + question_stats.json\n├── activity_local_questions\u002F         # Same structure\n├── activity_global_questions\u002F        # Same structure\n├── context\u002F\n│   └── activity_context_full.json    # Generated activity context\n└── model_usage.json                  # LLM token\u002Fcost tracking\n```\n\n### 2. Generate Assertions (`generate-assertions`)\n\nGenerate ground-truth assertions for existing questions (decoupled from question generation). This is a **top-level** command, not a subcommand of `autoq`.\n\n```bash\nuvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed generate-assertions \u003Csettings.yaml> \u003Cquestions.json> \u003Coutput_dir> [OPTIONS]\n```\n\n**Options:**\n| Option | Description |\n|--------|-------------|\n| `--type` \u002F `-t` | Assertion type: `local`, `global`, or `linked` (default: `local`) |\n| `--print-model-usage` | Print LLM token usage stats |\n| `--account-url` | Azure Blob Storage account URL (managed-identity auth). Use when the config path is a `blob:\u002F\u002F` URI. |\n| `--connection-string` | Azure Blob Storage connection string. Use when the config path is a `blob:\u002F\u002F` URI. |\n\n**Examples:**\n```bash\n# Run from the workspace directory (paths resolve relative to settings.yaml location)\ncd .\u002Fworkspace\n\nuvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed generate-assertions \\\n  settings.yaml \\\n  .\u002Foutput\u002Fdata_local_questions\u002Fcandidate_questions.json \\\n  .\u002Foutput\u002Fdata_local_questions\u002F \\\n  --type local\n\nuvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed generate-assertions \\\n  settings.yaml \\\n  .\u002Foutput\u002Fdata_global_questions\u002Fcandidate_questions.json \\\n  .\u002Foutput\u002Fdata_global_questions\u002F \\\n  --type global\n```\n\n### 3. Assertion Statistics (`assertion-stats`)\n\nCompute quality statistics for assertion files. This is a **top-level** command, not a subcommand of `autoq`.\n\n```bash\nuvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed assertion-stats \u003Cassertions_path> [OPTIONS]\n```\n\n**Options:**\n| Option | Description |\n|--------|-------------|\n| `--output` \u002F `-o` | Output path for stats JSON (auto-generated if omitted) |\n| `--type` \u002F `-t` | `global`, `map`, or `local` (auto-inferred if omitted) |\n| `--quiet` \u002F `-q` | Suppress console output |\n\n**Examples:**\n```bash\nuvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed assertion-stats .\u002Foutput\u002Fassertions.json\nuvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed assertion-stats .\u002Foutput\u002Fdata_global_questions\u002F -q\n```\n\n## Workflow\n\n### Standard Question Generation Flow\n\n- [ ] Step 1: Initialize workspace if needed — use the `benchmark-qed-setup` skill to create and configure the workspace. Verify `settings.yaml`, `.env`, and `input\u002F` exist.\n- [ ] Step 2: `cd \u003Cworkspace_dir>` then run question generation — `uvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed autoq settings.yaml .\u002Foutput --generation-types data_local --generation-types data_global --generation-types data_linked --generation-types activity_local --generation-types activity_global`\n- [ ] Step 3: Verify output artifacts — list `\u003Coutput_dir>` and confirm the per-type `selected_questions.json` files (see \"Output structure\" above) plus `model_usage.json` exist.\n- [ ] Step 4: (Optional) Generate additional assertions — use `generate-assertions`\n- [ ] Step 5: (Optional) Check assertion quality — use `assertion-stats`\n\n## Azure Blob Storage\n\nAll `autoq` and `generate-assertions` commands support reading config files from Azure Blob Storage using `blob:\u002F\u002F` URIs:\n\n```bash\n# Config file in blob storage — the CLI downloads the config (and sibling prompt files) to a temp directory\nuvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed autoq \\\n  blob:\u002F\u002Fmy-container\u002Fproject\u002Fsettings.yaml .\u002Foutput \\\n  --connection-string \"$AZURE_STORAGE_CONNECTION_STRING\"\n```\n\nIn addition, `settings.yaml` supports `input.storage` and `output_storage` blocks to read\u002Fwrite data from Azure Blob Storage:\n\n```yaml\n# Read input data from blob storage\ninput:\n  dataset_path: data\u002Finput.csv\n  storage:\n    type: blob\n    container_name: my-datasets\n    connection_string: ${AZURE_STORAGE_CONNECTION_STRING}\n    # Or use managed identity:\n    # account_url: https:\u002F\u002Fmyaccount.blob.core.windows.net\n\n# Write output to blob storage\noutput_storage:\n  type: blob\n  container_name: my-output\n  connection_string: ${AZURE_STORAGE_CONNECTION_STRING}\n```\n\nSee [references\u002Fconfig-reference.md](..\u002Fbenchmark-qed-setup\u002Freferences\u002Fconfig-reference.md) for full `StorageConfig` fields.\n\n## Gotchas\n\n- **Path resolution**: The `autoq` and `generate-assertions` commands resolve `output_dir` (and other relative paths) **relative to the settings.yaml file's directory**, not the current working directory. Always `cd` into the workspace directory first, or use absolute paths. For example, running `benchmark-qed autoq workspace\u002Fsettings.yaml workspace\u002Foutput` from the repo root creates output at `workspace\u002Fworkspace\u002Foutput\u002F` (not `workspace\u002Foutput\u002F`).\n- **Stale outputs**: The pipeline skips steps if output files already exist (`sample_texts.parquet`, `activity_context_full.json`). Use a fresh output directory for clean runs, or delete specific files to re-run a step.\n- **Long-running**: Question generation with large datasets can take hours. Use background execution and monitor via `model_usage.json` presence.\n- **Output is in files, not stdout**: All results are written to JSON\u002FCSV\u002FParquet files. Parse the output files, not CLI stdout.\n- **Generation ordering**: `data_global` and `data_linked` depend on `data_local`. `activity_global` depends on `activity_local`. Running dependent types without their prerequisites produces silent empty results.\n- **`data_linked` CLI opt-in**: The CLI excludes `data_linked` by default, but this skill always includes it. If running the CLI manually outside this skill, add `--generation-types data_linked`.\n- **Blob URI format**: Use `blob:\u002F\u002F\u003Ccontainer>\u002F\u003Ckey>` for config paths. The CLI downloads the config and all sibling files (prompt templates) to a temp directory so relative paths resolve correctly.\n","# Benchmark-QED Question Generation (autoq)\n\nGenerate benchmark questions and assertions from input data for RAG evaluation.\n\n## Prerequisites\n\n- A configured workspace with valid `settings.yaml` (use the `\u002Fbenchmark-qed-setup` skill first)\n- A configured workspace with valid `settings.yaml` (use the `benchmark-qed-setup` skill to initialize and configure)\n- Input data (CSV or JSON) in the workspace `input\u002F` directory\n- Valid LLM API key in `.env`\n\nRun all commands with:\n```bash\nuvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed \u003Ccommand>\n```\n\n## Commands\n\n### 1. Generate Questions (`autoq`)\n\nThe main question generation pipeline. Generates benchmark questions from input data.\n\n```bash\nuvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed autoq \u003Csettings.yaml> \u003Coutput_dir> [OPTIONS]\n```\n\n**Options:**\n| Option | Description |\n|--------|-------------|\n| `--generation-types` | Specific types to generate (repeatable). CLI default: all except `data_linked`, but this skill always includes `data_linked` |\n| `--print-model-usage` | Print LLM token usage stats |\n| `--account-url` | Azure Blob Storage account URL (managed-identity auth). Use when the config path is a `blob:\u002F\u002F` URI. Falls back to `$AZURE_STORAGE_ACCOUNT_URL`. |\n| `--connection-string` | Azure Blob Storage connection string. Use when the config path is a `blob:\u002F\u002F` URI. Falls back to `$AZURE_STORAGE_CONNECTION_STRING`. |\n\n**Generation types and dependencies:**\n\n```\ndata_local          ← runs first (no dependencies)\n  ├── data_global   ← requires data_local candidates\n  └── data_linked   ← requires data_local candidates (not in CLI default, but this skill always includes it)\n\nactivity_local      ← auto-generates activity_context first\n  └── activity_global ← requires activity_local\n```\n\n> **Important**: `data_linked` is NOT included in the CLI's default generation types, but this skill always generates it by passing all types explicitly. If running the CLI manually, you must add `--generation-types data_linked`.\n\n> **Gotcha**: `data_global` and `data_linked` silently return empty results if `data_local` hasn't been run first. Always run `data_local` before these types.\n\n**Examples:**\n```bash\n# Run from the workspace directory (paths resolve relative to settings.yaml location)\ncd .\u002Fworkspace\n\n# Generate all types including data_linked (skill default)\nuvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed autoq settings.yaml .\u002Foutput \\\n  --generation-types data_local --generation-types data_global --generation-types data_linked \\\n  --generation-types activity_local --generation-types activity_global\n\n# Generate only local questions\nuvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed autoq settings.yaml .\u002Foutput --generation-types data_local\n\n# Generate local + linked questions\nuvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed autoq settings.yaml .\u002Foutput \\\n  --generation-types data_local --generation-types data_linked\n\n# Use a config stored in Azure Blob Storage\nuvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed autoq \\\n  blob:\u002F\u002Fmy-container\u002Fconfigs\u002Fsettings.yaml .\u002Foutput \\\n  --account-url https:\u002F\u002Fmyaccount.blob.core.windows.net \\\n  --generation-types data_local\n```\n\n**Output structure:**\n```\noutput_dir\u002F\n├── sample_texts.parquet              # Intermediate: clustered text samples\n├── data_local_questions\u002F\n│   ├── selected_questions.json       # Final curated questions\n│   ├── selected_questions_text.json  # Human-readable version\n│   └── candidate_questions.json      # All generated candidates\n├── data_global_questions\u002F            # Same structure\n├── data_linked_questions\u002F            # Same structure + question_stats.json\n├── activity_local_questions\u002F         # Same structure\n├── activity_global_questions\u002F        # Same structure\n├── context\u002F\n│   └── activity_context_full.json    # Generated activity context\n└── model_usage.json                  # LLM token\u002Fcost tracking\n```\n\n### 2. Generate Assertions (`generate-assertions`)\n\nGenerate ground-truth assertions for existing questions (decoupled from question generation). This is a **top-level** command, not a subcommand of `autoq`.\n\n```bash\nuvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed generate-assertions \u003Csettings.yaml> \u003Cquestions.json> \u003Coutput_dir> [OPTIONS]\n```\n\n**Options:**\n| Option | Description |\n|--------|-------------|\n| `--type` \u002F `-t` | Assertion type: `local`, `global`, or `linked` (default: `local`) |\n| `--print-model-usage` | Print LLM token usage stats |\n| `--account-url` | Azure Blob Storage account URL (managed-identity auth). Use when the config path is a `blob:\u002F\u002F` URI. |\n| `--connection-string` | Azure Blob Storage connection string. Use when the config path is a `blob:\u002F\u002F` URI. |\n\n**Examples:**\n```bash\n# Run from the workspace directory (paths resolve relative to settings.yaml location)\ncd .\u002Fworkspace\n\nuvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed generate-assertions \\\n  settings.yaml \\\n  .\u002Foutput\u002Fdata_local_questions\u002Fcandidate_questions.json \\\n  .\u002Foutput\u002Fdata_local_questions\u002F \\\n  --type local\n\nuvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed generate-assertions \\\n  settings.yaml \\\n  .\u002Foutput\u002Fdata_global_questions\u002Fcandidate_questions.json \\\n  .\u002Foutput\u002Fdata_global_questions\u002F \\\n  --type global\n```\n\n### 3. Assertion Statistics (`assertion-stats`)\n\nCompute quality statistics for assertion files. This is a **top-level** command, not a subcommand of `autoq`.\n\n```bash\nuvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed assertion-stats \u003Cassertions_path> [OPTIONS]\n```\n\n**Options:**\n| Option | Description |\n|--------|-------------|\n| `--output` \u002F `-o` | Output path for stats JSON (auto-generated if omitted) |\n| `--type` \u002F `-t` | `global`, `map`, or `local` (auto-inferred if omitted) |\n| `--quiet` \u002F `-q` | Suppress console output |\n\n**Examples:**\n```bash\nuvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed assertion-stats .\u002Foutput\u002Fassertions.json\nuvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed assertion-stats .\u002Foutput\u002Fdata_global_questions\u002F -q\n```\n\n## Workflow\n\n### Standard Question Generation Flow\n\n- [ ] Step 1: Initialize workspace if needed — use the `benchmark-qed-setup` skill to create and configure the workspace. Verify `settings.yaml`, `.env`, and `input\u002F` exist.\n- [ ] Step 2: `cd \u003Cworkspace_dir>` then run question generation — `uvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed autoq settings.yaml .\u002Foutput --generation-types data_local --generation-types data_global --generation-types data_linked --generation-types activity_local --generation-types activity_global`\n- [ ] Step 3: Verify output artifacts — list `\u003Coutput_dir>` and confirm the per-type `selected_questions.json` files (see \"Output structure\" above) plus `model_usage.json` exist.\n- [ ] Step 4: (Optional) Generate additional assertions — use `generate-assertions`\n- [ ] Step 5: (Optional) Check assertion quality — use `assertion-stats`\n\n## Azure Blob Storage\n\nAll `autoq` and `generate-assertions` commands support reading config files from Azure Blob Storage using `blob:\u002F\u002F` URIs:\n\n```bash\n# Config file in blob storage — the CLI downloads the config (and sibling prompt files) to a temp directory\nuvx --from \"git+https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\" benchmark-qed autoq \\\n  blob:\u002F\u002Fmy-container\u002Fproject\u002Fsettings.yaml .\u002Foutput \\\n  --connection-string \"$AZURE_STORAGE_CONNECTION_STRING\"\n```\n\nIn addition, `settings.yaml` supports `input.storage` and `output_storage` blocks to read\u002Fwrite data from Azure Blob Storage:\n\n```yaml\n# Read input data from blob storage\ninput:\n  dataset_path: data\u002Finput.csv\n  storage:\n    type: blob\n    container_name: my-datasets\n    connection_string: ${AZURE_STORAGE_CONNECTION_STRING}\n    # Or use managed identity:\n    # account_url: https:\u002F\u002Fmyaccount.blob.core.windows.net\n\n# Write output to blob storage\noutput_storage:\n  type: blob\n  container_name: my-output\n  connection_string: ${AZURE_STORAGE_CONNECTION_STRING}\n```\n\nSee [references\u002Fconfig-reference.md](..\u002Fbenchmark-qed-setup\u002Freferences\u002Fconfig-reference.md) for full `StorageConfig` fields.\n\n## Gotchas\n\n- **Path resolution**: The `autoq` and `generate-assertions` commands resolve `output_dir` (and other relative paths) **relative to the settings.yaml file's directory**, not the current working directory. Always `cd` into the workspace directory first, or use absolute paths. For example, running `benchmark-qed autoq workspace\u002Fsettings.yaml workspace\u002Foutput` from the repo root creates output at `workspace\u002Fworkspace\u002Foutput\u002F` (not `workspace\u002Foutput\u002F`).\n- **Stale outputs**: The pipeline skips steps if output files already exist (`sample_texts.parquet`, `activity_context_full.json`). Use a fresh output directory for clean runs, or delete specific files to re-run a step.\n- **Long-running**: Question generation with large datasets can take hours. Use background execution and monitor via `model_usage.json` presence.\n- **Output is in files, not stdout**: All results are written to JSON\u002FCSV\u002FParquet files. Parse the output files, not CLI stdout.\n- **Generation ordering**: `data_global` and `data_linked` depend on `data_local`. `activity_global` depends on `activity_local`. Running dependent types without their prerequisites produces silent empty results.\n- **`data_linked` CLI opt-in**: The CLI excludes `data_linked` by default, but this skill always includes it. If running the CLI manually outside this skill, add `--generation-types data_linked`.\n- **Blob URI format**: Use `blob:\u002F\u002F\u003Ccontainer>\u002F\u003Ckey>` for config paths. The CLI downloads the config and all sibling files (prompt templates) to a temp directory so relative paths resolve correctly.\n",{"name":5,"description":7},"main","7366a97e7a0b2fefda7b1fbb4cc5d43c791fabaa",".apm\u002Fskills\u002Fbenchmark-qed-autoq",24,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed","https:\u002F\u002Fmicrosoft.github.io\u002Fbenchmark-qed\u002F","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-07 01:53:43",{"source":9,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add microsoft\u002Fbenchmark-qed --skill benchmark-qed-autoq",{"tool":58,"command":59},"bunx","bunx skills add microsoft\u002Fbenchmark-qed --skill benchmark-qed-autoq",{"tool":61,"command":62},"pnpm","pnpm dlx skills add microsoft\u002Fbenchmark-qed --skill benchmark-qed-autoq","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\u002Fblob\u002Fmain\u002F.apm\u002Fskills\u002Fbenchmark-qed-autoq\u002FSKILL.md",true,[66,72,76,82,86,92],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"anthropic-best-practices.md","REFERENCE","参考文档",46197,"https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Fobra_superpowers\u002Fwriting-skills\u002Fanthropic-best-practices.md",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"examples\u002FCLAUDE_MD_TESTING.md",5423,"https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Fobra_superpowers\u002Fwriting-skills\u002Fexamples\u002FCLAUDE_MD_TESTING.md",{"path":77,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":80,"sourceHtmlUrl":81},"graphviz-conventions.dot","OTHER","其他",5970,"https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Fobra_superpowers\u002Fwriting-skills\u002Fgraphviz-conventions.dot",{"path":83,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":84,"sourceHtmlUrl":85},"persuasion-principles.md",5901,"https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Fobra_superpowers\u002Fwriting-skills\u002Fpersuasion-principles.md",{"path":87,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":90,"sourceHtmlUrl":91},"render-graphs.js","SCRIPT","脚本",4968,"https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Fobra_superpowers\u002Fwriting-skills\u002Frender-graphs.js",{"path":93,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":94,"sourceHtmlUrl":95},"testing-skills-with-subagents.md",12558,"https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Fobra_superpowers\u002Fwriting-skills\u002Ftesting-skills-with-subagents.md",[97,112],{"skillNo":98,"name":99,"nameZh":100,"description":101,"descriptionZh":102,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":103,"categories":104,"keywords":107,"publishedAt":37},"01M69BKZBE6VJ6WD1HX1M7PXG8","benchmark-qed-setup","benchmark-qed 工作区配置","Initialize and configure benchmark-qed workspaces for RAG benchmarking. Use when: setting up a new benchmarking project, initializing config files for question generation or evaluation, downloading sample datasets, or modifying benchmark-qed settings.yaml configuration. Also use when the user mentions \"benchmark-qed config\", workspace setup, or needs to prepare a benchmarking environment — even if they don't say \"setup\" explicitly.","初始化并配置 benchmark-qed 工作区以进行 RAG 基准测试。使用场景：建立新的基准测试项目、初始化用于问题生成或评估的配置文件、下载示例数据集，或修改 benchmark-qed 的 settings.yaml 配置。当用户提到“benchmark-qed config”、工作区设置或需要准备基准测试环境时也使用——即使用户没有明确说出“setup”。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\u002Fblob\u002Fmain\u002F.apm\u002Fskills\u002Fbenchmark-qed-setup\u002FSKILL.md",[105,106],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[108,31,109,110,111,33,34],"setup","benchmark qed setup","config","prepare",{"skillNo":113,"name":114,"nameZh":115,"description":116,"descriptionZh":117,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":118,"categories":119,"keywords":122,"publishedAt":37},"01M69BKT1MSCAN07KS096R4DG9","benchmark-qed-autoe","RAG 系统输出评估","Evaluate RAG system outputs using benchmark-qed scoring methods. Use when: running pairwise comparisons, reference-based scoring, assertion-based evaluation (flat or hierarchical), retrieval metrics, or statistical significance tests on RAG outputs. Also use when the user wants to score, compare, or evaluate RAG methods, measure retrieval quality, or run significance tests on benchmark results — even if they don't say \"autoe\" explicitly.","使用 benchmark-qed 评分方法评估 RAG 系统输出。适用于：运行成对比较、基于参考的评分、基于断言的评估（扁平或分层）、检索指标，或对 RAG 输出进行统计显著性检验。当用户想要对 RAG 方法进行评分、比较或评估、衡量检索质量，或对基准结果进行显著性检验时也适用——即使用户没有明确说“autoe”。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fbenchmark-qed\u002Fblob\u002Fmain\u002F.apm\u002Fskills\u002Fbenchmark-qed-autoe\u002FSKILL.md",[120,121],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[31,123,34,124],"benchmark qed autoe","run"]