origin-dollar: Skill for Claude Code

.claude/skills/smoke-test/SKILL.md

smoke-test is a skill for Claude Code from OriginProtocol/origin-dollar. It costs 24 tokens per session (3,861 once invoked), scanned A, original, MIT.

A Foundry skill for writing smoke tests, which are checks that confirm a blockchain deployment is healthy before planned governance changes are executed. It loads the actual deployed contracts and pending governance actions rather than using only test replacements.

In plain words
What is it for?
It helps create Foundry smoke tests that use DeployManager and Resolver to inspect deployed on-chain state and validate deployment health.
Why use it?
It catches deployment problems that unit tests and fork tests may miss. This helps verify that live contract addresses, permissions, and state are safe before governance actions run.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is OriginProtocol/origin-dollar's own configuration. It tells Claude Code how to work on origin-dollar 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 origin-dollar configures →

Reuse

Borrowing it

Nothing to install: this file belongs to OriginProtocol/origin-dollar. 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/OriginProtocol/origin-dollar/master/.claude/skills/smoke-test/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/OriginProtocol/origin-dollar

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/originprotocol/origin-dollar/smoke-test"><img src="https://agentmods.dev/badge/skills/originprotocol/origin-dollar/smoke-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,861 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.00024 $0.03861
Opus 5.5 $0.00010 $0.01544
Sonnet 5.5 $0.00005 $0.00772
Haiku 4.5 $0.00002 $0.00386

Measured 12d ago against content hash 9fd9bd8ab89f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

smoke-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 12d 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.

.claude/skills/smoke-test/SKILL.md · 352 lines

How it starts

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

Smoke Test Skill

Generate Foundry smoke tests that verify deployment health by bootstrapping the actual deployed state (including pending governance actions) via the DeployManager/Resolver pipeline. Smoke tests sit between fork tests and production monitoring — they prove that a deployment is sound before governance execution. Follow the guidelines below to ensure consistency across the smoke test suite.

0. How Smoke Tests Differ from Unit and Fork Tests

Aspect Unit Tests Fork Tests Smoke Tests
State Fresh deploys with mocks Fresh deploys on top of fork Actual deployed state via Resolver
Purpose Full coverage, fuzz tests Test specific integration paths Verify deployment health
Contracts Deployed in setUp Mix of fresh + forked All resolved from DeployManager
Actors makeAddr("Governor") makeAddr("Governor") ousd.governor() (from live contracts)
Tokens MockERC20.mint() deal() cheatcode deal() cheatcode
Fuzz tests Yes No No
Base class Base BaseFork BaseSmoke (extends BaseFork)

Key insight: Smoke tests answer "Is this deployment safe to execute?" — not "Does this code work?" (unit tests) or "Does this integrate correctly?" (fork tests).

1. Directory Layout

contracts/tests/smoke/<category>/<Product>/
├── shared/
│   └── Shared.t.sol          # Abstract base with setUp, contract resolution, helpers
└── concrete/
    ├── ViewFunctions.t.sol    # One file per feature area
    ├── Mint.t.sol
    ├── Redeem.t.sol
    ├── Transfer.t.sol
    ├── Rebasing.t.sol
    └── YieldDelegation.t.sol

NEVER fuzz/ directory — smoke tests are concrete only (fork-based, same reason as fork tests).

One file per feature area, not per function. Group tests by what they verify. The feature groupings depend on the contract being tested:

  • OTokens (OUSD, OETH, OETHBase): ViewFunctions, Mint, Redeem, Transfer, Rebasing, YieldDelegation
  • Vaults: Mint, Redeem, Rebase, Allocate, WithdrawalQueue
  • Strategies: Deposit, Withdraw, Harvest, Rebalance

Read the full file on GitHub · 352 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. 12d ago Changed · -3 lines 9fd9bd8ab89f
  2. 1mo ago First seen · 355 lines · 24 tokens per session scan A da8dae8bc41f

Subscribe to this mod's changes

smoke-test is a skill published in the GitHub repository OriginProtocol/origin-dollar (153 stars, last pushed today), licensed MIT. It adds 24 tokens to every session and 3,861 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-09-04.