usdd-earn-v1

usdd-earn-v1 is a skill for Claude Code from decentralized-usd/usdd-skills. It costs 0 tokens per session (2,147 once invoked), scanned A, original, MIT.

A tool for USDD Savings, a blockchain service where USDD can be deposited to receive sUSDD, a related savings token.

In plain words
What is it for?
Use it to check savings status, compare APY and supply data, deposit USDD for sUSDD, or withdraw USDD from sUSDD on a supported blockchain network.
Why use it?
It provides current savings information and helps an agent handle deposits and withdrawals while keeping network selection explicit.

Skill for Claude Code

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

Part of the usdd-skills plugin — 5 skills, 1 MCP server shipped together

Good fit Use it to check savings status, compare APY and supply data, deposit USDD for sUSDD, or withdraw USDD from sUSDD on a supported blockchain network.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/decentralized-usd/usdd-skills/usdd-earn-v1
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 decentralized-usd/usdd-skills --skill usdd-earn-v1
Clone the repo
git clone --depth 1 https://github.com/decentralized-usd/usdd-skills

Made for: Claude Code.

Or install usdd-skills, the plugin that ships this one along with the rest of its 5 skills, 1 MCP server.

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 usdd-earn-v1

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/decentralized-usd/usdd-skills/usdd-earn-v1"><img src="https://agentmods.dev/badge/skills/decentralized-usd/usdd-skills/usdd-earn-v1.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,147 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.00000 $0.02147
Opus 5 $0.00000 $0.01073
Sonnet 5 $0.00000 $0.00429
Haiku 4.5 $0.00000 $0.00215

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

Security

Grade A, and why

usdd-earn-v1 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.

skills/usdd-earn-v1/SKILL.md · 113 lines

How it starts

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

USDD Earn (Savings) — AI Agent Skill

This skill enables AI agents to inspect USDD Savings, compare APY/sUSDD supply analytics, deposit USDD to receive sUSDD, and withdraw USDD from sUSDD through the official @usdd/mcp-server-usdd MCP server.

Use the official MCP for current savings status and all writes. Use this repo's local analytics MCP for public API APY, APY history, USDD/sUSDD supply, and Earn TVL analytics.

Prerequisites

  • Node.js v20+
  • Official MCP installed: npm install -g @usdd/mcp-server-usdd
  • This repo's MCP server registered for analytics tools

Network Scope

Official MCP supports tron, eth, bsc, tron_nile, eth_sepolia, and bsc_testnet, but Savings is only usable where get_savings_status({ network }) returns supported: true.

If an Earn request depends on a blockchain network and the user omitted it, the first response must ask which network. Do not call any MCP tool before the user names the network. Never default to TRON, tron, mainnet, testnet, set_network, get_network, or any configured default.

For USDD and Savings addresses, use the official Chainlog-backed resolver first: call get_protocol_addresses({ network }), or get_chainlog_address({ network, key }) for one known key such as MCD_USDD or SUSDD. Do not use local full-address tables or copy addresses from docs. The resolver may return live Chainlog data or cache. If it fails with TronGrid 429 or another RPC error and no cache is available, stop and ask the user to configure TRONGRID_API_KEY / TRON_FULL_NODE or the relevant RPC; do not fallback to get_protocol_overview just to discover addresses, and do not guess addresses.

Before any Earn write, call get_savings_status({ network }). If it returns supported: false, refuse the write and quote the returned message. Do not assume TRON Savings exists just because USDD exists on TRON.

Available Tools

Tool Inputs Description Write?
get_savings_status (official) network Savings support, contract addresses, rate metrics, wallet shares No
get_protocol_addresses (official) network Chainlog-backed USDD token and protocol addresses No
get_chainlog_address (official) network, key Resolve one Chainlog key such as MCD_USDD or SUSDD No
get_wallet_address (official) network Active MCP wallet address No
get_native_balance (official) owner?, network Gas-token balance No
get_token_balance (official) token, owner?, decimals?, network USDD / sUSDD balance No
check_allowance (official) token, spender, owner?, amount?, decimals?, network USDD allowance for sUSDD contract No
approve_token (official) token, spender, amount, decimals?, network Approve USDD for the sUSDD contract Yes
deposit_savings (official) amount, network Deposit USDD and mint sUSDD shares Yes
withdraw_savings (official) amount, network Withdraw USDD amount from sUSDD Yes
get_earn_apy (local MCP) Per-chain APY analytics via this repo's analytics MCP No
get_susdd_supply (local MCP) sUSDD supply breakdown via this repo's analytics MCP No
get_public_dsr_apy (local MCP) DSR APY current / average / history No
get_public_protocol_overview (local MCP) Public protocol overview including Earn TVL No

Read the full file on GitHub · 113 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. 11d ago First seen · 113 lines · 0 tokens per session scan A e8ba0157c5ec

Subscribe to this mod's changes

usdd-earn-v1 is a skill published in the GitHub repository decentralized-usd/usdd-skills (1 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,147 tokens. 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.