TronLink Skills
Overview
GitHub: https://github.com/TronLink/tronlink-skills
Version scope. The command reference on this page (6 skills, 33 commands) was written for v1.0.x. The default branch — what
git cloneandinstall.shinstall — is now v1.1.0 (commitb12b5868): it adds 7 read-only commands (40 in total) and requires exactly Node.js 24.22.3. See Version & License; treattron_api.mjs --help/ MCPtools/listfrom your installed copy as authoritative.
TronLink Wallet Skills is an AI Agent skill set that provides complete TRON blockchain wallet and DeFi functionality through natural language. Designed for Claude Code, Cursor, OpenCode, Codex CLI, and other AI agents.
Key Highlights: - 6 skills, 33 commands covering wallet, token research, market data, swaps, resources, and staking - Zero npm dependencies — uses native Node.js fetch and crypto (requires exactly Node.js 24.22.3 — see Dependencies), no npm install needed - TRON-specific domain knowledge — dedicated handling of Energy + Bandwidth resource model - Multi-platform support — Claude Code, Cursor, OpenCode, Codex CLI, LangChain/CrewAI - Read-only & safe — all commands are query-only, no private keys or signing involved - MCP server wrapper for structured AI agent integration
Why TronLink Skills?
TRON has a fundamentally different fee model than EVM chains. Instead of unified gas, TRON uses Energy (for smart contracts) and Bandwidth (for all transactions). No existing AI agent skill properly covers:
- TRON's unique resource model and cost optimization strategies
- Stake 2.0 (freezing TRX to obtain resources and earn rewards)
- Super Representative (SR) voting mechanics
- DEX aggregation across SunSwap V2/V3 and Sun.io
- The 14-day unfreezing wait period and its implications
TronLink Skills fills this gap with deep TRON-specific domain knowledge.
Architecture
Natural Language Input
|
v
AI Agent (Claude Code / Cursor / OpenCode / Custom)
|
v
tron_api.mjs (Node.js 24.22.3, native fetch, zero dependencies)
├── Zero npm dependencies
├── TronGrid HTTP API (public or with API key)
└── Tronscan API for token metadata
|
v
Structured JSON → Agent interprets → Natural language response
The 6 Skills
1. tron-wallet (6 commands)
Wallet queries and account information.
| Command | Description |
|---|---|
wallet-balance | TRX balance and frozen amounts |
token-balance | Check TRC-20 token balance |
wallet-tokens | List all token holdings |
tx-history | Recent transaction history |
account-info | Full account details |
validate-address | Address format validation |
Features: Handles both Base58Check (T...) and hex address formats, supports known token symbols, auto-converts decimals.
When NOT to use: To transfer TRX or TRC-20 tokens with browser approval, use Signer SDK sendTrx or sendTrc20. For a local agent wallet, use mcp-server-tronlink tl_chain_send. Use tron-token for token risk and liquidity analysis.
2. tron-token (7 commands)
Token research and security analysis.
| Command | Description |
|---|---|
token-info | Metadata, supply, issuer, socials |
token-search | Find tokens by name/symbol |
contract-info | ABI, bytecode, verification status |
token-holders | Top holders and holder analysis |
trending-tokens | Highest volume tokens (24h) |
token-rankings | Sort by market cap, volume, holders, gainers/losers |
token-security | Security audit (honeypot, proxy, owner permissions) |
Features: Detects rug pulls, analyzes holder concentration, checks liquidity locks.
When NOT to use: Per-account balances or transaction history — that's tron-wallet. Real-time price/volume — that's tron-market.
3. tron-market (8 commands)
Real-time market data and whale monitoring.
| Command | Description |
|---|---|
token-price | Current price USD/TRX, 24h change |
kline | OHLCV candlestick data (1m to 1w intervals) |
trade-history | Recent DEX trades |
dex-volume | Buy/sell volume, trade count |
whale-transfers | Large transfers (configurable threshold) |
large-transfers | TRX whale activity |
pool-info | Liquidity pools (SunSwap V2/V3 TVL, APY) |
market-overview | TRON network stats (price, cap, volume, active accounts) |
Features: Multi-DEX aggregation, smart money signal detection, K-line analysis.
When NOT to use: Quotes or routes for swapping right now — that's tron-swap (which factors in slippage). Static token metadata — tron-token.
4. tron-swap (3 commands)
DEX swap quotes and route optimization.
| Command | Description |
|---|---|
swap-quote | Expected output, price impact, slippage |
swap-route | Optimal route across SunSwap V2/V3, Sun.io (multi-hop) |
tx-status | Track transaction status |
Features: Aggregates liquidity from multiple sources, estimates Energy cost, handles multi-hop routes.
When NOT to use: To execute a swap, use mcp-server-tronlink tl_chain_swap_v3 with action="execute" and a user-approved slippage. Use tron-market for historical trade data.
5. tron-resource (6 commands)
Energy & Bandwidth management — TRON-specific.
| Command | Description |
|---|---|
resource-info | Current Energy/Bandwidth available and staked |
estimate-energy | Energy cost for smart contract calls |
estimate-bandwidth | Bandwidth cost (free daily allowance: 600) |
energy-price | Current SUN cost per Energy unit |
energy-rental | Query rental marketplace options |
optimize-cost | Personalized recommendation (freeze vs. rent vs. burn) |
Features: Decision tree logic for cost optimization, tracks daily free bandwidth, calculates TRX burn equivalent.
When NOT to use: To freeze TRX for Energy or Bandwidth, use mcp-server-tronlink tl_chain_stake with action="freeze". Use tron-staking to research SRs before voting.
6. tron-staking (3 commands)
Stake 2.0 queries and SR information.
| Command | Description |
|---|---|
sr-list | List SRs with votes, block rate, APY |
staking-info | Frozen amount, votes, unclaimed rewards, pending unfreezes |
staking-apy | Calculate estimated annual yield |
Features: Stake 2.0 status queries, APY calculation, SR commission tracking.
When NOT to use: Cast votes with TronLink CLI tronlink vote and claim voting rewards with tronlink reward. To freeze or unfreeze TRX, use mcp-server-tronlink tl_chain_stake. Use tron-resource for energy estimates.
Skill ↔ MCP Tool Map
In the v1.0.x command set, scripts/mcp_server.mjs exposes 25 of 33 CLI commands as MCP tools. At the default-branch commit b12b5868, it exposes 39 of 40 commands; only swap-route is CLI-only, so the “CLI-only” markers below apply to v1.0.x. The wrapper runs the corresponding CLI command and returns text in an MCP tool result. The remaining eight commands are available through the Skills or the CLI.
| Skill | CLI command | MCP tool name | Side effect | Retryable |
|---|---|---|---|---|
tron-wallet | wallet-balance | tron_wallet_balance | Network Read | Yes |
tron-wallet | token-balance | tron_token_balance | Network Read | Yes |
tron-wallet | wallet-tokens | tron_wallet_tokens | Network Read | Yes |
tron-wallet | tx-history | tron_tx_history | Network Read | Yes |
tron-wallet | account-info | tron_account_info | Network Read | Yes |
tron-wallet | validate-address | tron_validate_address | Local (pure) | Yes |
tron-token | token-info | tron_token_info | Network Read | Yes |
tron-token | token-search | tron_token_search | Network Read | Yes |
tron-token | contract-info | — (CLI only) | Network Read | Yes |
tron-token | token-holders | tron_token_holders | Network Read | Yes |
tron-token | trending-tokens | tron_trending_tokens | Network Read | Yes |
tron-token | token-rankings | tron_token_rankings | Network Read | Yes |
tron-token | token-security | tron_token_security | Network Read | Yes |
tron-market | token-price | tron_token_price | Network Read | Yes |
tron-market | kline | tron_kline | Network Read | Yes |
tron-market | trade-history | — (CLI only) | Network Read | Yes |
tron-market | dex-volume | — (CLI only) | Network Read | Yes |
tron-market | whale-transfers | tron_whale_transfers | Network Read | Yes |
tron-market | large-transfers | — (CLI only) | Network Read | Yes |
tron-market | pool-info | — (CLI only) | Network Read | Yes |
tron-market | market-overview | tron_market_overview | Network Read | Yes |
tron-swap | swap-quote | tron_swap_quote | Network Read | Yes |
tron-swap | swap-route | — (CLI only) | Network Read | Yes |
tron-swap | tx-status | tron_tx_status | Network Read | Yes |
tron-resource | resource-info | tron_resource_info | Network Read | Yes |
tron-resource | estimate-energy | tron_estimate_energy | Network Read | Yes |
tron-resource | estimate-bandwidth | — (CLI only) | Network Read | Yes |
tron-resource | energy-price | tron_energy_price | Network Read | Yes |
tron-resource | energy-rental | — (CLI only) | Network Read | Yes |
tron-resource | optimize-cost | tron_optimize_cost | Network Read | Yes |
tron-staking | sr-list | tron_sr_list | Network Read | Yes |
tron-staking | staking-info | tron_staking_info | Network Read | Yes |
tron-staking | staking-apy | tron_staking_apy | Network Read | Yes |
The v1.0.x table covers 33 read-only CLI commands, including 25 available over MCP. Use the routing examples below for transactions.
Intent → Skill → Tool Routing
Pick a skill first by the kind of question, then a command by the field the user asked about. Common intents:
| User says (intent) | Skill | Command / MCP tool |
|---|---|---|
| "What's the TRX balance of T…?" / "How many tokens in this wallet?" | tron-wallet | wallet-balance · tron_wallet_balance |
"Is Tabcd… a valid TRON address?" | tron-wallet | validate-address · tron_validate_address |
| "Show recent transactions for T…" | tron-wallet | tx-history · tron_tx_history |
| "Is this token safe / a honeypot?" | tron-token | token-security · tron_token_security |
| "Who are the top holders of USDT?" | tron-token | token-holders · tron_token_holders |
| "What's the contract ABI of …?" | tron-token | contract-info (CLI only) |
| "What are the top-volume tokens today?" | tron-token | trending-tokens · tron_trending_tokens |
| "What's TRX / USDT price?" | tron-market | token-price · tron_token_price |
| "Show 1h K-line for SUN" | tron-market | kline · tron_kline |
| "Recent SunSwap trades for USDT?" | tron-market | trade-history (CLI only) |
| "What's the TVL of SUN/TRX pool?" | tron-market | pool-info (CLI only) |
| "How much USDT will I get for 100 TRX?" | tron-swap | swap-quote · tron_swap_quote |
| "What's the cheapest route TRX → JST?" | tron-swap | swap-route (CLI only) |
"Did transaction 0xabc… succeed?" | tron-swap | tx-status · tron_tx_status |
| "How much Energy / Bandwidth do I have?" | tron-resource | resource-info · tron_resource_info |
| "Should I freeze, rent, or burn?" | tron-resource | optimize-cost · tron_optimize_cost |
| "How much Energy does a USDT transfer cost?" | tron-resource | estimate-energy · tron_estimate_energy |
| "Where can I rent Energy?" | tron-resource | energy-rental (CLI only) |
| "List the current Super Representatives" | tron-staking | sr-list · tron_sr_list |
| "What's my staking position?" | tron-staking | staking-info · tron_staking_info |
| "If I stake 10000 TRX, what's my APY?" | tron-staking | staking-apy · tron_staking_apy |
If the request implies changing on-chain state (transfer, swap execution, freeze, vote, claim), this skill set is the wrong layer — see the routing notes under each skill's "When NOT to use".
❌ When NOT to route here (negative examples)
Use Skills for queries and estimates. For actions that sign or broadcast, choose the route below. The TronLink CLI and signer SDK use browser approval. MCP Server direct chain tools sign with the local agent wallet, so the host must obtain confirmation before the call.
| User says (intent) | ❌ Wrong route (looks plausible, but read-only) | ✅ Correct route |
|---|---|---|
"Send 100 TRX to T…" | tron-wallet wallet-balance then stop — this only checks the balance, never sends. | signer SDK sendTrx (HITL) or mcp-server-tronlink tl_chain_send |
| "Freeze 1000 TRX to get Energy" | tron-resource optimize-cost — this only computes the recommendation. | mcp-server-tronlink tl_chain_stake (action="freeze", amount_trx=1000, resource="ENERGY") |
"Vote 5000 votes for SR T…" | tron-staking sr-list — only reads the SR list, no vote is cast. | TronLink CLI tronlink vote --votes <SR_ADDRESS>:5000. A vote replaces all of the account’s current votes; to keep votes for other SRs, list them in the same command. |
| "Approve USDT spending for the SunSwap router" | tron-token token-info / contract-info — pure metadata, no approval is broadcast. | TronLink CLI tronlink trigger --contract <USDT_CONTRACT> --method 'approve(address,uint256)' --args '["<ROUTER_ADDRESS>","1000000"]'. Use the token and router on the selected network. The router is the spender. For 6-decimal USDT, 1000000 authorizes 1 USDT. |
| "Swap 100 TRX for USDT now" | tron-swap swap-quote — only quotes price, never executes. | mcp-server-tronlink tl_chain_swap_v3 with action="execute" and an explicitly approved slippage (%) |
| "Claim my voting rewards" | tron-staking staking-info — only shows the pending balance. | TronLink CLI tronlink reward |
Heuristic. If the user's verb is send / freeze / unfreeze / vote / unvote / approve / swap (execute) / claim / sign / broadcast, the answer never starts in this Skills set. Skills can still precede the write (quote, estimate cost, validate address, check balance) — just don't claim a Skills call finished the user's request.
Recommended Skill Workflows
Balance & Token Check
tron-wallet (check balance) → tron-wallet (list tokens) → tron-resource (check energy status)
Research & Swap Quote
tron-token (search) → tron-market (price/chart) → tron-resource (check energy) → tron-swap (get quote)
Staking Analysis
tron-wallet (check balance) → tron-staking (staking info) → tron-staking (APY estimate) → tron-staking (SR list)
Resource Optimization
tron-resource (check status) → tron-resource (estimate cost) → tron-resource (optimize-cost)
TRON Resource Model Reference
Energy vs. Bandwidth
| Resource | Consumed By | Free Allowance | How to Get |
|---|---|---|---|
| Bandwidth | ALL transactions | 600/day | Freeze TRX or burn TRX |
| Energy | Smart contracts only | None | Freeze TRX, rent, or burn TRX |
Cost Examples
Effective as of 2026-05. Energy figures shift with contract upgrades (notably USDT TRC-20) and network parameters; the bandwidth/energy unit prices used to derive the TRX-burned column also change. Treat these as order-of-magnitude reference, not contractual values. Source: TronGrid / Tronscan transaction samples and TRON network parameters. For runtime accuracy, call the
tron-resourceskill'sestimate-energy/estimate-bandwidthcommands.
| Operation | Bandwidth | Energy | TRX Burned (no resources) |
|---|---|---|---|
| TRX transfer | ~267 | 0 | 0 (within free limit) |
| USDT transfer | ~345 | ~65,000 | ~13-27 TRX |
| SunSwap swap | ~345 | ~65,000-200,000 | ~13-40 TRX |
| Token approve | ~345 | ~30,000 | ~6-12 TRX |
Stake 2.0 Key Facts
- Freeze TRX → Get Energy or Bandwidth → Vote for SR → Earn rewards
- Unfreezing has 14-day wait before withdrawal
- Votes reset if you unfreeze; must re-vote after re-freezing
- Energy obtained by staking depends on the network’s current stake. Estimate the quota per TRX from
TotalEnergyLimit / TotalEnergyWeighton the target network.estimate-energyestimates a contract call’s consumption. GetAccountResource - Voting rewards can be claimed once every 24 hours
Integration Methods
Method 1: Claude Code (Recommended)
# Clone and use directly
# v1.1.0 requires Git, nvm, Node.js 24.22.3 and (for the interactive steps) Claude Code.
git clone https://github.com/TronLink/tronlink-skills.git
cd tronlink-skills
git checkout b12b5868
nvm install && nvm use
claude # Auto-discovers SKILL.md files
No npm install needed for read-only operations.
Method 2: MCP Server
# Register as MCP server
claude mcp add tronlink -- node ~/.tronlink-skills/scripts/mcp_server.mjs
# Provides 39 MCP tools at b12b5868 (25 in v1.0.x), callable by Claude Desktop / Claude Code
# (only swap-route is CLI-only at b12b5868; see "Skill ↔ MCP Tool Map" above for the v1.0.x mapping)
Method 3: Manual CLI
# Direct command execution
node scripts/tron_api.mjs wallet-balance --address TAddress...
node scripts/tron_api.mjs token-price --contract USDT
node scripts/tron_api.mjs swap-quote --from-token TRX --to-token USDT --amount 100
Handling Skills CLI and MCP errors
In Skills v1.1.0 (b12b5868), an unknown CLI command or a missing required option exits with 1 and writes a diagnostic to stderr. A command can also exit with 0 and return an error in stdout. For example, staking-apy --amount 0 returns JSON with error, status: 400, and parameter: "amount". For a data query, check the exit status first, then parse stdout and check for error before using the result. Skills CLI implementation
For MCP tools/call, check for a JSON-RPC error first (an unknown tool returns -32602). For a recognized tool, parse the JSON in result.content[0].text and check its error field. The wrapper can return command failures in this text with no isError flag. Skills MCP implementation
Method 4: Other AI Platforms
| Platform | Integration |
|---|---|
| Cursor / Windsurf | Clone repo, use MCP or direct skill reading |
| Codex CLI | Symlink to ~/.agents/skills/tronlink-skills |
| OpenCode | Register plugin, symlink skills |
| LangChain / CrewAI | Wrap tron_api.mjs as a Tool |
Cursor (or Windsurf, same schema)
~/.cursor/mcp.json:
{
"mcpServers": {
"tronlink-skills": {
"command": "node",
"args": ["/absolute/path/to/tronlink-skills/scripts/mcp_server.mjs"]
}
}
}
Codex CLI
# Symlink the skills bundle into the agent's discovery path
ln -s "$(pwd)/tronlink-skills" ~/.agents/skills/tronlink-skills
# Verify discovery
codex skills list | grep tron
OpenCode
~/.config/opencode/config.json:
{
"plugins": {
"tronlink-skills": { "path": "/absolute/path/to/tronlink-skills" }
}
}
LangChain / CrewAI (Python)
from langchain_core.tools import Tool
import subprocess, json
def tron_call(cmd: str) -> dict:
out = subprocess.check_output(
["node", "scripts/tron_api.mjs", *cmd.split()],
cwd="/absolute/path/to/tronlink-skills",
)
result = json.loads(out)
if isinstance(result, dict) and "error" in result:
raise RuntimeError(result["error"])
return result
tron_wallet_balance = Tool.from_function(
func=lambda addr: tron_call(f"wallet-balance --address {addr}"),
name="tron_wallet_balance",
description="TRX balance and frozen amounts. Address is a TRON Base58 (T...) string.",
)
Quick Setup Script
# Auto-install for all AI environments
bash install.sh
# Clean uninstall
bash uninstall.sh
Configuration
Environment Variables
# Optional: TronGrid API key for higher rate limits
export TRONGRID_API_KEY="your-api-key"
# Optional: Switch network (default: mainnet)
export TRON_NETWORK="mainnet" # or "shasta" / "nile"
Network Support
| Network | URL | Use Case |
|---|---|---|
| Mainnet | https://api.trongrid.io | Production |
| Shasta | https://api.shasta.trongrid.io | Testing |
| Nile | https://nile.trongrid.io | Testing |
Built-In Token Shortcuts
| Symbol | Contract Address |
|---|---|
| TRX | Native (no contract) |
| USDT | TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t |
| USDC | TEkxiTehnzSmSe2XqrBj4w32RUN966rdz8 |
| WTRX | TNUC9Qb1rRpS5CbWLmNMxXBjyFoydXjWFR |
| BTT | TAFjULxiVgT4qWk6UZwjqwZXTSaGaqnVp4 |
| JST | TCFLL5dx5ZJdKnWuesXxi1VPwjLVmWZZy9 |
| SUN | TSSMHYeV2uE9qYH95DqyoCuNCzEL1NvU3S |
| WIN | TLa2f6VPqDgRE67v1736s7bJ8Ray5wYjU7 |
Project Structure
tronlink-skills/
├── README.md # Main documentation
├── package.json # Node.js manifest
├── install.sh # Auto-install for all AI environments
├── uninstall.sh # Clean uninstall
│
├── scripts/
│ ├── tron_api.mjs # Main CLI (33 commands, zero dependencies)
│ └── mcp_server.mjs # MCP protocol server wrapper
│
├── skills/ # Skill definitions (auto-discovered)
│ ├── tron-wallet/SKILL.md
│ ├── tron-token/SKILL.md
│ ├── tron-market/SKILL.md
│ ├── tron-swap/SKILL.md
│ ├── tron-resource/SKILL.md
│ └── tron-staking/SKILL.md
│
├── docs/
│ ├── claude-integration-guide.md # 3 integration methods
│ ├── resource-model.md # Energy & Bandwidth deep dive
│ ├── staking-guide.md # Stake 2.0 & APY explanation
│ └── integration-guide.sh
│
├── .claude-plugin/ # Claude Code plugin config
├── .cursor-plugin/ # Cursor IDE plugin config
├── .opencode/ # OpenCode config
├── .codex/ # Codex CLI setup
├── .claude/ # Pre-configured test commands
├── _meta.json # Metadata for skill registries
└── LICENSE # MIT
Dependencies
| Dependency | Required? | Purpose |
|---|---|---|
| Node.js 24.22.3 (exact; default branch v1.1.0) | Yes | Runtime (native fetch, crypto). Pinned by .nvmrc and package.json engines on the default branch; install.sh exits with an error on any other version. Run nvm install 24.22.3 && nvm use 24.22.3 before installing. |
| npm install | Not needed | All operations work without any npm dependencies |
Security Model
| Aspect | Implementation |
|---|---|
| Read-only design | All commands are queries — no private keys, no signing, no fund movements |
| Side effects | Every command is Network Read: it calls public APIs but changes no state. All commands are safe to retry; no human-in-the-loop confirmation is needed |
| No secrets required | Only optional TRONGRID_API_KEY for higher rate limits |
| Rate limits | Public TronGrid API; use TRONGRID_API_KEY for higher limits |
| Error handling | Failures are query errors: rate limit (retryable, back off), network errors (retryable), invalid address/parameters (not retryable — fix the input). |
Address Format Support
Both formats are supported and auto-normalized across all commands:
| Format | Example | Description |
|---|---|---|
| Base58Check | T... (34 chars) | Standard display format |
| Hex | 41... (42 hex chars) | Internal representation |
Key Design Decisions
- Zero Dependencies — No npm install required, making it lightweight and instant for AI agents
- Read-Only & Safe — All commands are queries only, no private keys or signing involved
- TRON-Specific Domain Knowledge — Dedicated skills for Energy/Bandwidth and Stake 2.0, acknowledging TRON's unique architecture
- Multi-Format Address Support — Handles both Base58Check and hex formats transparently
- Token Symbol Resolution — Common tokens have built-in shortcuts; unknown contracts work by address
- Cost Optimization Recommendations — The
optimize-costcommand provides personalized strategies - MCP Server Wrapper — Provides structured integration for Claude Desktop and modern AI agents
Quick Start
# 1. Clone
# v1.1.0 requires Git, nvm, Node.js 24.22.3 and (for the interactive steps) Claude Code.
git clone https://github.com/TronLink/tronlink-skills.git
cd tronlink-skills
git checkout b12b5868
nvm install && nvm use
# 2. Use with Claude Code (no install needed for reads)
claude
# "What's the TRX balance of TAddress...?"
# "Show me the top trending tokens on TRON"
# "How much Energy do I need to send USDT?"
# "What's the best way to get Energy — freeze, rent, or burn?"
# 3. Alternatively, run these in the shell. Set ACCOUNT to the address to query.
node scripts/tron_api.mjs wallet-balance --address "${ACCOUNT:?set ACCOUNT}"
node scripts/tron_api.mjs token-price --contract USDT
node scripts/tron_api.mjs optimize-cost --address "${ACCOUNT:?set ACCOUNT}"
Version & License
- Package:
tronlink-skillsv1.0.1 — the version the command tables on this page describe. - Default branch: v1.1.0 (commit
b12b5868,package.jsonversion: 1.1.0), installed bygit clone/install.sh. Differences from v1.0.1 that affect agents:- 7 additional read-only commands, also exposed as
tron_<command>MCP tools. At this commitmcp_server.mjsexposes 39 of the 40 commands; onlyswap-routeis CLI-only. The new commands:wallet-approvals,wallet-overview,token-overview,bandwidth-price,tx-cost,chain-params,health-check. 40 commands in total; all remain Network Read. - For this commit,
.nvmrcspecifies Node.js 24.22.3. To reproduce commit7d2d58cb, use Node.js 24.22.1. Runnvm install && nvm usein the checked-out repository to select its pinned version.
- 7 additional read-only commands, also exposed as
- License: MIT —
SPDX-License-Identifier: MIT - Changelog / releases: https://github.com/TronLink/tronlink-skills/releases — no GitHub-tagged releases yet for v1.0.x; track changes by commit until the first tag.
Compatibility & migration policy
Skills are at v1.0.x, so standard semver applies — only major bumps may break the public surface.
- Stable contracts (won't change in a minor or patch):
- The 33 CLI command names and their required / optional flags (
tron_api.mjs <command> [...]). - The 25 MCP tool names listed in Skill ↔ MCP Tool Map (
tron_*form) and theirinputSchemakeys. - The
Network Readside-effect classification — no command will ever become a Remote Write without a major bump.
- The 33 CLI command names and their required / optional flags (
- Volatile contracts (may change in a minor):
- The exact field layout of JSON
stdoutpayloads — new fields can be added in any minor; renames or removals are major. Use a tolerant parser. - Built-in token-symbol shortcut list (
USDT,USDC,WTRX, …) — symbols may be added in any minor; existing mappings won't be repointed in a minor. - Heuristics and thresholds (
whale-transfersdefault cutoff,optimize-costdecision tree weights, etc.).
- The exact field layout of JSON
- Subset relationship. The MCP tool subset (25 of 33 in v1.0.x; 39 of 40 at
b12b5868) may grow in a minor (a previously CLI-only command exposed as an MCP tool); it will not shrink in a minor. - Deprecation window. A command / tool marked deprecated continues to work for at least one minor cycle. Removal lands no earlier than the next major.
- Verifying after upgrade. Re-run
tron_api.mjs --helpand (if using MCP)tools/listto confirm the names you depend on are still present. The MCPserverInfo.versionexposed duringinitializeshould match the bumpedpackage.jsonversion.