testing

testing is a skill for Claude Code, Codex from cyberbird2048/gbrainmcp-clean. It costs 63 tokens per session (2,034 once invoked), scanned A, a copy of testing, MIT.

A framework for checking whether GBrain skills follow the project rules and for monitoring the health of its test suite. It covers unit tests, evaluation tests, integration tests, and broader system checks.

In plain words
What is it for?
For validating skill files and manifests, running tests in stages, classifying failures, checking coverage, and comparing current failures with earlier test results.
Why use it?
It exposes missing skill files, invalid metadata, incomplete registrations, failing tests, and regressions in a structured report.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for gbrain. Also seen: mentions CLAUDE.md; mentions AGENTS.md; built for gbrain.

Not installable on its own: it reads a path above its own folder, which only exists inside its repository. The line is **Convention:** see [conventions/quality.md](../conventions/quality.md) for.

Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

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/cyberbird2048/gbrainmcp-clean/testing.svg)](https://agentmods.dev/skills/cyberbird2048/gbrainmcp-clean/testing)
Your own site
<a href="https://agentmods.dev/skills/cyberbird2048/gbrainmcp-clean/testing"><img src="https://agentmods.dev/badge/skills/cyberbird2048/gbrainmcp-clean/testing.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,034 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 94% 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.00063 $0.02034
Opus 5 $0.00032 $0.01017
Sonnet 5 $0.00013 $0.00407
Haiku 4.5 $0.00006 $0.00203

Measured 5d ago against content hash 6313e5db9b22, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 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.

Origin

This is a copy

94% identical to testing — 4 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 · 257 lines

How it starts

The opening of the file, as written. The whole thing — 257 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Testing Skill — Validation + Daily Health & Regression Intelligence

Convention: see conventions/quality.md for the test-before-bulk pattern; this skill enforces it across the project's own test suite.

Two modes

This skill has two related but distinct modes:

  1. Skill conformance validation — gbrain's own conformance bar (the original 1.0 scope). Validates every skill has SKILL.md with frontmatter, every reference exists, manifest + resolver coverage round-trips.

  2. Project test-suite health (v0.25.1 extension) — runs the project's tiered test suite and produces a regression-classified report. Used by daily cron, container-restart bootstrap, and "how are the tests" prompts.

Pick the mode by trigger.

Mode 1: Skill conformance validation

Contract

This mode guarantees:

  • Every skill directory has a SKILL.md file
  • Every SKILL.md has valid YAML frontmatter (name, description)
  • Every SKILL.md has required sections per test/skills-conformance.test.ts
  • skills/manifest.json lists every skill directory
  • skills/RESOLVER.md references every skill in the manifest
  • openclaw.plugin.json skills[] round-trips with both
  • No MECE violations (duplicate triggers across skills)

Phases

  1. Walk skills directory. List all subdirs containing SKILL.md.
  2. Validate frontmatter. Parse YAML, check required fields.
  3. Validate sections. Check for the required headings.
  4. Check manifest. Every skill dir must be in manifest.json.
  5. Check resolver. Every manifest skill must have a RESOLVER row.
  6. Check round-trip. RESOLVER trigger ↔ frontmatter triggers.
  7. Report results.

Automation

bun test test/skills-conformance.test.ts test/resolver.test.ts

The CI-gated check is the package.json test script.

Output format

Skill Validation Report
========================
Skills found:        N
Conformance:         N/N pass
Manifest coverage:   N/N
Resolver coverage:   N/N
Round-trip:          N/N
MECE violations:     N

Issues:
- <skill>: <issue>

Read the full file on GitHub · 257 lines

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 · 257 lines · 63 tokens per session scan A 6313e5db9b22

Subscribe to this mod's changes

testing is a skill published in the GitHub repository cyberbird2048/gbrainmcp-clean (0 stars, last pushed 1mo ago), licensed MIT. It adds 63 tokens to every session and 2,034 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 94% identical to testing, differing in 4 lines, and is treated as a copy.

Related

Other skills, from other repositories