unit-testing

unit-testing is a skill for Claude Code, Codex from ateeducacion/moodle-playground. It costs 66 tokens per session (1,528 once invoked), scanned A, original, GPL-3.0.

A testing guide for Node.js’s built-in test runner, used to check small parts of an application in isolation.

In plain words
What is it for?
It supports tests for PHP code generators, service-worker helpers, runtime utilities, blueprint steps, php.run(), and MEMFS, an in-memory file system.
Why use it?
It helps write, debug, and review tests without guessing how to mock dependencies or choose suitable checks.

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/ateeducacion/moodle-playground/unit-testing
Any agent
npx skills add ateeducacion/moodle-playground --skill unit-testing
Clone the repo
git clone --depth 1 https://github.com/ateeducacion/moodle-playground

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 unit-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/ateeducacion/moodle-playground/unit-testing.svg)](https://agentmods.dev/skills/ateeducacion/moodle-playground/unit-testing)
Your own site
<a href="https://agentmods.dev/skills/ateeducacion/moodle-playground/unit-testing"><img src="https://agentmods.dev/badge/skills/ateeducacion/moodle-playground/unit-testing.svg" alt="Measured on agentmods" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,528 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.00066 $0.01528
Opus 5 $0.00033 $0.00764
Sonnet 5 $0.00013 $0.00306
Haiku 4.5 $0.00007 $0.00153

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

Security

Grade A, and why

unit-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 5d 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.

.agents/skills/unit-testing/SKILL.md · 216 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

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. 5d ago First seen · 216 lines · 66 tokens per session scan A aae45caeb12a

Subscribe to this mod's changes

unit-testing is a skill published in the GitHub repository ateeducacion/moodle-playground (11 stars, last pushed 3d ago), licensed GPL-3.0. It adds 66 tokens to every session and 1,528 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

webassembly-expert

Create production-ready WebAssembly modules for web and server environments with optimal performance and seamless JavaScript integration. Use when the user mentions WebAssembly or Wasm, WASI, compiling Rust/C/C++ to the browser, Emscripten, wasmtime, or JavaScript-to-Wasm interop for performance-critical code.

personamanagmentlayer/pcl · 69 tokens

test-writer

name: test-writer description: Generates comprehensive unit tests for code version: 1.0.0 owner: example tasktype: testing.

Observal/Observal · 0 tokens

moodle-phpunit-testing

Use when writing, running, or debugging PHPUnit tests for Moodle plugins or core. Covers advancedtestcase, resetAfterTest, data generators, mocking $DB, testing events/tasks/external functions, and CLI invocation.

SaadRahman01/claude-moodle-dev · 50 tokens

metrics-instrumentation

Specification for instrumenting an opik-backend workflow with operational OpenTelemetry metrics — per-stage throughput/latency/error counters and native histograms, dimensioned per-customer (workspace). Use when a pipeline (scoring, ingestion, experiments, jobs) needs per-stage visibility. Covers metric emission only…

comet-ml/opik · 93 tokens

run-helix-tests

Submit and monitor .NET MAUI unit tests on Helix infrastructure. Supports running XAML, Resizetizer, Core, Essentials, and other unit test projects on distributed Helix queues.

dotnet/maui · 45 tokens

debugging

How to debug tursodb using Bytecode comparison, logging, ThreadSanitizer, deterministic simulation, and corruption analysis tools.

tursodatabase/turso · 28 tokens