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.
npx skills add TestAny-io/testany-agent-skills --skill testany-case-writinggit clone --depth 1 https://github.com/TestAny-io/testany-agent-skillsWrote 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.
[](https://agentmods.dev/skills/testany-io/testany-agent-skills/testany-case-writing)<a href="https://agentmods.dev/skills/testany-io/testany-agent-skills/testany-case-writing"><img src="https://agentmods.dev/badge/skills/testany-io/testany-agent-skills/testany-case-writing/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/testany-io/testany-agent-skills/testany-case-writing"><img src="https://agentmods.dev/badge/skills/testany-io/testany-agent-skills/testany-case-writing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00032 | $0.03005 |
| Opus 5 | $0.00016 | $0.01503 |
| Sonnet 5 | $0.00006 | $0.00601 |
| Haiku 4.5 | $0.00003 | $0.00300 |
Grade A, and why
testany-case-writing scanned grade A with 1 finding 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 11d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
> - `secrets` 的 `credential_safe_key` / `credential_key` 如果未知,在注册阶段(`testany-case` skill)用 `testany_list_credential_safes` → `testany_list_credential_keys` 查询(两个工具都需要 `runtime_uuid`,返回签名 curl 由 agent 代为执行);详细流程见 `testany How it starts
The opening of the file, as written. The whole thing — 297 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Testany Platform Case Writing
将传统测试场景拆解为 Testany platform cases,并生成可注册到 Testany 平台的脚本、metadata 和 ZIP 包。
用户输入: $ARGUMENTS
宿主能力适配
- 如果宿主支持 slash command,可把
testany-case作为推荐注册入口,把testany-pipeline作为推荐编排入口。 - 如果宿主不支持 slash command,则直接在当前线程继续对应 workflow。
上游输入优先级
按以下优先级选择输入模式:
- Primary:approved Test Spec +
Testany Automation Handoff- 来自
testany-eng Testany Automation Handoff.status = ready | partial- 这是本 skill 的首选输入
- 来自
- Secondary:approved Test Spec,但没有 handoff
- 可以继续,但需要自己补做 scenario grouping / executor / split decisions
- Fallback:用户自然语言 / 现有测试设计文档
- 仅在前两者都没有时使用
如果输入来自 Test Spec,优先参考:
../../../testany-eng/references/testany-automation-handoff-contract.mdTestany Automation Handoffsection 中的scenario_groupssource_case_ids、recommended_executor、platform_case_strategy
若输入 Test Spec 仍是 draft / in_review:
- 默认不要直接把它当正式自动化基线
- 应先建议用户完成
testany-eng的/test-reviewer - 只有当用户明确接受 exploratory / 草案态自动化拆分时,才继续,并显式标注为低置信度
先统一心智模型
在开始之前,先按 automation-model.md 理解对象边界:
- 用户给出的通常是 traditional test scenario,也就是完整测试场景/业务验证目标。
- 本 skill 产出的是 Testany platform case,也就是可复用的原子自动化步骤包。
- pipeline 才是 Testany 的执行与编排单元。
- trigger 是
Plan / Manual Trigger / Gatekeeper,作用于 pipeline,而不是 case。
重要结论:
- 不要默认把“一个传统测试场景”直接写成“一个 Testany case”。
- 先判断该场景需要拆成几个 platform cases,再写脚本和 ZIP。
职责
- 消费传统测试场景输入:approved
test-spec、Testany Automation Handoff、用户自然语言、现有测试设计文档 - 判断一个场景要拆成几个 Testany platform cases
- 为每个 platform case 选择合适的 Executor
- 生成每个 platform case 的 metadata、脚本和 ZIP 包
- 产出面向下游的 automation design / decomposition summary
不负责的事情
- 不负责把 case 注册到 Testany 平台;这属于
testany-case - 不负责创建/更新 pipeline;这属于
testany-pipeline - 不负责配置 Plan / Manual Trigger / Gatekeeper;这属于
testany-trigger
工作流程
Phase 0: 判定输入模式与可信度
如果输入来自 Test Spec,先检查:
- Test Spec 是否为
approved - 是否存在
Testany Automation Handoff Testany Automation Handoff.status是ready、partial还是not_planned
What ships with it
9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 320 B
- assets/testany-logo-small.png 48 KB
- assets/testany-logo.svg 7.5 KB
- references/case-metadata-spec.md 7.5 KB
- references/executors/maven.md 3.1 KB
- references/executors/playwright.md 1.6 KB
- references/executors/postman.md 1.6 KB
- references/executors/pyres.md 2.2 KB
- references/test-design.md 6.7 KB
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.
- 11d ago First seen · 297 lines · 32 tokens per session scan A 3f67757cad71
testany-case-writing is a skill published in the GitHub repository TestAny-io/testany-agent-skills (82 stars, last pushed 3d ago), licensed MIT. It adds 32 tokens to every session and 3,005 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
research-engineer
An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.
tika-eval-compare
Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".
neuron-evaluation-engineer
Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…
jetson-validate-image
Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.
atmos-validation
Validate Atmos projects, components, arbitrary JSON Schema inputs, EditorConfig, and GitHub Actions; use affected-file selection and native CI annotations.
skill-benchmark
Benchmark AI skill effectiveness by measuring implementation quality against legacy constraints.