tron-staking

tron-staking is a skill for Claude Code from TronLink/tronlink-skills. It costs 130 tokens per session (1,156 once invoked), scanned A, original, MIT.

A read-only guide and command set for TRON staking, where TRX holders lock tokens to receive network resources and support network representatives. It explains Stake 2.0, the newer TRON staking system, including delegation, voting, rewards, and the waiting period before withdrawal.

In plain words
What is it for?
Use it to inspect staking information, Super Representative data, and estimated annual percentage yield. It also explains how freezing, voting, delegation, rewards, and unfreezing fit together.
Why use it?
It helps users understand their staking status and possible rewards without manually inspecting blockchain data. It does not perform staking, voting, or reward-claiming actions.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT variable. Also seen: mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the tronlink-skills plugin — 6 skills shipped together

Good fit Use it to inspect staking information, Super Representative data, and estimated annual percentage yield. It also explains how freezing, voting, delegation, rewards, and unfreezing fit together.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add TronLink/tronlink-skills
Claude Code
/plugin install tronlink-skills

Made for: Claude Code.

Or install tronlink-skills, the plugin that ships this one along with the rest of its 6 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 tron-staking

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tronlink/tronlink-skills/tron-staking"><img src="https://agentmods.dev/badge/skills/tronlink/tronlink-skills/tron-staking.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 130 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,156 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.00130 $0.01156
Opus 5 $0.00065 $0.00578
Sonnet 5 $0.00026 $0.00231
Haiku 4.5 $0.00013 $0.00116

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

Security

Grade A, and why

tron-staking 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/tron-staking/SKILL.md · 112 lines

How it starts

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

TRON Staking (Stake 2.0)

3 commands for SR list, staking info, and APY estimation (read-only queries).

TRON Stake 2.0 — Essential Knowledge

Stake 2.0 replaced the legacy Stake 1.0 system. Key differences:

  • Freezing and voting are separate operations (Stake 1.0 combined them)
  • Resources can be delegated to other addresses
  • Unfreezing has a 14-day waiting period before TRX can be withdrawn
  • Voting for Super Representatives (SRs) earns TRX rewards (~3-5% APY)

Staking Lifecycle

Freeze TRX → Get Energy or Bandwidth → Vote for SR → Earn Rewards → Unfreeze → Wait 14 days → Withdraw

Resolve the CLI path

Every command below runs node "$TRON_API". Set $TRON_API once per session so it works no matter how the skill was installed (Claude Code plugin, install.sh~/.tronlink-skills, or inside the cloned repo):

TRON_API="${CLAUDE_PLUGIN_ROOT:-$HOME/.tronlink-skills}/scripts/tron_api.mjs"
[ -f "$TRON_API" ] || TRON_API="scripts/tron_api.mjs"   # fallback when run inside the repo

Read-only / informational: this skill explains staking and reads on-chain staking state, APY, and SR data. It does not freeze/unfreeze, vote, or claim — those require signing in the TronLink wallet itself.

Commands

1. Super Representative List

node "$TRON_API" sr-list --limit 30

Returns: SR name, address, total votes, vote percentage, block production rate, APY estimate, commission rate.

2. My Staking Info

node "$TRON_API" staking-info --address <TRON_ADDRESS>

Returns:

  • TRX frozen for Energy (amount, unlock date)
  • TRX frozen for Bandwidth (amount, unlock date)
  • TRON Power (total votes available)
  • Current votes (which SRs, how many)
  • Unclaimed rewards
  • Pending unfreezes (amount, unlock date)
  • Delegated resources — the addresses this account delegated to / received from (per-pair amounts require a deeper getdelegatedresourcev2 lookup)

3. APY Estimation

node "$TRON_API" staking-apy --amount <TRX_TO_STAKE>

Read the full file on GitHub · 112 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. 9d ago First seen · 112 lines · 130 tokens per session scan A 20f4ce852c8a

Subscribe to this mod's changes

tron-staking is a skill published in the GitHub repository TronLink/tronlink-skills (6 stars, last pushed 2mo ago), licensed MIT. It adds 130 tokens to every session and 1,156 once invoked, about $0.0006 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-31.