gac: Skill for Claude Code

.skills/testing/SKILL.md

testing is a skill for Claude Code, Codex from thomwebb/gac. It costs 35 tokens per session (1,040 once invoked), scanned A, original, MIT.

A project-specific guide for automated tests, which are checks that verify code behaves as expected. It explains the pytest test layout, common commands, provider test patterns, and the difference between unit tests and integration tests.

In plain words
What is it for?
Use it to run all or selected tests, add tests for CLI and configuration changes, test provider behavior, and debug failing unit or integration tests.
Why use it?
It helps you find the right tests and run them in the right way instead of searching through a large test suite. It also shows how to investigate failures and test integrations with external AI providers.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

This is thomwebb/gac's own configuration. It tells Claude Code and Codex how to work on gac 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 gac configures →

View source ↗ thomwebb/gac
Reuse

Borrowing it

Nothing to install: this file belongs to thomwebb/gac. 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/thomwebb/gac/main/.skills/testing/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/thomwebb/gac

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/thomwebb/gac/testing/github.svg)](https://agentmods.dev/skills/thomwebb/gac/testing)
Your own site
<a href="https://agentmods.dev/skills/thomwebb/gac/testing"><img src="https://agentmods.dev/badge/skills/thomwebb/gac/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/thomwebb/gac/testing"><img src="https://agentmods.dev/badge/skills/thomwebb/gac/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 1,040 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.01040
Opus 5.5 $0.00014 $0.00416
Sonnet 5.5 $0.00007 $0.00208
Haiku 4.5 $0.00003 $0.00104

Measured 2mo ago against content hash bccb4f5ec4c2, 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.

.skills/testing/SKILL.md · 146 lines

How it starts

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

Testing Workflows

When to Use

  • Running tests (entire suite or specific tests)
  • Writing new tests or modifying existing ones
  • Debugging test failures
  • Understanding provider test patterns

Test Structure

The suite has 151 test files mirroring src/. Key areas:

tests/
  conftest.py                 # Shared fixtures (isolate_stats_file, etc.)
  test_cli.py                 # CLI tests
  test_main.py                # Workflow orchestration
  test_config.py              # Config loading/validation
  test_ai.py                  # AI integration (registry tests)
  providers/                  # 35+ provider test files
    conftest.py               # BaseProviderTest + fixtures
    test_openai.py
    test_anthropic.py
    ...
  oauth/                      # 7 OAuth flow test files
  test_mcp_server.py          # MCP server tests
  test_grouped_*.py           # 10+ grouped commit workflow tests
  test_stats_*.py             # 15+ stats tests (core, cli, charts, migration, etc.)
  test_interactive_mode_*.py  # Interactive mode tests

This is not exhaustive. Use ls tests/ to explore.

Commands

uv run -- pytest              # All tests (excludes integration)
uv run -- pytest -x           # Stop on first failure
uv run -- pytest -v           # Verbose output
uv run -- pytest tests/test_cli.py              # Single file
uv run -- pytest -k "test_parse_response"       # By name pattern
uv run -- pytest --pdb                          # Debugger on failure
uv run -- pytest -s                             # Show print statements

Integration tests (need API keys):

make test-integration         # or: uv run -- pytest -m integration

Provider Test Structure

Each provider has three test types. See tests/providers/conftest.py for BaseProviderTest.

1. Unit Tests — no external dependencies

class TestOpenAIImports:
    def test_import_module(self):
        from gac.providers import openai
        assert openai is not None

    def test_provider_in_registry(self):
        from gac.providers import PROVIDER_REGISTRY
        assert "openai" in PROVIDER_REGISTRY

Read the full file on GitHub · 146 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. 2mo ago First seen · 146 lines · 35 tokens per session scan A bccb4f5ec4c2

Subscribe to this mod's changes

testing is a skill published in the GitHub repository thomwebb/gac (318 stars, last pushed 18d ago), licensed MIT. It adds 35 tokens to every session and 1,040 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

testing compared with skills from other repositories

testing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
testingthomwebb/gacSkill31818d agoMITA35Claude Code, Codex
new-projectsergenes/mini_agentSkill372mo agononeA51Claude Code, Codex
deployment-patternsaffaan-m/ECCSkill298k4d agoMITA41Claude Code, Kiro
mem0-test-integrationmem0ai/mem0Skill68k2d agoApache-2.0A207Claude Code, Codex
resolve-handoffomnigent-ai/omnigentSkill11kyesterdayApache-2.0A23Claude Code, Codex
otto-pr-review-loopomnigent-ai/omnigentSkill11kyesterdayApache-2.0A17Claude Code, Codex
baby-sitlangchain-ai/open-sweSkill11kyesterdayMITA30Claude Code, Codex