test-orchestrator

test-orchestrator is a skill for Claude Code, Codex from miniidealab/openlogos. It costs 0 tokens per session (1,743 once invoked), scanned A, original, Apache-2.0.

A testing workflow for API orchestration tests, which send HTTP requests through several API steps to check complete business scenarios. It covers normal, error, and edge cases.

In plain words
What is it for?
Use it to design and run API acceptance tests from scenario diagrams and OpenAPI files, pass values between requests, and add mocks for declared external dependencies.
Why use it?
It helps verify that deployed APIs work across a full sequence of requests, including interactions with outside services.

Skill for Claude CodeCodex

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 skills/miniidealab/openlogos/test-orchestrator
Any agent
npx skills add miniidealab/openlogos --skill test-orchestrator
Clone the repo
git clone --depth 1 https://github.com/miniidealab/openlogos

Made for: Claude Code, Codex.

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 test-orchestrator

README.md
[![agentmods](https://agentmods.dev/badge/skills/miniidealab/openlogos/test-orchestrator.svg)](https://agentmods.dev/skills/miniidealab/openlogos/test-orchestrator)
Your own site
<a href="https://agentmods.dev/skills/miniidealab/openlogos/test-orchestrator"><img src="https://agentmods.dev/badge/skills/miniidealab/openlogos/test-orchestrator.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,743 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01743
Opus 5 $0.00000 $0.00872
Sonnet 5 $0.00000 $0.00349
Haiku 4.5 $0.00000 $0.00174

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

Security

Grade A, and why

test-orchestrator 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 5d 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.

examples/flowtask/logos/skills/test-orchestrator/SKILL.md · 143 lines

How it starts

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

Skill: Test Orchestrator

基于业务场景和时序图设计 API 编排测试用例(Phase 3 Step 3b),覆盖正常/异常/边界场景,自动识别外部依赖并应用测试策略,作为端到端 API 验收标准。仅适用于涉及 API 的项目。

与 test-writer 的关系

本 Skill 负责测试金字塔的顶层——API 编排测试(HTTP 请求级别),执行于 Phase 3 Step 3b。

底层的单元测试和场景测试(函数调用级别)由 test-writer Skill 在 Step 3a 完成。Step 3a 是所有项目的必选步骤,Step 3b(本 Skill)仅在项目涉及 API 时执行。

触发条件

  • 用户要求设计 API 编排测试
  • 用户提到 "Phase 3 Step 3b"、"API 编排"、"编排测试"
  • Step 3a(test-writer)完成后,AI 引导用户继续进入 Step 3b
  • 用户需要验收已部署的 API 代码

前置依赖

  • logos/resources/test/ 中包含测试用例规格文档(Step 3a 已完成)
  • logos/resources/prd/3-technical-plan/2-scenario-implementation/ 中包含场景时序图
  • logos/resources/api/ 中包含 API 规格(OpenAPI YAML)
  • logos-project.yaml 中包含 external_dependencies(如有)

如果项目不涉及 API(纯 CLI 工具、纯前端等),跳过此 Skill。

核心能力

  1. 从时序图和 API YAML 设计正常流程编排
  2. 基于异常用例(EX-N.M)设计异常流程编排
  3. 设计边界用例(合法但非主路径的变体)
  4. 定义变量提取和传递机制
  5. 识别外部依赖并应用测试策略:读取 logos-project.yamlexternal_dependencies,在涉及外部服务的步骤中自动插入 mock 字段
  6. 执行编排并验证结果

执行步骤

Step 1: 读取场景上下文

读取以下文件建立完整上下文:

  • 场景时序图(logos/resources/prd/3-technical-plan/2-scenario-implementation/
  • API YAML(logos/resources/api/
  • logos-project.yaml —— 重点读取 external_dependencies 字段

Step 2: 识别外部依赖

external_dependencies 中的 used_in 与当前场景编号匹配。如果当前场景涉及外部依赖:

  • 记录该依赖的 test_strategytest_config
  • 如果某个依赖声明了 used_in 但缺少 test_strategy主动询问用户测试策略

如果 logos-project.yaml 中没有 external_dependencies 字段,但时序图中存在对外部服务的调用(如发送邮件、请求支付等),也应主动提醒用户补充。

Step 3: 设计正常流程编排

按时序图的 Step 编号,逐步设计 API 调用链:

  • 每步包含 method、url、headers、body、expected_status
  • 涉及外部依赖的步骤,插入 mock 字段(见输出规范)
  • 上一步响应中需要传递的变量,使用 extract 定义提取规则

Step 4: 设计异常流程编排

为每个 EX 异常用例设计独立的编排,确保:

  • 异常场景也能覆盖外部依赖的失败情况
  • 使用 mock 字段模拟外部服务异常(如超时、返回错误等)

Step 5: 设计边界用例编排

识别合法但非主路径的变体(如密码长度刚好在边界值、空字段等),补充编排。

Step 6: 输出编排 JSON

按场景输出可执行的编排 JSON 文件。

输出规范

  • 文件格式:JSON
  • 存放位置:logos/resources/scenario/
  • 按场景分文件:user-auth.jsonpayment-flow.json
  • 编排中的每一步对应时序图的 Step 编号

mock 字段结构

当某一步涉及外部依赖时,在该 step 中添加 mock 字段:

Read the full file on GitHub · 143 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. 5d ago First seen · 143 lines · 0 tokens per session scan A 1e47b6541b46

Subscribe to this mod's changes

test-orchestrator is a skill published in the GitHub repository miniidealab/openlogos (71 stars, last pushed 8d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,743 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens