github-brain: Skill for Claude Code

.github/skills/testing/SKILL.md

testing is a skill for Claude Code, Codex from wham/github-brain. It costs 35 tokens per session (328 once invoked), scanned A, original, MIT.

A testing guide for a terminal user interface, meaning an application that runs inside a text-based terminal. It explains how to run the application in test mode, simulate user input, inspect the screen, and check expected results.

In plain words
What is it for?
Use it after changing main.go or main.md, especially when changing the interface or behavior. It supports testing commands such as pull and mcp, using a separate GitHub test organization.
Why use it?
It provides a repeatable way to verify that code changes do not break menus, displays, or application behavior. It also runs Go's built-in checks before building.

Skill for Claude CodeCodex

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

This is wham/github-brain's own configuration. It tells Claude Code and Codex how to work on github-brain itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything github-brain configures →

Reuse

Borrowing it

Nothing to install: this file belongs to wham/github-brain. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/wham/github-brain/main/.github/skills/testing/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/wham/github-brain

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/wham/github-brain/testing/github.svg)](https://agentmods.dev/skills/wham/github-brain/testing)
Your own site
<a href="https://agentmods.dev/skills/wham/github-brain/testing"><img src="https://agentmods.dev/badge/skills/wham/github-brain/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.

agentmods 80×15 button for testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/wham/github-brain/testing"><img src="https://agentmods.dev/badge/skills/wham/github-brain/testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 328 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 original 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.1 $0.00035 $0.00328
Opus 5.5 $0.00014 $0.00131
Sonnet 5.5 $0.00007 $0.00066
Haiku 4.5 $0.00003 $0.00033

Measured 2mo ago against content hash 18f69ca77871, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 2mo 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.

.github/skills/testing/SKILL.md · 30 lines

What it actually says

Testing

This skill helps you create and run tests for terminal user interface (TUI) applications.

When to use this skill

Use this skill:

  • After making ANY code changes to verify they work correctly
  • When modifying UI elements, menus, or display logic
  • When changing application behavior or adding features
  • To ensure existing functionality as specified in main.md and README.md is not broken

Starting the application

  • Run scripts/run --test where the user would normally run github-brain
    • scripts/run --test pull equivalently runs github-brain pull
    • scripts/run --test mcp equivalently runs github-brain mcp
    • The --test flag runs go vet before building to catch issues early
  • Ensure .env files is configured to use the github-brain-test organization
  • Use GitHub MCP to add new issue/PRs/discussions as needed for testing
  • Simulate user input: Send key presses, control combinations, or specific commands to the running application.
  • Capture and analyze screen output: The testing tool captures the terminal display (or buffer) at specific moments in time.
  • Make assertions: Verify that the screen content matches the expected output (e.g., checking if specific text is present at certain coordinates or if the cursor position is correct).
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. 2mo ago First seen · 30 lines · 35 tokens per session scan A 18f69ca77871

Subscribe to this mod's changes

testing is a skill published in the GitHub repository wham/github-brain (78 stars, last pushed 8mo ago), licensed MIT. It adds 35 tokens to every session and 328 once invoked, about $0.0001 per session on Opus 5.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

writing-livekit-scenarios

Creates and maintains the scenarios a LiveKit agent simulation runs, and wires the agent to consume them. Use when the user asks "what should I test", "generate simulation scenarios", "write scenarios for my agent", "add a scenario for X", "organize my scenario files", "my simulations are flaky", "the scenario hits my…

fcakyon/claude-codex-settings · 178 tokens

running-livekit-simulations

Runs LiveKit agent simulations and acts on the results. Use when the user says "run my simulations", "regression test my agent before deploying", "run the scenarios", "use lk agent simulate", "did my agent pass", "why did this scenario fail", "run simulations in CI", "test the audio pipeline", "check turn-taking and…

fcakyon/claude-codex-settings · 183 tokens

coding-agents-hooks-authoring

To author, register, and test Rosetta hooks, add a SemanticKind, or debug a hook that won't fire.

griddynamics/rosetta · 31 tokens

flutter-mcp-toolkit-control

Drive a running Flutter app — tap, scroll, type, fill forms, hot-reload, navigate. Use when you need to interact with the UI.

Arenukvern/mcp_flutter · 38 tokens

flutter-mcp-e2e-harness

Use this skill when writing or running repeatable E2E scenarios for Flutter apps as checked-in Dart with the fluttermcpharness package (packages/harness) — build/launch the app, attach to its VM service, drive widgets (snapshot/tap/enter text) and assert without MCP; also covers the repo showcase launcher (make…

Arenukvern/mcp_flutter · 117 tokens

harness-engineering-lifecycle

Design, implement, and integrate generalized validation harnesses across a producer-consumer boundary after a local harness contract exists. Use when refactoring custom validation CLIs/MCPs for large polyrepos, extending Steward across sibling repos, or deploying a local tool to a consumer project for dogfooding and…

Arenukvern/mcp_flutter · 88 tokens