origin-dollar: Skill for Claude Code

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

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

A skill for rearranging existing Foundry test files, whose Solidity files commonly end in `.t.sol`, without changing what the tests do. It changes structure only, such as the order of imports, variables, and functions.

In plain words
What is it for?
It helps tidy and reorder `.t.sol` files under `contracts/tests/` without adding, removing, renaming, or rewriting code.
Why use it?
It makes test files follow repository conventions while protecting their logic, names, values, assertions, and execution order.

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 →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import {Fork_SomeStrategy_Shared_Test} from "../shared/Shared.t.sol";.

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/organize-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 organize-test

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/originprotocol/origin-dollar/organize-test"><img src="https://agentmods.dev/badge/skills/originprotocol/origin-dollar/organize-test.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 3,205 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.00043 $0.03205
Opus 5.5 $0.00017 $0.01282
Sonnet 5.5 $0.00009 $0.00641
Haiku 4.5 $0.00004 $0.00320

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

Security

Grade A, and why

organize-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/organize-test/SKILL.md · 351 lines

How it starts

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

Organize Test Skill

Reorganize an existing Foundry test file (*.t.sol) so that imports, state variables, and functions follow the repository's established conventions. This skill makes purely structural changes — it never alters logic, assertions, values, names, or execution order.


0. Safety Guardrails — NEVER Violate

These rules are absolute. If any rule would be violated by a proposed change, skip that change entirely.

  1. Scope: Only modify files matching *.t.sol inside contracts/tests/. NEVER touch production contracts or deploy scripts.
  2. No semantic changes: Never modify function bodies, assertions, require/revert strings, call arguments, numeric values, or conditional logic.
  3. No renames: Never rename functions, variables, contracts, structs, enums, events, or errors.
  4. No additions or removals: Never add or remove imports, functions, state variables, or modifiers. Only reorder existing ones.
  5. No visibility/type changes: Never change visibility (public/internal/private), mutability (constant/immutable), types, or inheritance lists.
  6. Preserve comments: Move comments with their associated code. Never delete, rewrite, or add comments (except section dividers — see Section 5).
  7. Preserve blank-line semantics: Keep logical blank-line separations inside function bodies untouched.
  8. Skip if risky: If a reorganization is ambiguous, could affect behavior, or would produce a diff that is hard to review (>60% of lines changed), make the smallest safe change or do nothing.

1. Pre-Edit Checklist

Before making any edit, complete every item:

  • Confirm the target file is *.t.sol under contracts/tests/.
  • Read the entire file to understand its current structure.
  • Identify the file type: Shared (Shared.t.sol), Concrete (concrete test), Fuzz (fuzz test), or Base (Base.t.sol, BaseFork.t.sol, BaseSmoke.t.sol).
  • Check for any repo-specific conventions in the file that diverge from the defaults below. If present, respect the local convention.
  • Plan all moves mentally before editing. Each move must be a pure relocation — same content, new position.

Read the full file on GitHub · 351 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 · -1 lines 5da108f9f4eb
  2. 1mo ago Changed 52e4775f8d60
  3. 1mo ago First seen · 352 lines · 43 tokens per session scan A f00aae09ca70

Subscribe to this mod's changes

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