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.
npx agentmods add skills/originprotocol/origin-dollar/verify-deployment-prnpx skills add OriginProtocol/origin-dollar --skill verify-deployment-prgit clone --depth 1 https://github.com/OriginProtocol/origin-dollarWrote 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.
[](https://agentmods.dev/skills/originprotocol/origin-dollar/verify-deployment-pr)<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="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00117 | $0.02704 |
| Opus 5 | $0.00059 | $0.01352 |
| Sonnet 5 | $0.00023 | $0.00541 |
| Haiku 4.5 | $0.00012 | $0.00270 |
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 today.
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.
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)
- All commands run from
contracts/:cd contracts. - Require
contracts/.envwithPROVIDER_URLandETHERSCAN_API_KEY:grep -oE '^(PROVIDER_URL|ETHERSCAN_API_KEY)=' .env. Source it for shell use:set -a; . ./.env; set +a(so$ETHERSCAN_API_KEYis available tosol2uml).- Missing
ETHERSCAN_API_KEY→ checks 2/3/4 can't run → STOP and report the blocker.
- Missing
- Require
ghauthenticated (gh auth status). If absent, ask the user to paste the PR body + deployed-address list rather than failing. - Require
sol2umlon PATH (command -v sol2uml). If absent:npm i -g sol2uml. - 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,mergeCommitgit rev-parse --abbrev-ref HEADandgit 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>(orgit checkout <headRefName>/git stash) and re-run. Do not verify against the wrong code.
Step 1 — Gather PR context
PR=$1.gh pr view "$PR" --json title,body,files,baseRefName,headRefName,state,url.- Find the changed Foundry deploy script(s):
git diff --name-only origin/master...HEAD -- 'contracts/scripts/deploy/**/*.s.sol'(or read the PRfiles). Ignore000_Example.s.sol. The folder underscripts/deploy/<network>/gives the network (mainnet, base, sonic, hyperevm, …) — use it forsol2uml --network <net>and map it to the chain deployment file (build/deployments-1.json,-8453.json,-146.json,-999.json, etc.). - 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'scontractsarray (.name,.implementation). The JSON field is namedimplementationeven for proxies and non-implementation contracts. If a newly recorded key is absent from the committed JSON, mark checks 1/3/4 ❌. - The script identifier is the string passed to
AbstractDeployScript("<ID>"). Resolve itsproposalId,tsDeployment, andtsGovernancefrom the matching entry in the chain deployment JSON'sexecutionsarray. Build expected governance actions from_buildGovernanceProposal()calls togovProposal.action(target, "signature(types)", abi.encode(args)). IfproposalIdis0/absent while governance is expected, mark check 5 ⚠️ ("no proposalId recorded — resolve from on-chain Governor events or ask the deployer"). - Working set:
[{key, contractType, address, constructorArgs, proposalId, network, deployScript}].
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.
- today First seen · 176 lines · 117 tokens per session scan A 47dc50525fa4
verify-deployment-pr is a skill published in the GitHub repository OriginProtocol/origin-dollar (151 stars, last pushed yesterday), licensed MIT. It adds 117 tokens to every session and 2,704 once invoked, about $0.0006 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-04.
Other skills, from other repositories
analyzing-ethereum-smart-contract-vulnerabilities
Perform static and symbolic analysis of Solidity smart contracts using Slither and Mythril to detect reentrancy, integer overflow, access control, and other vulnerability classes before deployment to Ethereum mainnet.
analyzing-ethereum-smart-contract-vulnerabilities
Perform static and symbolic analysis of Solidity smart contracts using Slither and Mythril to detect reentrancy, integer overflow, access control, and other vulnerability classes before deployment to Ethereum mainnet.
web3-bug-classes
Complete reference for all 10 DeFi smart contract bug classes. Use this when hunting for specific vulnerability types, need attack patterns for accounting desync, access control, incomplete path, off-by-one, oracle manipulation, ERC4626 vaults, reentrancy, flash loans, signature replay, or proxy/upgrade bugs.
web3-methodology-research
External research synthesis from Trail of Bits, SlowMist, ConsenSys, Immunefi, and Cyfrin. Use this for advanced audit methodology, Echidna/Medusa fuzzing setup, Slither custom detector writing, attack pattern deep dives, or the 4-phase learning roadmap.
web3-poc-foundry
Complete Foundry PoC writing guide + all cheatcodes + DeFiHackLabs reproduction patterns. Use this when building a proof of concept exploit, setting up a fork test, using Foundry cheatcodes, or reproducing a known DeFi hack for learning.
web3-triage-report
Bug triage validation system, Immunefi report format, and 20 real paid bounty examples dissected. Use this when validating a finding before submitting, writing an Immunefi report, checking if a bug is actually valid, or studying real examples of paid vulnerabilities.