testany-case-writing

testany-case-writing is a skill for Claude Code, Codex from TestAny-io/testany-agent-skills. It costs 32 tokens per session (3,005 once invoked), scanned A, original, MIT.

A case-writing assistant for Testany, a platform for running automated tests. It breaks traditional test scenarios into Testany cases and produces the scripts, metadata, and ZIP packages needed to register them.

In plain words
What is it for?
Use it to convert approved test specifications or existing test designs into Testany platform cases. It supports scenario grouping, choosing an executor, and preparing cases for an automation pipeline.
Why use it?
It helps turn broad testing descriptions into smaller, reusable automation packages. It also provides different handling depending on whether the source test specification is approved, incomplete, or only written in plain language.

Skill for Claude CodeCodex

Written for Claude Code and Codex: argument-hint in frontmatter, but also agents/openai.yaml present.

Part of the testany-bot plugin — 10 skills, 8 commands shipped together

Good fit Use it to convert approved test specifications or existing test designs into Testany platform cases. It supports scenario grouping, choosing an executor, and preparing cases for an automation pipeline.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/testany-io/testany-agent-skills/testany-case-writing
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.

Any agent
npx skills add TestAny-io/testany-agent-skills --skill testany-case-writing
Clone the repo
git clone --depth 1 https://github.com/TestAny-io/testany-agent-skills

Made for: Claude Code, Codex.

Or install testany-bot, the plugin that ships this one along with the rest of its 10 skills, 8 commands.

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 testany-case-writing

README.md
[![agentmods](https://agentmods.dev/badge/skills/testany-io/testany-agent-skills/testany-case-writing/github.svg)](https://agentmods.dev/skills/testany-io/testany-agent-skills/testany-case-writing)
Your own site
<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.

agentmods 80×15 button for testany-case-writing

Your own site · 80×15
<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>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,005 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00032 $0.03005
Opus 5 $0.00016 $0.01503
Sonnet 5 $0.00006 $0.00601
Haiku 4.5 $0.00003 $0.00300

Measured 11d ago against content hash 3f67757cad71, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

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
plugins/testany-bot/skills/testany-case-writing/SKILL.md · 297 lines

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。

上游输入优先级

按以下优先级选择输入模式:

  1. Primary:approved Test Spec + Testany Automation Handoff
    • 来自 testany-eng
    • Testany Automation Handoff.status = ready | partial
    • 这是本 skill 的首选输入
  2. Secondary:approved Test Spec,但没有 handoff
    • 可以继续,但需要自己补做 scenario grouping / executor / split decisions
  3. Fallback:用户自然语言 / 现有测试设计文档
    • 仅在前两者都没有时使用

如果输入来自 Test Spec,优先参考:

  • ../../../testany-eng/references/testany-automation-handoff-contract.md
  • Testany Automation Handoff section 中的 scenario_groups
  • source_case_idsrecommended_executorplatform_case_strategy

若输入 Test Spec 仍是 draft / in_review

  • 默认不要直接把它当正式自动化基线
  • 应先建议用户完成 testany-eng/test-reviewer
  • 只有当用户明确接受 exploratory / 草案态自动化拆分时,才继续,并显式标注为低置信度

先统一心智模型

在开始之前,先按 automation-model.md 理解对象边界:

  • 用户给出的通常是 traditional test scenario,也就是完整测试场景/业务验证目标。
  • 本 skill 产出的是 Testany platform case,也就是可复用的原子自动化步骤包。
  • pipeline 才是 Testany 的执行与编排单元。
  • triggerPlan / Manual Trigger / Gatekeeper,作用于 pipeline,而不是 case。

重要结论

  • 不要默认把“一个传统测试场景”直接写成“一个 Testany case”。
  • 先判断该场景需要拆成几个 platform cases,再写脚本和 ZIP。

职责

  • 消费传统测试场景输入:approved test-specTestany 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,先检查:

  1. Test Spec 是否为 approved
  2. 是否存在 Testany Automation Handoff
  3. Testany Automation Handoff.statusreadypartial 还是 not_planned

Read the full file on GitHub · 297 lines

Files

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.

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. 11d ago First seen · 297 lines · 32 tokens per session scan A 3f67757cad71

Subscribe to this mod's changes

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.

Related

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.

davila7/claude-code-templates · 43 tokens

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".

apache/tika · 50 tokens

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…

neuron-core/neuron-ai · 77 tokens

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.

NVIDIA/skills · 50 tokens

atmos-validation

Validate Atmos projects, components, arbitrary JSON Schema inputs, EditorConfig, and GitHub Actions; use affected-file selection and native CI annotations.

cloudposse/atmos · 31 tokens

skill-benchmark

Benchmark AI skill effectiveness by measuring implementation quality against legacy constraints.

HoangNguyen0403/agent-skills-standard · 16 tokens