setup-stylus-contracts

setup-stylus-contracts is a skill for Claude Code from OpenZeppelin/openzeppelin-skills. It costs 92 tokens per session (803 once invoked), scanned C, original, AGPL-3.0.

A setup guide for Stylus, a Rust-based way to write smart contracts for Arbitrum. It covers creating a Cargo project, preparing Rust to compile to WebAssembly, and adding OpenZeppelin’s Stylus contract library.

In plain words
What is it for?
Use it to start a new Stylus project, install the required Rust and WebAssembly tools, add OpenZeppelin dependencies, and understand how Stylus packages are imported.
Why use it?
It gathers the project setup and Stylus import rules in one place, reducing errors before contract development begins.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the openzeppelin-skills plugin — 11 skills shipped together

Good fit Use it to start a new Stylus project, install the required Rust and WebAssembly tools, add OpenZeppelin dependencies, and understand how Stylus packages are imported.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openzeppelin/openzeppelin-skills/setup-stylus-contracts
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 OpenZeppelin/openzeppelin-skills --skill setup-stylus-contracts
Clone the repo
git clone --depth 1 https://github.com/OpenZeppelin/openzeppelin-skills

Made for: Claude Code.

Or install openzeppelin-skills, the plugin that ships this one along with the rest of its 11 skills.

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 setup-stylus-contracts

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/openzeppelin/openzeppelin-skills/setup-stylus-contracts"><img src="https://agentmods.dev/badge/skills/openzeppelin/openzeppelin-skills/setup-stylus-contracts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 803 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00092 $0.00803
Opus 5 $0.00046 $0.00402
Sonnet 5 $0.00018 $0.00161
Haiku 4.5 $0.00009 $0.00080

Measured 9d ago against content hash e9423301adf8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade C, and why

setup-stylus-contracts scanned grade C with 2 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 9d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
skills/setup-stylus-contracts/SKILL.md · 114 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 9d ago First seen · 114 lines · 92 tokens per session scan C e9423301adf8

Subscribe to this mod's changes

setup-stylus-contracts is a skill published in the GitHub repository OpenZeppelin/openzeppelin-skills (208 stars, last pushed 7d ago), licensed AGPL-3.0. It adds 92 tokens to every session and 803 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

jolt

Wrap a Rust function in a Jolt zero-knowledge proof.

a16z/jolt · 15 tokens

solana

Use when working on Solana software, including one or more of: Solana client code using TypeScript, Rust libraries that use Solana crates, Anchor programs, Quasar programs, LiteSVM tests, including Rust program files, TypeScript tests, and Anchor.toml or Quasar.toml configuration. Designed to create minimal, reusable…

quicknode/solana-finance-claude-plugin · 76 tokens

solana-toolkit-guide

Guide to the Solana Wallet Toolkit — vanity address generation with multi-threaded search, official Solana Labs libraries, Rust and TypeScript implementations. Includes wallet generation, custom address prefixes, and OG names on the blockchain.

nirholas/three.ws · 50 tokens

solana

Expert guidelines for Solana program development with Rust, Anchor framework, and Web3.js integration.

Mindrally/skills · 21 tokens

smart-contracts

Stellar smart contract development (Rust, soroban-sdk). Entry point with project setup, contract anatomy, and build/deploy workflow, routing to three companion files in this directory — development.md (storage/TTL, authorization, cross-contract calls, tokens, events, errors, upgrades, fees, troubleshooting)…

stellar/stellar-dev-skill · 151 tokens

solana-development

Build, test, deploy, and audit Solana programs with Anchor or native Rust, and build with ZK Compression (Light Protocol). Use when developing Solana smart contracts, implementing token operations, optimizing compute, deploying to networks, auditing programs for vulnerabilities, or creating compressed tokens/PDAs.

tenequm/skills · 63 tokens