sails-rust-implementer

sails-rust-implementer is a skill for Claude Code from gear-foundation/vara-skills. It costs 50 tokens per session (974 once invoked), scanned A, original, MIT.

An implementation guide for making approved Rust changes in Gear or Vara Sails smart-contract projects. Sails is a framework and interface system for building programs on those networks.

In plain words
What is it for?
Use it to implement approved contract features, token work, delayed messages, messaging and replies, gas handling, tests, and changes to already deployed contracts.
Why use it?
It reduces the risk of changing a contract or its generated client in a way that breaks existing routes, replies, events, or users. It also keeps implementation tied to an agreed specification and architecture.

Skill for Claude Code

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

Part of the vara-skills plugin — 26 skills shipped together

Good fit Use it to implement approved contract features, token work, delayed messages, messaging and replies, gas handling, tests, and changes to already deployed contracts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gear-foundation/vara-skills/sails-rust-implementer
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 gear-foundation/vara-skills --skill sails-rust-implementer
Clone the repo
git clone --depth 1 https://github.com/gear-foundation/vara-skills

Made for: Claude Code.

Or install vara-skills, the plugin that ships this one along with the rest of its 26 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 sails-rust-implementer

README.md
[![agentmods](https://agentmods.dev/badge/skills/gear-foundation/vara-skills/sails-rust-implementer/github.svg)](https://agentmods.dev/skills/gear-foundation/vara-skills/sails-rust-implementer)
Your own site
<a href="https://agentmods.dev/skills/gear-foundation/vara-skills/sails-rust-implementer"><img src="https://agentmods.dev/badge/skills/gear-foundation/vara-skills/sails-rust-implementer/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 sails-rust-implementer

Your own site · 80×15
<a href="https://agentmods.dev/skills/gear-foundation/vara-skills/sails-rust-implementer"><img src="https://agentmods.dev/badge/skills/gear-foundation/vara-skills/sails-rust-implementer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 974 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.
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.00050 $0.00974
Opus 5 $0.00025 $0.00487
Sonnet 5 $0.00010 $0.00195
Haiku 4.5 $0.00005 $0.00097

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

Security

Grade A, and why

sails-rust-implementer 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 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.

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/sails-rust-implementer/SKILL.md · 61 lines

How it starts

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

Sails Rust Implementer

Overview

Implement approved tasks in Sails-first Rust workspaces without freelancing new scope. If the task touches a released contract, preserve public routes, reply shapes, emitted events, and generated-client expectations unless the approved architecture explicitly changes them.

Inputs

  • ../../references/sails-cheatsheet.md — core Sails patterns and APIs
  • ../../references/sails-rs-imports.md — import paths for sails-rs types
  • ../../references/delayed-message-pattern.md — delayed self-message recipe
  • ../../references/vara-domain-overview.md — Vara domain context
  • ../../references/gear-sails-production-patterns.md — production patterns
  • ../../references/gear-messaging-and-replies.md — messaging and reply flows
  • ../../references/gear-gas-reservations-and-waitlist.md — gas and waitlist
  • ../../references/sails-syscall-mapping.mdSyscall::* API mapping (use instead of raw gcore::*/msg::*/exec::*)

Additional references by task type:

  • Token work: ../../references/awesome-sails-token-patterns.md
  • Released contract changes: ../../references/contract-interface-evolution.md

Consume the approved spec, architecture, and tasks artifacts before changing code.

If the target crate explicitly builds an ethexe path, stop and hand back to a dedicated ethexe workflow instead of extending this standard Sails pack.

Workflow

  1. Confirm the task is already specified and architecture-approved.
  2. Identify the smallest code change that satisfies the current task.
  3. Match the current Sails release conventions before improvising: public service routes use #[export], events use emit_event, and shared types use #[sails_type] (expands to Encode + Decode + TypeInfo + ReflectHash with correct crate paths). Prefer #[sails_type] over manual derives for all service types, command/query params, and event payloads. Use #[sails_type(crate = my_crate)] when re-exporting from a different crate.
  4. Preserve released routes, reply shapes, emitted events, IDL expectations, and client-facing contract stability unless the task explicitly changes them.
  5. Keep failure handling aligned with Gear/Vara async semantics.
  6. Hand local verification to the gtest loop before claiming the task is done.

Read the full file on GitHub · 61 lines

Files

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.

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 · 61 lines · 50 tokens per session scan A 9aa35ee19c87

Subscribe to this mod's changes

sails-rust-implementer is a skill published in the GitHub repository gear-foundation/vara-skills (17 stars, last pushed 1mo ago), licensed MIT. It adds 50 tokens to every session and 974 once invoked, about $0.0003 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.

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