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 skills add stellar/stellar-dev-skill --skill smart-contractsgit clone --depth 1 https://github.com/stellar/stellar-dev-skillWrote 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/stellar/stellar-dev-skill/smart-contracts)<a href="https://agentmods.dev/skills/stellar/stellar-dev-skill/smart-contracts"><img src="https://agentmods.dev/badge/skills/stellar/stellar-dev-skill/smart-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.
<a href="https://agentmods.dev/skills/stellar/stellar-dev-skill/smart-contracts"><img src="https://agentmods.dev/badge/skills/stellar/stellar-dev-skill/smart-contracts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.1 | $0.00151 | $0.03346 |
| Opus 5.5 | $0.00060 | $0.01338 |
| Sonnet 5.5 | $0.00030 | $0.00669 |
| Haiku 4.5 | $0.00015 | $0.00335 |
Grade A, and why
smart-contracts 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 29d 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.
How it starts
The opening of the file, as written. The whole thing — 277 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Stellar Smart Contracts
Guide for building Stellar smart contracts in Rust. Smart contracts on Stellar were formerly branded "Soroban" — the platform name is retired, but the Rust SDK (soroban-sdk) and several tool names keep the prefix.
This file covers setup and the core workflow. The deep dives live alongside it — read the file that matches the task:
| Task | File |
|---|---|
| Storage/TTL, authorization, constructors, cross-contract calls, tokens, events, errors, upgrades, factories, governance/DeFi patterns, fees/resources, troubleshooting | development.md |
| Unit, integration, fuzz, property, fork, and mutation testing | testing.md |
| Security review, vulnerability classes, checklists, audit prep, tooling | security.md |
When to use this skill
- Writing a Stellar smart contract in Rust
- Setting up contract tests (any layer)
- Reviewing a contract for security issues
- Architecting upgradeable contracts, factories, custom accounts, or DeFi primitives
- Debugging a contract-specific error (auth, storage, archival, resource limits)
Related skills
- Asset issuance, trustlines, and SAC deployment →
../assets/SKILL.md - Frontend/wallets that call your contract →
../dapp/SKILL.md - Chain data queries (RPC/Horizon) →
../data/SKILL.md - ZK verification (BLS12-381, Groth16, Circom/Noir/RISC Zero) →
../zk-proofs/SKILL.md - SEP/CAP standards and ecosystem links →
../standards/SKILL.md
Versions
This skill was written against protocol 29 (soroban-sdk v29, rs-soroban-env v29, stellar-cli v28). Version numbers in examples are illustrative — resolve the current ones from these sources rather than trusting any doc:
soroban-sdkmajor version tracks the protocol version (SDK 29 ↔ protocol 29). This rule outlives any specific release.- Build with
stellar contract build(stellar-cliv25.2.0+). Fromsoroban-sdk28, a plaincargo buildfor a Wasm target stops with an error, because the CLI must strip unreachable spec entries after compiling. Nativecargo testis unaffected. - Latest SDK release: crates.io/crates/soroban-sdk (or
cargo add soroban-sdk, which resolves it). Pre-releases (-rc.x) exist only during a protocol rollout and must be pinned with the exact version string; GitHub releases lists them with changelogs. - Networks upgrade by validator vote, testnet before mainnet — pin the SDK major matching the network you deploy to. Live protocol version: RPC
getVersionInfoor Stellar Lab. - Numeric network limits quoted here are mainnet settings at time of writing; they change by vote — Stellar Lab's Network Limits page and
stellar network settings --network mainnetshow the live values.
What ships with it
3 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.
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.
- 29d ago Changed · +1 lines 66558715c875
- 1mo ago Changed · +53 lines b4a109c898a1
- 2mo ago Changed · +1 lines 205faa248dd6
- 3mo ago First seen · 222 lines · 151 tokens per session scan A 2561ecf13609
smart-contracts is a skill published in the GitHub repository stellar/stellar-dev-skill (61 stars, last pushed 7d ago), licensed Apache-2.0. It adds 151 tokens to every session and 3,346 once invoked, about $0.0006 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.
smart-contracts compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| smart-contractsstellar/stellar-dev-skill | Skill | 61 | 7d ago | Apache-2.0 | A | 151 | Claude Code |
| jolta16z/jolt | Skill | 1.1k | today | Apache-2.0 | A | 15 | Claude Code |
| solana-toolkit-guidenirholas/three.ws | Skill | 289 | today | Apache-2.0 | A | 50 | Claude Code, Codex |
| solanaquicknode/solana-finance-claude-plugin | Skill | 104 | 17d ago | MIT | A | 76 | Claude Code |
| tari-ootletari-project/tari-ootle | Skill | 31 | yesterday | BSD-3-Clause | A | 37 | Claude Code, Codex |
| bitcoin-libraries-bdkclaude-dev-suite/claude-dev-suite | Skill | 51 | 2d ago | MIT | A | 81 | Claude Code |
| solana-developmenttenequm/skills | Skill | 39 | 4d ago | MIT | A | 53 | Claude Code, Codex |