add-tests

add-tests is a skill for Claude Code, Codex, Cursor from MichealWayne/fe-tools. It costs 65 tokens per session (337 once invoked), scanned A, original, no licence file.

A skill for adding or updating Jest unit tests for fe-tools utility code. Jest is a JavaScript testing tool that runs small checks against code.

In plain words
What is it for?
Writing tests for new or changed functions in the web, Node.js, canvas, and AI utility packages, and checking common behavior and error cases.
Why use it?
It helps catch incorrect behavior, edge cases, and invalid-input handling when utilities change.

Skill for Claude CodeCodexCursor

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/michealwayne/fe-tools/add-tests
Any agent
npx skills add MichealWayne/fe-tools --skill add-tests
Clone the repo
git clone --depth 1 https://github.com/MichealWayne/fe-tools

Made for: Claude Code, Codex, Cursor.

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 add-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/michealwayne/fe-tools/add-tests.svg)](https://agentmods.dev/skills/michealwayne/fe-tools/add-tests)
Your own site
<a href="https://agentmods.dev/skills/michealwayne/fe-tools/add-tests"><img src="https://agentmods.dev/badge/skills/michealwayne/fe-tools/add-tests.svg" alt="Measured on agentmods" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 337 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00065 $0.00337
Opus 5 $0.00032 $0.00169
Sonnet 5 $0.00013 $0.00067
Haiku 4.5 $0.00006 $0.00034

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

Security

Grade A, and why

add-tests 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 4d 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.

utils/.cursor/skills/add-tests/SKILL.md · 35 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 4d ago First seen · 35 lines · 65 tokens per session scan A 8628edcace40

Subscribe to this mod's changes

add-tests is a skill published in the GitHub repository MichealWayne/fe-tools (207 stars, last pushed 1mo ago), with no licence file. It adds 65 tokens to every session and 337 once invoked, about $0.0003 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

pest-testing

Use this skill for Pest PHP testing in Laravel projects only. Trigger whenever any test is being written, edited, fixed, or refactored — including fixing tests that broke after a code change, adding assertions, converting PHPUnit to Pest, adding datasets, and TDD workflows. Always activate when the user asks how to…

coollabsio/coolify · 171 tokens

test-writer

Generate comprehensive Vitest tests for code examples in JavaScript concept documentation pages, following project conventions and referencing source lines.

leonardomso/33-js-concepts · 26 tokens

completion-rule

大模型代码生成任务的自动自检与纠错规则。 在代码输出后强制执行功能自测、单元测试设计和 Linter 检查。 未通过则自动修正并循环,直到全部通过或达到最大迭代次数。 适用于大模型生成或修改代码且要求正确、可测试、规范的场景。 支持 Python、TypeScript、Go、Java,语言规则通过 references 加载。.

Rain120/qq-music-api · 98 tokens

splitting-notes

Use when note files exceed 1000 lines or need better organization. Splits large note files into smaller, focused files with index files for navigation, following progressive grouping principles with clear hierarchy.

sabertaz/notes · 43 tokens

adding-notes

Add notes to the knowledge repository. Use whenever the user provides content to save (commands, config, code, CLI output, explanations) or says "add/save/note/record this", "find a place for this", "记录一下", "添加笔记". Do NOT use for creating new topics from scratch or splitting/reorganizing notes (use splitting-notes…

sabertaz/notes · 80 tokens

swarmauri-add-community-standalone

Add a second-class standalone Swarmauri package under pkgs/community. Use when Codex needs community package scaffolding, workspace membership, pyproject metadata, README branding, entry points, second-class citizenship rows, exports, tests, and validation.

swarmauri/swarmauri-sdk · 59 tokens