test

test is a command for Claude Code from TheLobbi/claude. It costs 0 tokens per session (484 once invoked), scanned A, original, MIT.

A test-runner command for the Golden Armada agent project. It runs Python tests and checks code style, type annotations, Helm deployment charts, and Docker image builds.

In plain words
What is it for?
Use it to run unit tests, measure coverage, lint and type-check Python code, validate Helm charts, and test Docker builds.
Why use it?
It gathers common checks in one place so code and deployment changes can be checked before release.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Part of the claude-orchestration plugin — 6 skills, 133 commands, 9 agents, 8 hooks, 6 plugins shipped together

Good fit Use it to run unit tests, measure coverage, lint and type-check Python code, validate Helm charts, and test Docker builds.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/thelobbi/claude/test
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.

Clone the repo
git clone --depth 1 https://github.com/TheLobbi/claude

Made for: Claude Code.

Or install claude-orchestration, the plugin that ships this one along with the rest of its 6 skills, 133 commands, 9 agents, 8 hooks, 6 plugins.

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 test

README.md
[![agentmods](https://agentmods.dev/badge/commands/thelobbi/claude/test.svg)](https://agentmods.dev/commands/thelobbi/claude/test)
Your own site
<a href="https://agentmods.dev/commands/thelobbi/claude/test"><img src="https://agentmods.dev/badge/commands/thelobbi/claude/test.svg" alt="Measured on agentmods" height="20"></a>
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 484 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00000 $0.00484
Opus 5 $0.00000 $0.00242
Sonnet 5 $0.00000 $0.00097
Haiku 4.5 $0.00000 $0.00048

Measured 2d ago against content hash e6199932c332, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

test scanned grade A with 1 finding 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 2d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -f http://localhost:8080/health || exit 1
.claude/commands/test.md · 82 lines

What it actually says

Run Tests

Execute the test suite for Golden Armada agents.

Instructions

Run the appropriate test commands based on what's being tested:

1. Python Unit Tests

```bash

Run all Python tests

python -m pytest tests/ -v

Run with coverage

python -m pytest tests/ --cov=deployment/docker --cov-report=term-missing

Run specific test file

python -m pytest tests/test_agent.py -v

Run tests matching pattern

python -m pytest tests/ -k "test_health" -v ```

2. Linting & Type Checks

```bash

Flake8 linting

python -m flake8 deployment/docker/ --max-line-length=100

Type checking (if mypy configured)

python -m mypy deployment/docker/ --ignore-missing-imports ```

3. Helm Chart Validation

```bash

Lint Helm chart

helm lint ./deployment/helm/golden-armada

Template rendering test

helm template golden-armada ./deployment/helm/golden-armada --debug

Dry run against cluster

helm install golden-armada ./deployment/helm/golden-armada -n agents --dry-run ```

4. Docker Build Test

```bash

Build all images (no push)

docker build -f deployment/docker/claude/Dockerfile -t golden-armada/claude-agent:test deployment/docker/claude/ docker build -f deployment/docker/orchestrator/Dockerfile -t golden-armada/orchestrator:test deployment/docker/orchestrator/ ```

5. Integration Tests

```bash

Start local services

docker-compose up -d

Wait for services

sleep 10

Run integration tests

curl -f http://localhost:8080/health || exit 1

Cleanup

docker-compose down ```

Options

  • --verbose: Show detailed test output
  • --coverage: Generate coverage report
  • --quick: Run only fast unit tests
  • --integration: Run integration tests (requires Docker)

Expected Output

Tests should pass with no failures. Coverage target: >80%

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. 2d ago First seen · 82 lines · 0 tokens per session scan A e6199932c332

Subscribe to this mod's changes

test is a command published in the GitHub repository TheLobbi/claude (21 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 484 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.