qa

qa is a skill for Claude Code, Codex from genai-io/san. It costs 85 tokens per session (1,235 once invoked), scanned A, original, Apache-2.0.

A regression-testing guide for San features. Regression testing checks that an existing feature still works after code changes, using automated Go tests and optional interactive terminal tests.

In plain words
What is it for?
Use it to test features such as agents, startup, loops, sessions, or hooks, with automated tests and, when requested, live tmux checks.
Why use it?
It gives a repeatable way to find whether a named feature has broken and to report the result as pass or fail.

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/genai-io/san/qa
Any agent
npx skills add genai-io/san --skill qa
Clone the repo
git clone --depth 1 https://github.com/genai-io/san

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 qa

README.md
[![agentmods](https://agentmods.dev/badge/skills/genai-io/san/qa.svg)](https://agentmods.dev/skills/genai-io/san/qa)
Your own site
<a href="https://agentmods.dev/skills/genai-io/san/qa"><img src="https://agentmods.dev/badge/skills/genai-io/san/qa.svg" alt="Measured on agentmods" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,235 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00085 $0.01235
Opus 5 $0.00043 $0.00617
Sonnet 5 $0.00017 $0.00247
Haiku 4.5 $0.00009 $0.00123

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

Security

Grade A, and why

qa 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.

.san/skills/qa/SKILL.md · 136 lines

How it starts

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

QA — Feature Regression Testing

Run automated and interactive regression tests for a San feature by name.

Arguments

  • <feature> — Feature name, e.g. agent, cli-startup, loop, session, hook.
  • --interactive — Also run interactive tmux tests (default: automated only).
  • --pane — For interactive tests, split a pane in the current tmux window instead of creating a separate session. Lets the user watch the test live.

Workflow

1. Resolve the feature doc

Look for the feature in this order:

  1. docs/reference/<feature>.md — reference docs, may have Automated Tests and Interactive Tests (tmux) sections
  2. docs/packages/2-feature/<feature>.md — feature package docs, has a ## Tests section

Read the file. Extract:

  • Automated Tests section — the go test commands and known test cases (from reference docs).
  • Interactive Tests (tmux) section — the step-by-step tmux script (from reference docs).
  • Tests section — package-level test info from feature docs.

If the feature matches an integration test directory name (tests/integration/<feature>/), add go test ./tests/integration/<feature>/... as a default test command even if the doc doesn't list one.

If the feature cannot be found in any doc path, list all available features (integration test dirs + doc stems from both locations) and ask the user to pick one.

2. Build the binary

Always build first so tests run against the latest code:

make build

If the build fails, stop and report the error — no point running tests against stale code.

3. Run automated tests

Execute every go test command extracted from the feature doc's Automated Tests section, plus the default integration test command if applicable. Capture stdout/stderr and exit codes. Each command is a separate test group.

Record results as:

  • PASS — exit code 0
  • FAIL — exit code non-zero; include the failure output

4. Run interactive tests (only with --interactive or --pane)

Read the full file on GitHub · 136 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 · 136 lines · 85 tokens per session scan A 02af8038d4d0

Subscribe to this mod's changes

qa is a skill published in the GitHub repository genai-io/san (76 stars, last pushed yesterday), licensed Apache-2.0. It adds 85 tokens to every session and 1,235 once invoked, about $0.0004 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