write-test

write-test is a skill for Claude Code, Codex from PacificStudio/openase. It costs 17 tokens per session (69 once invoked), scanned A, original, Apache-2.0.

A guide for writing focused software tests that check expected behavior, error cases, boundary inputs, and previously fixed bugs.

In plain words
What is it for?
Use it when adding tests for new logic, failure paths, edge cases, or bug fixes.
Why use it?
It helps tests catch real problems without depending too closely on internal implementation details, which can make tests break during harmless refactoring.

Skill for Claude CodeCodex

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

Good fit Use it when adding tests for new logic, failure paths, edge cases, or bug fixes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pacificstudio/openase/write-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.

Any agent
npx skills add PacificStudio/openase --skill write-test
Clone the repo
git clone --depth 1 https://github.com/PacificStudio/openase

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/pacificstudio/openase/write-test"><img src="https://agentmods.dev/badge/skills/pacificstudio/openase/write-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 69 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 pass 7 Sept 2026
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.00017 $0.00069
Opus 5.5 $0.00007 $0.00028
Sonnet 5.5 $0.00003 $0.00014
Haiku 4.5 $0.00002 $0.00007

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

Security

Grade A, and why

write-test 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 1mo 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.

internal/builtin/skills/write-test/SKILL.md · 15 lines

What it actually says

Write Tests

When writing tests, prioritize:

  • The main path for new logic
  • Failure paths and boundary inputs
  • Regression points

Avoid brittle tests that are tightly coupled to implementation details just to increase coverage.

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. 1mo ago First seen · 15 lines · 17 tokens per session scan A c9250e2467cc

Subscribe to this mod's changes

write-test is a skill published in the GitHub repository PacificStudio/openase (269 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 17 tokens to every session and 69 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

Other skills, from other repositories

bad-case-to-dpo

A guide to turning failed production agent runs into training and evaluation data. It explains how to find the first mistake, create preference examples for DPO (Direct Preference Optimization), and check that a fix does not damage other tasks.

bojieli/ai-agent-book · 168 tokens

eval-dataset-design

A guide to creating reliable test sets for AI agents. Each evaluation task includes the request, the simulated user's behaviour, a reset starting state, and a success check that can be independently verified.

bojieli/ai-agent-book · 138 tokens

llm-as-judge-evaluation

Evaluate LLM outputs using frontier models as judges. Use for pairwise model comparison, quality scoring with custom rubrics, and automated evaluation pipelines. Covers position bias mitigation, statistical significance, and generating preference data for DPO/RLHF.

synthetic-sciences/openscience · 56 tokens

golang-testing

Production-ready Golang tests — table-driven tests, testify suites and mocks, parallel tests, fuzzing, fixtures, goroutine leak detection with goleak, snapshot testing, code coverage, integration tests, idiomatic test naming. Use when writing or reviewing Go tests, choosing a testing approach, setting up Go test CI…

samber/cc-skills-golang · 115 tokens

omh-agent-evaluation

This is a Hermes-native agent-evaluation workflow skill.

rlaope/oh-my-hermes · 71 tokens

agent-evaluation

Run one specified Test Agent on one specified Benchmark Case exactly once, privately score that execution, and return one protocol result.

Prism-Shadow/penguin-harness · 28 tokens