arnesto: Skill for Claude Code

.agents/skills/nullables/SKILL.md

nullables is a skill for Claude Code, Codex from saski/arnesto. It costs 43 tokens per session (1,625 once invoked), scanned A, original, Unlicense.

A testing approach that replaces mocks with production code that can turn off external I/O, such as network calls, files, databases, clocks, or randomness.

In plain words
What is it for?
Use it when writing tests for code that talks to external systems, or when designing wrappers that support offline or dry-run operation.
Why use it?
It keeps tests fast and less fragile without tying them to specific method calls. Tests check results and state, so refactoring implementation is less likely to break them.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is saski/arnesto's own configuration. It tells Claude Code and Codex how to work on arnesto 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 arnesto configures →

Reuse

Borrowing it

Nothing to install: this file belongs to saski/arnesto. 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/saski/arnesto/main/.agents/skills/nullables/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/saski/arnesto

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 nullables

README.md
[![agentmods](https://agentmods.dev/badge/skills/saski/arnesto/nullables.svg)](https://agentmods.dev/skills/saski/arnesto/nullables)
Your own site
<a href="https://agentmods.dev/skills/saski/arnesto/nullables"><img src="https://agentmods.dev/badge/skills/saski/arnesto/nullables.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,625 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.00043 $0.01625
Opus 5 $0.00022 $0.00813
Sonnet 5 $0.00009 $0.00325
Haiku 4.5 $0.00004 $0.00162

Measured 3d ago against content hash 357c350c2fa6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

nullables 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 3d 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.

.agents/skills/nullables/SKILL.md · 164 lines

How it starts

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

Nullables: Testing Without Mocks

STARTER_CHARACTER = ⭕️

The Problem

External I/O is slow and flaky. Tests hitting real databases, APIs, or file systems run slow and fail randomly. We want tests that run in milliseconds and never fail due to network issues.

Mocking libraries solve speed but introduce a new problem: they couple tests to implementation by verifying specific method calls. Test code using mocking libraries is brittle—it breaks when code is refactored, even when behavior is unchanged.

The Solution

Nullables are production code with an "off switch" for infrastructure—not test doubles, but real code you can ship (dry-run modes, cache warming, offline operation). They enable narrow, sociable, state-based tests:

  • Narrow: Each test focuses on one class/module, not broad end-to-end flows
  • Sociable: Tests use real dependencies—only infrastructure I/O is neutralized. (Contrast with "solitary" tests that mock everything, isolating the class under test.)
  • State-based: Assert on outputs and state, not on which methods were called

When to Use

Use Nullables for:

  • Code that talks to external systems (HTTP, files, databases, clocks, random)
  • Third-party libraries you don't control
  • Non-deterministic operations

Don't use Nullables for:

  • Pure logic — test directly, no wrapper needed
  • Your own classes — make them Nullable directly, or null their dependencies

Greenfield: Add wrappers incrementally as tests demand—don't over-engineer upfront.

Existing codebase: See migration.md for incremental conversion strategies.

The Foundation: A-Frame Architecture

A-Frame is the architectural insight that makes Nullables work especially well. Traditional layered architecture stacks Logic on top of Infrastructure, making Logic depend on slow, brittle I/O. A-Frame makes them peers instead:

        Application (coordinates)
            ↓              ↓
Logic (pure, tested)    Infrastructure (Nullables)

Read the full file on GitHub · 164 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. 3d ago First seen · 164 lines · 43 tokens per session scan A 357c350c2fa6

Subscribe to this mod's changes

nullables is a skill published in the GitHub repository saski/arnesto (5 stars, last pushed today), licensed Unlicense. It adds 43 tokens to every session and 1,625 once invoked, about $0.0002 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-09-03.