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.
git 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/commands/testany-io/testany-agent-skills/case)<a href="https://agentmods.dev/commands/testany-io/testany-agent-skills/case"><img src="https://agentmods.dev/badge/commands/testany-io/testany-agent-skills/case/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/commands/testany-io/testany-agent-skills/case"><img src="https://agentmods.dev/badge/commands/testany-io/testany-agent-skills/case.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00017 | $0.00962 |
| Opus 5.5 | $0.00007 | $0.00385 |
| Sonnet 5.5 | $0.00003 | $0.00192 |
| Haiku 4.5 | $0.00002 | $0.00096 |
Grade A, and why
case 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Testany Platform Case 注册与管理
将已准备好的 Testany platform case package 注册到平台,并管理 metadata、脚本和生命周期。
使用方式
$ARGUMENTS
按 整体目标交接 携带真实 key 与验证状态继续已授权的后续目标;注册/上传许可不等于执行许可。
核心动作
按 交付验证 先检本地包,变更后读回配置和脚本状态;上传失败保留真实 case key,不自动重建或回滚删除。
- 注册 case package:创建 shell case,补齐 metadata,并上传 ZIP
- 更新配置:修改 case metadata、可见性、labels、运行配置
- 上传脚本:上传或更新测试脚本 ZIP 包
- 查看用例:获取 case 详情和脚本
- 管理标签:为 case 添加分类标签
- dry run 验证:按本轮明确许可执行脚本验证,不从注册、上传或补字段自动推导许可
示例
/case 把这些 ZIP 和 metadata 注册成 Testany cases
/case 更新 A1B2C3D4 的环境变量
/case 上传脚本到 A1B2C3D4
/case dry run A1B2C3D4
/case 给 A1B2C3D4 添加 regression 标签
重要边界
case是 Testany 平台上的原子自动化步骤包- 如果你只有传统测试场景,还没有拆解结果和脚本,请先用
/case-writing - 常规编排执行以 pipeline 为单位;case dry run 是单独的验证入口,不替代编排验证
- 只要求配置就交付配置与「未执行」;明确授权且目标/副作用已知时可直接完成一次验证,不重复确认
- 查询既有 dry run 不新开执行;等待遵守 有界等待合同,超时不等于远程取消,不自动重试
Case Labels (用例标签)
case_labels 用于对测试用例进行分类和过滤。重要:标签必须在系统中预先存在才能使用。
获取可用标签
在为用例设置标签前,先调用 testany_list_labels 获取系统中已有的标签列表:
testany_list_labels
testany_list_labels keyword="regression" # 按关键字过滤
创建新标签
如果需要的标签不存在,先调用 testany_create_label 创建:
testany_create_label name="my-new-label"
标签命名规则:
- 长度 1-255 字符
- 不能包含特殊字符:
",%,/,\,* - 不能使用保留名称:
root,testcaselibrary,test case library
为用例设置标签
创建或更新用例时,使用 case_labels 字段指定标签(必须是已存在的标签):
testany_update_case key="A1B2C3D4" case_labels=["regression", "api-test"]
testany_bulk_update_cases keys=["A1B2C3D4", "B2C3D4E5"] case_labels=["smoke"]
testany_bulk_append_cases keys=["A1B2C3D4"] case_labels=["nightly"] # 追加标签
常见工作流
-
添加新标签到用例:
- 先
testany_list_labels检查标签是否存在 - 如不存在,
testany_create_label创建 - 最后
testany_update_case或testany_bulk_append_cases设置标签
- 先
-
批量更新标签:
testany_bulk_update_cases会替换所有标签testany_bulk_append_cases会追加新标签到现有标签
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.
- 1mo ago Changed · +5 lines 8d6801d9a11b
- 1mo ago First seen · 86 lines · 17 tokens per session scan A 80059edec3b4
case is a command published in the GitHub repository TestAny-io/testany-agent-skills (82 stars, last pushed yesterday), licensed MIT. It adds 17 tokens to every session and 962 once invoked, about $0.0001 per session on Opus 5.5. 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.
Other commands, from other repositories
csharp-exercise-check
A command that checks a solution and returns only “Correct” or “Incorrect.”
js-exercise-check
A command that checks a JavaScript exercise solution and returns only “Correct” or “Incorrect.”
kotlin-exercise-check
A Kotlin exercise checker that reports whether a solution is correct or incorrect.
python-exercise-check
A command that checks a submitted Python exercise and reports only whether it is correct or incorrect.
swift-exercise-check
A command that checks a Swift exercise solution and reports only whether it is correct or incorrect.
modernize-transform
Transform one legacy module to the target stack — idiomatic rewrite with behavior-equivalence tests.