software-test-execution

A tool for running the tests related to one development slice and reporting whether they passed or failed. TDD, or test-driven development, is a way of building software around tests that describe the expected behavior.

In plain words
What is it for?
Use it after writing or changing code to discover the test framework, run the relevant tests, parse their output, and report failures.
Why use it?
It avoids running unrelated tests and turns test output into a clear result without changing code or test files.

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

Made for: Claude Code, Codex.

Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,604 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00097 $0.02604
Opus 5 $0.00048 $0.01302
Sonnet 5 $0.00019 $0.00521
Haiku 4.5 $0.00010 $0.00260

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

Security

Grade A, and why

software-test-execution 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 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.

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.

.stencila/skills/software-test-execution/SKILL.md · 247 lines

How it starts

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

Overview

Execute scoped tests for a TDD slice and report structured results. This skill runs only the tests relevant to the current slice, parses the output, and reports a clear pass/fail result with details.

This skill does not write or modify any code or test files. It only reads, executes, and reports.

Required Inputs

This skill requires the following information to operate:

Input Required Description
Test command No Command to run the scoped tests (discovered if not provided)
Test files No List of test file paths (used to scope the command if needed)
Slice scope No Description of what the slice covers (for context in the report)
Target packages No Packages, crates, or directories involved (for command discovery)
Slice name No Name or identifier of the current slice (for the report header)

When used standalone, these inputs come from the user or the agent's prompt. When used within a workflow, the workflow's stage prompt will specify how to obtain them.

Outputs

After completing its work, this skill reports:

Output Description
Result Whether the tests passed or failed (Pass / Fail)
Report A structured report with counts, failure details, and notes

Steps

1. Gather test metadata

Ensure the available inputs are collected:

  • The test command is the primary input — if present, use it directly
  • Test files and target packages are used as fallbacks for constructing a test command if no command is provided
  • Slice name and scope provide context for the report

2. Determine the test command

Read the full file on GitHub · 247 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 247 lines · 97 tokens per session scan A a334884b074d

Subscribe to this mod's changes

software-test-execution is a skill published in the GitHub repository stencila/stencila (900 stars, last pushed 3d ago), licensed Apache-2.0. It adds 97 tokens to every session and 2,604 once invoked, about $0.0005 per session on Opus 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.