Rustchain: Skill for Claude Code

.claude/skills/rtc-balance/SKILL.md

rtc-balance is a skill for Claude Code from Scottcjn/Rustchain. It costs 20 tokens per session (680 once invoked), scanned A, original, Apache-2.0.

A command-line checker for RustChain, which reports a wallet's balance and basic network status from its public service. It uses a wallet address or miner ID as the lookup key.

In plain words
What is it for?
Use it to query a RustChain wallet, current epoch and slot, and the number of enrolled miners.
Why use it?
It provides a quick way to check whether the service is reachable and to retrieve the wallet's current balance and network information.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; positional $N argument; mentions Claude Code.

This is Scottcjn/Rustchain's own configuration. It tells Claude Code how to work on Rustchain itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Rustchain configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Scottcjn/Rustchain. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Scottcjn/Rustchain/main/.claude/skills/rtc-balance/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Scottcjn/Rustchain

Made for: Claude Code.

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 rtc-balance

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/scottcjn/rustchain/rtc-balance"><img src="https://agentmods.dev/badge/skills/scottcjn/rustchain/rtc-balance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 680 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

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 →

  • medium Agent Snooping · line 15
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.00020 $0.00680
Opus 5.5 $0.00008 $0.00272
Sonnet 5.5 $0.00004 $0.00136
Haiku 4.5 $0.00002 $0.00068

Measured 2mo ago against content hash 90ed7b93ae90, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rtc-balance scanned grade A with 1 finding 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 2mo 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.

Makes network callslowCapability

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

Requires `curl` (pre-installed on macOS and most Linux distributions). No additional dependencies.
.claude/skills/rtc-balance/SKILL.md · 99 lines

How it starts

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

/rtc-balance — RustChain Wallet Balance Checker

Installation

Copy this folder (.claude/skills/rtc-balance/) into your project's .claude/skills/ directory. Claude Code automatically loads skills from that path.

mkdir -p .claude/skills
cp -r path/to/rtc-balance .claude/skills/rtc-balance

Requires curl (pre-installed on macOS and most Linux distributions). No additional dependencies.

Usage

/rtc-balance <wallet_name>

<wallet_name> is your RustChain wallet address or miner ID.

Procedure (executed on invocation)

When invoked with <wallet_name>, perform these steps in order:

Step 1 — Fetch wallet balance

curl -sS --max-time 8 "https://rustchain.org/wallet/balance?miner_id=<wallet_name>"

Parse the JSON response:

  • If the response contains "amount_rtc": extract that float value as the balance
  • If the response is empty or curl exits non-zero: the node is unreachable, skip to Step 3a

Step 2 — Fetch network status

curl -sS --max-time 8 "https://rustchain.org/epoch"

Parse the JSON response for these fields:

  • epoch: int — current epoch number
  • slot: int — current slot within the epoch
  • enrolled_miners: int — number of active miners

Step 3a — Node offline path

If Step 1 or Step 2 failed (curl timeout or non-JSON response):

Error: Node unreachable
Check your network connection or try again later.

Step 3b — Success path

Format and print the output:

Wallet: <wallet_name>
Balance: <amount_rtc> RTC ($<usd> USD)
Epoch: <epoch> | Slot: <slot> | Miners online: <count>

Where:

  • amount_rtc = float from Step 1 (default 0.0 if wallet not found)
  • usd = amount_rtc * 0.10 (reference rate: 1 RTC = $0.15 USD)
  • epoch, slot, enrolled_miners = integers from Step 2

Error handling

Scenario Behavior
Wallet not found (API returns {"amount_rtc": 0.0}) Show 0.00 RTC, continue
Node unreachable Stop, print "Node unreachable" message
Empty wallet name Print "Usage: /rtc-balance <wallet_name>"

Read the full file on GitHub · 99 lines

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. 2mo ago First seen · 99 lines · 20 tokens per session scan A 90ed7b93ae90

Subscribe to this mod's changes

rtc-balance is a skill published in the GitHub repository Scottcjn/Rustchain (669 stars, last pushed 2d ago), licensed Apache-2.0. It adds 20 tokens to every session and 680 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

rtc-balance compared with skills from other repositories

rtc-balance next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rtc-balanceScottcjn/RustchainSkill6692d agoApache-2.0A20Claude Code
rustchain-mcpScottcjn/rustchain-mcpSkill1191mo agoMITA0Claude Code, Codex
fintech-expertpersonamanagmentlayer/pclSkill4411d agoApache-2.0A73Claude Code
send-usdtfbsobreira/gotron-mcpSkill410d agoLGPL-3.0A76Claude Code
zerion-apiDemerzels-lab/elsamultiskillagentSkill105mo agoMITA0Claude Code, Codex
estimate-energyfbsobreira/gotron-mcpSkill410d agoLGPL-3.0A80Claude Code
batch-token-price-lookupcoinpaprika/claude-marketplaceSkill916d agononeA39Claude Code