cli-cast

cli-cast is a skill for Claude Code, Codex from PaulRBerg/agent-skills. It costs 47 tokens per session (4,668 once invoked), scanned A, original, MIT.

A command-line tool workflow for preparing, tracing, simulating, signing, broadcasting, and encoding blockchain transactions. ABI is the format that describes how a contract accepts calls and data.

In plain words
What is it for?
Use it to work with Foundry Cast commands, sign messages, inspect transaction traces, and encode or decode contract call data.
Why use it?
It separates harmless preparation and simulation from actions that sign or change blockchain state. Chain and provider details are checked before network operations.

Skill for Claude CodeCodex

Written for Claude Code and Codex: user-invocable in frontmatter, but also agents/openai.yaml present. Also seen: $skill-name invocation.

Good fit Use it to work with Foundry Cast commands, sign messages, inspect transaction traces, and encode or decode contract call data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/paulrberg/agent-skills/cli-cast
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 PaulRBerg/agent-skills --skill cli-cast
Clone the repo
git clone --depth 1 https://github.com/PaulRBerg/agent-skills

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 cli-cast

README.md
[![agentmods](https://agentmods.dev/badge/skills/paulrberg/agent-skills/cli-cast/github.svg)](https://agentmods.dev/skills/paulrberg/agent-skills/cli-cast)
Your own site
<a href="https://agentmods.dev/skills/paulrberg/agent-skills/cli-cast"><img src="https://agentmods.dev/badge/skills/paulrberg/agent-skills/cli-cast/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 cli-cast

Your own site · 80×15
<a href="https://agentmods.dev/skills/paulrberg/agent-skills/cli-cast"><img src="https://agentmods.dev/badge/skills/paulrberg/agent-skills/cli-cast.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,668 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.00047 $0.04668
Opus 5.5 $0.00019 $0.01867
Sonnet 5.5 $0.00009 $0.00934
Haiku 4.5 $0.00005 $0.00467

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

Security

Grade A, and why

cli-cast 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 28d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/rabby-slow-gas.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/cli-cast/SKILL.md · 327 lines

How it starts

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

Foundry Cast CLI

This skill is coordination-exempt: skip the ai-coord gate for its declared work.

Separate read, preparation, simulation, signing, and broadcast. Do not hide state-changing actions inside command construction.

For EIP-7702 authorization or delegation revocation, read references/eip7702.md before preparation. It defines signer selection, authority versus transaction sender, and conditional staged approval. It also defines authorization verification in addition to the transaction receipt.

Resolve Chain and Provider

Invoke $evm-atlas before every network operation. It owns chain resolution, discrete reads, and bounded live subscriptions. Pass the explicit chain name or ID, JSON-RPC method, exact parameters or call object, and block selector or checkpoint requirement. State why you need the result. Require its read packet containing the resolved chain name and ID, provider route, result, observed block or checkpoint, and coverage gaps.

If the chain is absent from evm-atlas, stop RPC-dependent work. Do not accept an arbitrary RPC URL to bypass that restriction. When the chain is ambiguous, never infer Ethereum.

Use an RPC URL in this skill only for a trace, fork, or send flow you cannot express as bounded discrete reads. For RouteMesh-backed continuous transport, first require evm-atlas to confirm current RouteMesh coverage. Then, if the explicit Foundry alias is configured, use it:

ROUTEMESH_CHAIN_ID="$CHAIN_ID" cast COMMAND --rpc-url routemesh

The alias can interpolate an environment variable, such as ROUTEMESH_API_KEY. The routemesh CLI keeps its own key. Thus, successful atlas reads do not prove that the alias resolves. Before you sign a transaction for alias broadcast, or use the alias in another way, run ROUTEMESH_CHAIN_ID="$CHAIN_ID" cast chain-id --rpc-url routemesh 2>/dev/null. Require the expected chain ID. If the check fails, load the missing variable from the user's environment setup without printing it. If you cannot load it, treat the alias as not configured.

Read the full file on GitHub · 327 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 28d ago Changed · +6 lines 58e419798dc8
  2. 1mo ago Changed · +3 lines 4940c169f9e6
  3. 1mo ago Changed · +1 lines f194edab6059
  4. 1mo ago Changed · +57 lines · +2 tokens per session 8f43d0f554d5
  5. 1mo ago Changed · +12 lines 75a5e2c801ea
  6. 1mo ago Changed · +5 lines b839c7ce4bbc
  7. 1mo ago Changed · +7 lines abc6b57aad20
  8. 1mo ago Changed · +5 lines 6fa9de0dba69
  9. 1mo ago Changed · +24 lines 9314cb1c8287
  10. 1mo ago First seen · 207 lines · 45 tokens per session scan A 17186e1253a2

Subscribe to this mod's changes

cli-cast is a skill published in the GitHub repository PaulRBerg/agent-skills (104 stars, last pushed 2d ago), licensed MIT. It adds 47 tokens to every session and 4,668 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-08-30.

Related

cli-cast compared with skills from other repositories

cli-cast next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cli-castPaulRBerg/agent-skillsSkill1042d agoMITA47Claude Code, Codex
signature-replayPurpleAILAB/DecepticonSkill6.6kyesterdayApache-2.0A31Claude Code, Codex
bridgealsk1992/CloddsBotSkill3.1k2d agoMITA13Claude Code, Codex
official-sui-skillsMystenLabs/suiSkill7.8kyesterdayApache-2.0A116Claude Code, Codex
onchainkitalsk1992/CloddsBotSkill3.1k2d agoMITA24Claude Code, Codex
marginfialsk1992/CloddsBotSkill3.1k2d agoMITA11Claude Code, Codex
devtools-event-clientTanStack/devtoolsSkill512yesterdayMITA79Claude Code, Codex