test

test is a skill for Claude Code, Codex from vitoworleone/claude-code-handbook. It costs 7 tokens per session (348 once invoked), scanned A, original, MIT.

A workflow for running a project’s automated tests and interpreting the results. It selects a test command based on whether the project is Python, Go, Node.js, or Rust.

In plain words
What is it for?
Use it to run the test suite, report failures by file and test name, suggest fixes, and check for missing boundary, error, empty-input, or extreme-value tests.
Why use it?
It helps separate defects in the application from incorrect tests and highlights important cases that may not yet be covered.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/vitoworleone/claude-code-handbook/test.svg)](https://agentmods.dev/skills/vitoworleone/claude-code-handbook/test)
Your own site
<a href="https://agentmods.dev/skills/vitoworleone/claude-code-handbook/test"><img src="https://agentmods.dev/badge/skills/vitoworleone/claude-code-handbook/test.svg" alt="Measured on agentmods" height="20"></a>
Per session 7 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 348 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.00007 $0.00348
Opus 5 $0.00003 $0.00174
Sonnet 5 $0.00001 $0.00070
Haiku 4.5 $0.00001 $0.00035

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

Security

Grade A, and why

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

The scan reads SKILL.md. This mod also ships 1 executable file (__init__.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

mewcode/mewcode/skills/builtins/test/SKILL.md · 39 lines

What it actually says

任务

你需要运行项目的测试套件并分析结果。

步骤

  1. 检测项目类型,按优先级查找:
    • pyproject.tomlsetup.py → Python 项目,使用 pytest
    • go.mod → Go 项目,使用 go test ./...
    • package.json → Node.js 项目,使用 npm test
    • Cargo.toml → Rust 项目,使用 cargo test
  2. 运行对应的测试命令,捕获完整输出
  3. 分析测试结果:
    • 如果全部通过:报告通过数量和覆盖率(如可用)
    • 如果有失败:区分两种失败原因: a. 代码 bug:断言期望值正确但实际值错误,说明源码有问题 b. 测试 bug:断言期望值本身就不对,或测试设置有误,说明测试需要修复
  4. 对于每个失败的测试:
    • 指出失败位置(文件名、测试名)
    • 判断是代码 bug 还是测试 bug
    • 给出具体修复建议
  5. 如果全部通过,检查是否有明显缺失的测试场景:
    • 边界值测试
    • 错误路径测试
    • 空输入/极端值测试

$ARGUMENTS

Files

What ships with it

1 file 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. 5d ago First seen · 39 lines · 7 tokens per session scan A d42cb0a885af

Subscribe to this mod's changes

test is a skill published in the GitHub repository vitoworleone/claude-code-handbook (44 stars, last pushed 2d ago), licensed MIT. It adds 7 tokens to every session and 348 once invoked, about $0.0000 per session on Opus 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.

Related

Other skills, from other repositories

verify-pr

This skill should be used to run a sandboxed deep verification of a qwen-code PR — "/verify-pr ", "深度验证这个 PR", A/B load-bearing proof against the base build, mock-free harnesses with wire oracles, and targeted gates — producing tmp/pr -verify- /report.md plus a machine-readable verdict. Designed for the token-free CI…

QwenLM/qwen-code · 89 tokens

stuck

Diagnose frozen, stuck, or slow Qwen Code sessions on this machine. Scans for problematic processes, high CPU/memory usage, hung subprocesses, and debug logs. Use /stuck or /stuck to focus on a specific process.

QwenLM/qwen-code · 57 tokens

e2e-testing

Guide for running end-to-end tests of the Qwen Code CLI, including headless mode, MCP server testing, and API traffic inspection. Use this skill whenever you need to verify CLI behavior with real model calls, reproduce user-reported bugs end-to-end, test MCP tool integrations, or inspect raw API request/response…

QwenLM/qwen-code · 94 tokens

structured-debugging

Hypothesis-driven debugging methodology for hard bugs. Use this skill whenever you're investigating non-trivial bugs, unexpected behavior, flaky tests, or tracing issues through complex systems. Activate proactively when debugging requires more than a quick glance — especially when the first attempt at a fix didn't…

QwenLM/qwen-code · 85 tokens

batch

Execute batch operations on multiple files in parallel. Automatically discovers files, splits into chunks, and processes with parallel worker agents. Use /batch followed by operation and file pattern.

QwenLM/qwen-code · 37 tokens

desktop-brand-builder

Generate a branded Qwen Code desktop package from the Tauri desktop shell using a minimal brandId and logo. Use when the user wants a custom, white-label, or rebranded desktop client, installer, DMG/EXE/AppImage/deb, or one-click brand build on top of packages/desktop-shell.

QwenLM/qwen-code · 69 tokens