qa-test

qa-test is a skill for Claude Code, Codex from nearform/lastlight. It costs 51 tokens per session (1,017 once invoked), scanned A, original, MIT.

An automated quality-assurance workflow for a command-line program or locally running web app.

In plain words
What is it for?
It starts the required service when needed, sends requests with curl, records responses and logs, and reports each tested step as passed, failed, or blocked.
Why use it?
It replaces a single vague pass/fail result with evidence for each step of an end-to-end test flow.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/nearform/lastlight/qa-test.svg)](https://agentmods.dev/skills/nearform/lastlight/qa-test)
Your own site
<a href="https://agentmods.dev/skills/nearform/lastlight/qa-test"><img src="https://agentmods.dev/badge/skills/nearform/lastlight/qa-test.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,017 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00051 $0.01017
Opus 5 $0.00026 $0.00508
Sonnet 5 $0.00010 $0.00203
Haiku 4.5 $0.00005 $0.00102

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

Security

Grade A, and why

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

> background and exercising it with `curl` (status codes, response bodies,
apps/server/skills/qa-test/SKILL.md · 98 lines

How it starts

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

QA Test

Drive a target through a sequence of steps and report step-level pass/fail with evidence for each step. The deliverable is a QA report, not a single verdict — partial coverage with documented failures is the expected output.

This skill uses the building skill for installing dependencies and running the repo's build/run commands in the sandbox.

Scope (text-evidence path). In the default text phase the sandbox agent has bash, file read, and the github tools — no browser, no screenshots. QA a CLI directly, or a web service by starting its dev-server in the background and exercising it with curl (status codes, response bodies, headers). Capture stdout/stderr, exit codes, and log excerpts as per-step evidence. Driving a real browser UI and attaching screenshots is the separate browser-qa skill, staged only in the gated browser phase running on the docker QA image (Playwright + Chromium). If that skill isn't in your catalogue, mark a step that genuinely needs rendered-UI interaction BLOCKED with the reason rather than faking a result — the browser phase will pick it up when available.

Parse the target

The Context block gives you what to test and (usually) a PR/issue. The target may be:

  • A CLI command (my-cli --flag, a subcommand) → run it directly.
  • A local web service (an app the repo serves on a port) → start it, hit it with curl.
  • A PR reference + focus area → read the diff and infer the flow that exercises what changed.
  • A free-text flow ("create a project, then list it") → infer concrete steps.

When a PR/issue is given, read its description + diff (from the local checkout — see the building skill) to decide what's worth testing.

Define the steps

If the request specifies steps, use them. Otherwise design a reasonable flow:

  • CLI: invoke with valid input → assert output/exit code → invoke an edge case (bad flag, missing arg) → assert it's handled → done.
  • Web service: start the server → wait until it's ready → hit the primary endpoint(s) → assert status + body → hit an error case → assert handling → stop the server.

Read the full file on GitHub · 98 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. 4d ago First seen · 98 lines · 51 tokens per session scan A bde6c9a9074d

Subscribe to this mod's changes

qa-test is a skill published in the GitHub repository nearform/lastlight (22 stars, last pushed 7d ago), licensed MIT. It adds 51 tokens to every session and 1,017 once invoked, about $0.0003 per session on Opus 5. 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-08-30.