worldforge: Skill for Codex

.codex/skills/testing-validation/SKILL.md

testing-validation is a skill for Codex from AbdelStark/worldforge. It costs 61 tokens per session (796 once invoked), scanned A, original, MIT.

A WorldForge helper for choosing and running validation checks, including pytest tests, code-quality checks, documentation generation, MkDocs builds, package checks, and release gates. Pytest runs Python tests; MkDocs builds documentation.

In plain words
What is it for?
Use it to validate Python logic, provider behavior, command-line output, documentation, agent skills, package contracts, TUI changes, and continuous-integration or release failures.
Why use it?
It starts with the smallest useful checks for a change and expands validation when public behavior, documentation, or packaging is affected.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: reads .claude/ paths.

This is AbdelStark/worldforge's own configuration. It tells Codex how to work on worldforge itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything worldforge configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run python scripts/generate_provider_docs.py --check.

Reuse

Borrowing it

Nothing to install: this file belongs to AbdelStark/worldforge. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/AbdelStark/worldforge/main/.codex/skills/testing-validation/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/AbdelStark/worldforge

Made for: 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 testing-validation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/abdelstark/worldforge/testing-validation"><img src="https://agentmods.dev/badge/skills/abdelstark/worldforge/testing-validation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 796 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 56
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
How audits are shown
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.00061 $0.00796
Opus 5.5 $0.00024 $0.00318
Sonnet 5.5 $0.00012 $0.00159
Haiku 4.5 $0.00006 $0.00080

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

Security

Grade A, and why

testing-validation 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 2mo 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.

.codex/skills/testing-validation/SKILL.md · 86 lines

How it starts

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

Testing And Validation

Choose The Gate

Change Minimum useful validation
Python logic uv run pytest tests/test_target.py -q plus ruff
Provider behavior provider-focused pytest, fixtures, contract helper, provider-doc check
CLI help/output targeted CLI tests and help snapshots
Docs/provider catalog provider-doc check and uv run mkdocs build --strict
Agent context/skills skill quick_validate.py, symlink check, and git diff --check
Public API/package surface full public gate below
TUI/harness focused harness tests plus --extra harness coverage when relevant

Standard Commands

Focused gate:

uv run ruff check src tests examples scripts
uv run ruff format --check src tests examples scripts
uv run pytest tests/test_target.py -q

Docs gate:

uv run python scripts/generate_provider_docs.py --check
uv run mkdocs build --strict

Public behavior/package gate:

uv lock --check
uv run ruff check src tests examples scripts
uv run ruff format --check src tests examples scripts
uv run python scripts/generate_provider_docs.py --check
uv run mkdocs build --strict
uv run pytest
uv run --extra harness pytest --cov=src/worldforge --cov-report=term-missing --cov-fail-under=90
bash scripts/test_package.sh
uv build --out-dir dist --clear --no-build-logs

Dependency audit for release work:

tmp_req="$(mktemp requirements-audit.XXXXXX)"
uv export --frozen --all-groups --no-emit-project --no-hashes -o "$tmp_req" >/dev/null
uvx --from pip-audit pip-audit -r "$tmp_req" --no-deps --disable-pip --progress-spinner off
rm -f "$tmp_req"

Rules

  • Reproduce the failing command before broad edits.
  • Add regression tests for bug fixes and documented failure modes.
  • Keep src tests examples scripts in Ruff targets.
  • Keep --cov-fail-under=90; add tests instead of lowering it.
  • Do not replace deterministic tests with live-service requirements.
  • Report skipped gates with the concrete blocker.
  • Match the gate to the claim: a narrow passing test never proves a broad public-release or agentic-context quality claim.

Read the full file on GitHub · 86 lines

Files

What ships with it

1 file 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. 2mo ago First seen · 86 lines · 61 tokens per session scan A 4c5bc8b6100a

Subscribe to this mod's changes

testing-validation is a skill published in the GitHub repository AbdelStark/worldforge (108 stars, last pushed 1mo ago), licensed MIT. It adds 61 tokens to every session and 796 once invoked, about $0.0002 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.