Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/rylsherdamz-rgb/stellar-forgenpx agentmods add skills/rylsherdamz-rgb/stellar-forge/smart-contractsWrote 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/rylsherdamz-rgb/stellar-forge/smart-contracts)<a href="https://agentmods.dev/skills/rylsherdamz-rgb/stellar-forge/smart-contracts"><img src="https://agentmods.dev/badge/skills/rylsherdamz-rgb/stellar-forge/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/rylsherdamz-rgb/stellar-forge/smart-contracts"><img src="https://agentmods.dev/badge/skills/rylsherdamz-rgb/stellar-forge/smart-contracts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 5 findings, up to high
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 →
- high Privilege Escalation · line 263 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- medium Excessive Agency · line 236 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
- medium Excessive Agency · line 238 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
- medium Excessive Agency · line 241 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
- medium Excessive Agency · line 289 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00044 | $0.01912 |
| Opus 5 | $0.00022 | $0.00956 |
| Sonnet 5 | $0.00009 | $0.00382 |
| Haiku 4.5 | $0.00004 | $0.00191 |
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 11d 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 — 291 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Smart Contracts (Soroban)
Source Files
| File | Contents |
|---|---|
contracts/hello-world/src/lib.rs |
Minimal contract scaffold |
contracts/hello-world/src/test.rs |
Unit + auth + event tests |
contracts/token/src/lib.rs |
Full SEP-41 token |
contracts/token/src/test.rs |
Token unit + integration tests |
Testing Guide
Setup
#![cfg(test)]
extern crate std;
use soroban_sdk::{
testutils::{Address as _, Events},
Address, Env, String, Symbol,
};
Pattern 1: Unit Test with Setup Helper
Extract shared setup into a helper function:
fn setup() -> (Env, Address, Address, MyContractClient<'static>) {
let env = Env::default();
env.mock_all_auths();
let admin = Address::generate(&env);
let user = Address::generate(&env);
let contract_id = env.register(MyContract, (&admin, 1000u32));
let client = MyContractClient::new(&env, &contract_id);
(env, admin, user, client)
}
#[test]
fn test_initial_state() {
let (_, _, _, client) = setup();
assert_eq!(client.get_count(), 0);
}
Pattern 2: Auth Testing (without mock_all_auths)
Test that only authorized callers can invoke privileged functions:
#[test]
fn test_auth_required() {
let env = Env::default();
// Do NOT call mock_all_auths() — test auth failures
let admin = Address::generate(&env);
let attacker = Address::generate(&env);
let contract_id = env.register(MyContract, (&admin,));
let client = MyContractClient::new(&env, &contract_id);
let result = std::panic::catch_unwind(std::panic::AssertUnwindSafe(|| {
client.admin_only(&attacker); // attacker has no auth
}));
assert!(result.is_err());
}
#[test]
fn test_auth_passes() {
let env = Env::default();
env.mock_all_auths();
let admin = Address::generate(&env);
let contract_id = env.register(MyContract, (&admin,));
let client = MyContractClient::new(&env, &contract_id);
client.admin_only(&admin); // should not panic
}
What ships with it
27 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.
- examples/hello-world/Cargo.lock 48 KB
- examples/hello-world/Cargo.toml 392 B
- examples/hello-world/src/lib.rs 1.4 KB
- examples/hello-world/src/test.rs 1.9 KB
- examples/hello-world/test_snapshots/test/test_events_emitted.1.json 3.9 KB
- examples/hello-world/test_snapshots/test/test_increment_auth_required.1.json 2.2 KB
- examples/hello-world/test_snapshots/test/test_increment_multiple.1.json 5.0 KB
- examples/hello-world/test_snapshots/test/test_increment.1.json 3.2 KB
- examples/hello-world/test_snapshots/test/test_initial_state.1.json 2.2 KB
- examples/hello-world/test_snapshots/test/test_storage_ttl_extended_on_write.1.json 3.2 KB
- examples/token/Cargo.lock 48 KB
- examples/token/Cargo.toml 386 B
- examples/token/src/lib.rs 7.8 KB
- examples/token/src/test.rs 4.7 KB
- examples/token/test_snapshots/test/test_approve.1.json 5.4 KB
- examples/token/test_snapshots/test/test_balance_defaults_to_zero.1.json 3.3 KB
- examples/token/test_snapshots/test/test_burn_insufficient_balance.1.json 3.3 KB
- examples/token/test_snapshots/test/test_burn.1.json 6.3 KB
- examples/token/test_snapshots/test/test_metadata.1.json 3.3 KB
- examples/token/test_snapshots/test/test_mint_auth_required.1.json 3.3 KB
- examples/token/test_snapshots/test/test_mint_invalid_amount_rejected.1.json 3.3 KB
- examples/token/test_snapshots/test/test_mint_multiple_recipients.1.json 7.0 KB
- examples/token/test_snapshots/test/test_mint.1.json 5.1 KB
- examples/token/test_snapshots/test/test_total_supply_initial.1.json 3.3 KB
- examples/token/test_snapshots/test/test_transfer_from.1.json 9.3 KB
- examples/token/test_snapshots/test/test_transfer_insufficient_balance.1.json 5.1 KB
- examples/token/test_snapshots/test/test_transfer.1.json 7.1 KB
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.
- 11d ago First seen · 291 lines · 44 tokens per session scan A d58914cd06a1
smart-contracts is a skill published in the GitHub repository rylsherdamz-rgb/stellar-forge (17 stars, last pushed yesterday), licensed MIT. It adds 44 tokens to every session and 1,912 once invoked, about $0.0002 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-08-30.
Other skills, from other repositories
edge-python
Write, run, test and package Edge Python programs with the edge CLI. Use when editing .py files in an Edge Python project or when the user asks for Edge Python code.
klever-dev
End-to-end Klever blockchain development — smart contracts (Rust/WASM), transaction building (@klever/connect, klever-go-sdk), deployment via ksc + koperator, and on-chain interaction via MCP tools. Use when the task involves KLV, KDA tokens, klv1 addresses, Klever smart contracts, or Klever node/API interaction.
solana-dev
Solana development: Anchor and Pinocchio programs, Kit clients, wallet flows, testing. Use when building a Solana dapp or program (e.g. write Anchor escrow, create SPL token, wallet-standard login, debug PDA, deploy to devnet).
jolt
Wrap a Rust function in a Jolt zero-knowledge proof.
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…
cargo-fuzz
Sets up and runs cargo-fuzz, the standard fuzzing tool for Cargo-based Rust projects. Covers cargo fuzz init, the nightly toolchain requirement, fuzztarget! harnesses, Arbitrary-derived structured inputs, sanitizer options, cargo fuzz coverage, and reproducing a crash artifact. Use when fuzzing a Rust crate, writing a…