origin-dollar: Skill for Claude Code

.claude/skills/verify-deployment-pr/SKILL.md

verify-deployment-pr is a skill for Claude Code from OriginProtocol/origin-dollar. It costs 117 tokens per session (2,699 once invoked), scanned A, original, MIT.

A read-only checker for a completed smart-contract deployment pull request. It compares the contracts and dependencies in the codebase with the verified code and deployment details recorded on a blockchain network.

In plain words
What is it for?
Use it to review deployed contracts, addresses, constructor arguments, initialization transactions, and on-chain source code.
Why use it?
It helps catch mismatches between what a pull request claims was deployed and what is actually deployed, without sending transactions or changing files.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; positional $N argument.

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/verify-deployment-pr/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 verify-deployment-pr

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/originprotocol/origin-dollar/verify-deployment-pr"><img src="https://agentmods.dev/badge/skills/originprotocol/origin-dollar/verify-deployment-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,699 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 110
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00117 $0.02699
Opus 5.5 $0.00047 $0.01080
Sonnet 5.5 $0.00023 $0.00540
Haiku 4.5 $0.00012 $0.00270

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

Security

Grade A, and why

verify-deployment-pr 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/verify-deployment-pr/SKILL.md · 176 lines

How it starts

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

Verify Deployment PR

READ-ONLY audit of an already-executed deployment PR. Never broadcast a transaction, never edit files, never re-run the live deployment. All on-chain data comes from the block explorer (via sol2uml/Etherscan) or a read-only RPC.

Step 0 — Prerequisites (fail fast)

  1. All commands run from contracts/: cd contracts.
  2. Require contracts/.env with PROVIDER_URL and ETHERSCAN_API_KEY: grep -oE '^(PROVIDER_URL|ETHERSCAN_API_KEY)=' .env. Source it for shell use: set -a; . ./.env; set +a (so $ETHERSCAN_API_KEY is available to sol2uml).
    • Missing ETHERSCAN_API_KEY → checks 2/3/4 can't run → STOP and report the blocker.
  3. Require gh authenticated (gh auth status). If absent, ask the user to paste the PR body + deployed-address list rather than failing.
  4. Require sol2uml on PATH (command -v sol2uml). If absent: npm i -g sol2uml.
  5. Verify you are on the correct branch. This is the most important prereq: every check diffs the on-chain deployment against the local code, so a wrong branch (or a dirty tree) silently produces meaningless results. Match the checkout to the PR head:
    • gh pr view "$PR" --json headRefName,state,mergeCommit
    • git rev-parse --abbrev-ref HEAD and git status --porcelain
    • Require the current branch to equal the PR's headRefName, OR — if the PR is already merged — that the checkout contains its merge commit (git merge-base --is-ancestor <mergeCommit> HEAD).
    • On mismatch or a dirty working tree → STOP. Tell the user to gh pr checkout <PR> (or git checkout <headRefName> / git stash) and re-run. Do not verify against the wrong code.

Step 1 — Gather PR context

  1. PR=$1. gh pr view "$PR" --json title,body,files,baseRefName,headRefName,state,url.
  2. Find the changed Foundry deploy script(s): git diff --name-only origin/master...HEAD -- 'contracts/scripts/deploy/**/*.s.sol' (or read the PR files). Ignore 000_Example.s.sol. The folder under scripts/deploy/<network>/ gives the network (mainnet, base, hyperevm, …) — use it for sol2uml --network <net> and map it to the chain deployment file (build/deployments-1.json, -8453.json, -999.json, etc.).
  3. From each script's _execute(), enumerate every contract creation (new <Contract>(args)) and every _recordDeployment("<KEY>", address(...), type(<Contract>).name) call. Resolve <KEY> → address from the matching entry in the chain deployment JSON's contracts array (.name, .implementation). The JSON field is named implementation even for proxies and non-implementation contracts. If a newly recorded key is absent from the committed JSON, mark checks 1/3/4 ❌.
  4. The script identifier is the string passed to AbstractDeployScript("<ID>"). Resolve its proposalId, tsDeployment, and tsGovernance from the matching entry in the chain deployment JSON's executions array. Build expected governance actions from _buildGovernanceProposal() calls to govProposal.action(target, "signature(types)", abi.encode(args)). If proposalId is 0/absent while governance is expected, mark check 5 ⚠️ ("no proposalId recorded — resolve from on-chain Governor events or ask the deployer").
  5. Working set: [{key, contractType, address, constructorArgs, proposalId, network, deployScript}].

Read the full file on GitHub · 176 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 3172fcd263e5
  2. 1mo ago Changed b7dc141d7359
  3. 1mo ago First seen · 176 lines · 117 tokens per session scan A 47dc50525fa4

Subscribe to this mod's changes

verify-deployment-pr is a skill published in the GitHub repository OriginProtocol/origin-dollar (153 stars, last pushed today), licensed MIT. It adds 117 tokens to every session and 2,699 once invoked, about $0.0005 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.