test-automation

test-automation is a skill for Claude Code, Codex from saolalab/clawforce. It costs 21 tokens per session (479 once invoked), scanned A, original, Apache-2.0.

A guide to automated software testing, covering unit, integration, end-to-end, performance, and API tests. It also explains test design practices and how to choose a testing framework.

In plain words
What is it for?
Use it when building, maintaining, or troubleshooting automated tests, choosing tools such as Jest, Pytest, Playwright, or Cypress, or planning a balanced test suite.
Why use it?
It helps teams select suitable tests and keep them fast, repeatable, and maintainable. It explains terms such as end-to-end testing, which checks a whole system rather than one small part.

Skill for Claude CodeCodex

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

Good fit Use it when building, maintaining, or troubleshooting automated tests, choosing tools such as Jest, Pytest, Playwright, or Cypress, or planning a balanced test suite.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/saolalab/clawforce/test-automation
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.

Any agent
npx skills add saolalab/clawforce --skill test-automation
Clone the repo
git clone --depth 1 https://github.com/saolalab/clawforce

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 test-automation

README.md
[![agentmods](https://agentmods.dev/badge/skills/saolalab/clawforce/test-automation/github.svg)](https://agentmods.dev/skills/saolalab/clawforce/test-automation)
Your own site
<a href="https://agentmods.dev/skills/saolalab/clawforce/test-automation"><img src="https://agentmods.dev/badge/skills/saolalab/clawforce/test-automation/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 test-automation

Your own site · 80×15
<a href="https://agentmods.dev/skills/saolalab/clawforce/test-automation"><img src="https://agentmods.dev/badge/skills/saolalab/clawforce/test-automation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 479 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.00021 $0.00479
Opus 5.5 $0.00008 $0.00192
Sonnet 5.5 $0.00004 $0.00096
Haiku 4.5 $0.00002 $0.00048

Measured 3mo ago against content hash 4f8ea9eb0550, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

test-automation 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 3mo 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.

marketplace/roles/qa-engineer/workspace/skills/test-automation/SKILL.md · 87 lines

What it actually says

Test Automation

Test Pyramid

      /\
     /E2E\        <- Few, slow, expensive
    /------\
   /Integration\  <- Some, medium speed
  /--------------\
 /   Unit Tests   \ <- Many, fast, cheap
/------------------\

Test Types

Type Scope Speed Reliability
Unit Single function/class Fast High
Integration Multiple components Medium Medium
E2E Full system Slow Lower
Performance Load/stress Varies Medium

Automation Framework Selection

Considerations

  • Language compatibility
  • Community support
  • CI/CD integration
  • Reporting capabilities
  • Maintenance burden

Common Frameworks

  • Unit: Jest, Pytest, JUnit
  • Integration: Supertest, TestContainers
  • E2E: Playwright, Cypress, Selenium
  • API: Postman, REST Assured

Test Design Principles

FIRST

  • Fast — Tests run quickly
  • Independent — No dependencies between tests
  • Repeatable — Same result every time
  • Self-validating — Pass or fail, no interpretation
  • Timely — Written alongside code

AAA Pattern

def test_example():
    # Arrange - Set up test data
    user = create_test_user()
    
    # Act - Perform the action
    result = login(user.email, user.password)
    
    # Assert - Verify the outcome
    assert result.success == True

Flaky Test Management

Causes

  • Timing/race conditions
  • Shared state
  • External dependencies
  • Environment differences

Solutions

  • Add explicit waits
  • Isolate test data
  • Mock external services
  • Use test containers

Test Data Management

  • Factory patterns — Generate test data
  • Fixtures — Reusable setup
  • Seeding — Consistent database state
  • Cleanup — Reset after tests
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. 3mo ago First seen · 87 lines · 21 tokens per session scan A 4f8ea9eb0550

Subscribe to this mod's changes

test-automation is a skill published in the GitHub repository saolalab/clawforce (38 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 21 tokens to every session and 479 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

test-automation compared with skills from other repositories

test-automation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
test-automationsaolalab/clawforceSkill387mo agoApache-2.0A21Claude Code, Codex
agenticmailInternLM/WildClawBenchSkill53715d agoMITA28Claude Code, Codex
agentic-paper-digest-skillInternLM/WildClawBenchSkill53715d agoMITA54Claude Code, Codex
ai-meeting-schedulingInternLM/WildClawBenchSkill53715d agoMITA0Claude Code, Codex
academic-literature-searchInternLM/WildClawBenchSkill53715d agoMITA0Claude Code, Codex
eachlabs-voice-audioInternLM/WildClawBenchSkill53715d agoMITA60Claude Code, Codex
03_task6InternLM/WildClawBenchSkill53715d agoMITA70Claude Code, Codex