test

A command process that finds the project's test runner, runs the available tests, examines failures, and fixes common problems. Tests are checks that help confirm software still behaves as expected.

In plain words
What is it for?
Use it to run tests in Python, JavaScript, TypeScript, Rust, Go, Java, Ruby, or PHP projects. It helps identify failures, apply common fixes, and summarize the results.
Why use it?
It removes the need to guess which test command fits a project or manually interpret the output. It also reports when no test runner or tests can be found.

Command for Claude Code

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 commands/yezannnnn/agentgroup/test
Clone the repo
git clone --depth 1 https://github.com/yezannnnn/agentGroup

Made for: Claude Code.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 751 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% 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 $0.00000 $0.00751
Opus 5 $0.00000 $0.00376
Sonnet 5 $0.00000 $0.00150
Haiku 4.5 $0.00000 $0.00075

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

Security

Grade A, and why

test 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 3d 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

100% identical to test — 0 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.

jarvis/skills/claude-simone/legacy/.claude/commands/simone/test.md · 124 lines

How it starts

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

Run tests and fix common issues

Follow these instructions from top to bottom.

Create a TODO with EXACTLY these 4 items

  1. Execute test suite
  2. Analyze results and identify issues
  3. Fix common problems if found
  4. Provide test summary

1 · Execute test suite

First, detect the project's test runner

  1. Python projects:

    • If pyproject.toml exists with [tool.poetry]: Try poetry run pytest
    • If setup.py or requirements.txt: Try pytest or python -m pytest
    • If custom test script exists (e.g., run_tests.py, run_dev.py): Use that
    • Add common flags: --tb=short for pytest
  2. JavaScript/TypeScript projects:

    • If package.json exists: Check "scripts" section for "test" command
    • Common: npm test, npm run test, yarn test, pnpm test
    • Framework specific: jest, vitest, mocha
  3. Other languages:

    • Rust: cargo test
    • Go: go test ./...
    • Java: mvn test or gradle test
    • Ruby: bundle exec rspec or rake test
    • PHP: composer test or phpunit

Execute the detected test command

  • RUN the appropriate test command
  • CAPTURE full output including any errors
  • NOTE execution time and test counts

If no test runner is found: Report this to the user and ask for the correct test command.

2 · Analyze results and identify issues

Check for common issues in this order:

Language-specific issues

Python:

  • Missing init.py files (import errors, tests not discovered)
  • Import path problems
  • Fixture issues (pytest)
  • Virtual environment problems

JavaScript/TypeScript:

  • Module resolution errors
  • Missing dependencies in node_modules
  • Jest/Vitest configuration issues
  • TypeScript compilation errors

Common across languages:

  • Environment variable issues (missing config)
  • Database/external service connection errors
  • File path problems (absolute vs relative)
  • Permission issues

3 · Fix common problems if found

ONLY fix these specific issues automatically:**

Read the full file on GitHub · 124 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. 3d ago First seen · 124 lines · 0 tokens per session scan A 82ae7e6201b2

Subscribe to this mod's changes

test is a command published in the GitHub repository yezannnnn/agentGroup (149 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 751 tokens. A static security scan graded it A with 0 findings. It is 100% identical to test, differing in 0 lines, and is treated as a copy.