nullables

nullables is a skill for Claude Code, Codex from saski/arnesto. It costs 43 tokens per session (1,679 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).

Good fit Use it when writing tests for code that talks to external systems, or when designing wrappers that support offline or dry-run operation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/saski/arnesto/nullables
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 saski/arnesto --skill nullables
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/github.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/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 nullables

Your own site · 80×15
<a href="https://agentmods.dev/skills/saski/arnesto/nullables"><img src="https://agentmods.dev/badge/skills/saski/arnesto/nullables.svg" alt="Reviewed on agentmods" width="80" 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,679 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.01679
Opus 5.5 $0.00017 $0.00672
Sonnet 5.5 $0.00009 $0.00336
Haiku 4.5 $0.00004 $0.00168

Measured 5d ago against content hash b9e7c7d660d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 5d 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 · 166 lines

How it starts

The opening of the file, as written. The whole thing — 166 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 · 166 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. 5d ago Changed · +2 lines b9e7c7d660d5
  2. 2mo 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 (7 stars, last pushed 5d ago), licensed Unlicense. It adds 43 tokens to every session and 1,679 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-09-03.

Related

nullables compared with skills from other repositories

nullables next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nullablessaski/arnestoSkill75d agoUnlicenseA43Claude Code, Codex
repo-contracts-and-boundariesyfge/agent-harness-skillsSkill1212d agoMITA41Claude Code
repo-harness-assessmentyfge/agent-harness-skillsSkill1212d agoMITA56Claude Code
work-state-and-deliveryyfge/agent-harness-skillsSkill1212d agoMITA48Claude Code
runtime-evidence-and-tracingyfge/agent-harness-skillsSkill1212d agoMITA39Claude Code
validation-harness-designyfge/agent-harness-skillsSkill1212d agoMITA35Claude Code
readonly-reviewRanvier-Technologies/pixirSkill252mo agoMITA20Claude Code, Codex