Borrowing it
Nothing to install: this file belongs to actionhero/keryx. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/actionhero/keryx/main/.claude/skills/testing.skill.mdgit clone --depth 1 https://github.com/actionhero/keryxWrote 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/skills/actionhero/keryx/testing)<a href="https://agentmods.dev/skills/actionhero/keryx/testing"><img src="https://agentmods.dev/badge/skills/actionhero/keryx/testing/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/skills/actionhero/keryx/testing"><img src="https://agentmods.dev/badge/skills/actionhero/keryx/testing.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.00420 |
| Opus 5.5 | $0.00007 | $0.00168 |
| Sonnet 5.5 | $0.00003 | $0.00084 |
| Haiku 4.5 | $0.00002 | $0.00042 |
Grade A, and why
testing scanned grade A with 1 finding 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
const res = await fetch(serverUrl() + "/api/status"); What it actually says
Testing Patterns
For full details, see docs/guide/testing.md.
Test File Structure
Each test file boots and stops the full server:
import "../index"; // Sets api.rootDir
import { api } from "keryx";
import { HOOK_TIMEOUT, serverUrl } from "./../setup";
beforeAll(async () => { await api.start(); }, HOOK_TIMEOUT);
afterAll(async () => { await api.stop(); }, HOOK_TIMEOUT);
test("...", async () => {
const res = await fetch(serverUrl() + "/api/status");
const body = (await res.json()) as ActionResponse<Status>;
});
Key Helpers
serverUrl()— returns the base URL with dynamic portHOOK_TIMEOUT— timeout for beforeAll/afterAll hooks
Conventions
- Real HTTP requests via
fetch— no mock server - Non-concurrent execution — tests run sequentially to avoid port conflicts
- Every code change needs tests — if a PR has no test changes, that's a red flag
Auto-Discovery
Actions, initializers, and servers are auto-discovered via globLoader (packages/keryx/util/glob.ts). It scans for *.ts files and instantiates all exported classes. Files prefixed with . are skipped.
Running Tests
cd packages/keryx && bun test # Framework tests
cd example/backend && bun test # All example tests
cd example/backend && bun test __tests__/actions/user.test.ts # Single file
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 First seen · 55 lines · 17 tokens per session scan A 50094d415f6e
testing is a skill published in the GitHub repository actionhero/keryx (46 stars, last pushed 8d ago), licensed MIT. It adds 17 tokens to every session and 420 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.
Other skills, from other repositories
playground
Launches a local WordPress Playground site with The SEO Framework mounted, captures front-end SEO artifacts, and compares before/after plugin states. Use when testing regressions, reproducing bugs, changing meta/sitemap/robots/ schema/oEmbed/admin SEO output, checking WordPress version behavior, plugin conflicts, or…
verify
Check a completed change with the project's own Bun scripts before reporting success.
mirrord-chaos
Help users chaos test their app with mirrord: inject artificial latency or connection errors into a mirrord session's outgoing traffic via per-session chaos rules managed with the mirrord chaos CLI. Use when a user wants to add latency or delay to outgoing connections or a dependency (e.g. a slow database), simulate…
horse-integration-tests
Guide for writing automated integration tests for Horse endpoints using DUnit/DUnitX and THTTPClient.
pie-testing
Start, stop, and query Play-In-Editor (PIE) sessions for runtime testing of Blueprints, gameplay logic, widgets, AI, and any in-game behavior. Use when the user asks you to "play", "test", "run", "PIE", "start/stop the game", or otherwise needs a live game world to validate changes.
smoke-test
Run smoke tests against a deployed or local app based on your git diff. Each test uses Skyvern browser tools (navigate, act, validate, screenshot) with Chrome DevTools MCP as fallback. Posts screenshot evidence as PR comments.