testing

testing is a skill for Claude Code, Codex from hollandkevint/thinkhaven. It costs 12 tokens per session (267 once invoked), scanned A, a copy of testing, Apache-2.0.

A testing guide for React user interfaces and Python backends, using tools such as Vitest, React Testing Library, and Pytest. It covers writing tests, running them, and investigating failures.

In plain words
What is it for?
Use it to test React components, backend APIs, new features, bug fixes, and changes to existing code.
Why use it?
It gives developers a consistent way to check new features, reproduce bugs, and protect refactors from breaking existing behavior.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./scripts/log-skill.sh "testing" "manual" "$$".

Good fit Use it to test React components, backend APIs, new features, bug fixes, and changes to existing code.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/hollandkevint/thinkhaven
agentmods
npx agentmods add skills/hollandkevint/thinkhaven/testing

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 testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/hollandkevint/thinkhaven/testing.svg)](https://agentmods.dev/skills/hollandkevint/thinkhaven/testing)
Your own site
<a href="https://agentmods.dev/skills/hollandkevint/thinkhaven/testing"><img src="https://agentmods.dev/badge/skills/hollandkevint/thinkhaven/testing.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 267 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 88% copy Near-identical to another mod 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.00012 $0.00267
Opus 5 $0.00006 $0.00133
Sonnet 5 $0.00002 $0.00053
Haiku 4.5 $0.00001 $0.00027

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

Security

Grade A, and why

testing 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 3d 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.

Origin

This is a copy

88% identical to testing — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/testing/SKILL.md · 44 lines

What it actually says

Testing Skill

Overview

Guidance and templates for testing in thinkhavenn. Covers React Component testing (Vitest/RTL) and Backend testing (Python/Pytest).

When To Use

  • Writing new code: Every new feature needs tests.
  • Fixing bugs: Create a reproduction test first.
  • Refactoring: Ensure green tests before and after.

Instrumentation

# Log usage when using this skill
./scripts/log-skill.sh "testing" "manual" "$$"

What do you want to do?

  1. Test React Componentsworkflows/run-frontend-tests.md
  2. Test Backend/APIworkflows/run-backend-tests.md
  3. Write a New Testtemplates/component-test.template.tsx
  4. Fix Test Failuresreferences/vitest-patterns.md

Quick Commands

# Frontend (Unit/Integration)
npm test
npm test -- -t "ComponentName"  # Run specific test

# Backend (API)
pytest
pytest -k "test_name"
Files

What ships with it

2 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. 3d ago First seen · 44 lines · 12 tokens per session scan A bf0d75ecbf38

Subscribe to this mod's changes

testing is a skill published in the GitHub repository hollandkevint/thinkhaven (5 stars, last pushed 8d ago), licensed Apache-2.0. It adds 12 tokens to every session and 267 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to testing, differing in 2 lines, and is treated as a copy.