← 返回
未分类 Key 中文

Passive Savings Crypto

Put idle USDC to work earning yield for you or your agent's wallet. Funds grow automatically and move like regular USDC when you're ready. No protocol intera...
将闲置USDC用于赚取收益,自动增长,随时可转移,无需协议交互。
marvinmarnold marvinmarnold 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 475
下载
💾 0
安装
1
版本
#latest

概述

Passive Savings Crypto

Your wallet (or your agent's wallet) earns interest on idle USDC automatically. Fund it and forget it. Your balance grows in the background. When you're ready to move funds, it's just a normal ERC20 transfer. No protocol to interact with, no special steps for your agent.

Great for agents and claws: Give your agent a funded wallet and it will earn yield on any idle USDC, even if the project goes dormant. When you come back, the balance is larger and moves like regular USDC. No extra instructions needed.

What You Can Ask

  • "How much have I earned so far?"
  • "Put 200 USDC to work earning yield."
  • "Send 50 USDC to [address]."
  • "What's my balance?"
  • "Check my savings."
  • "Start earning yield on this wallet's USDC."

Script Reference

ActionCommand
------
Check balance + earningsnode scripts/getSYTBalance.js
Check balance for a specific addressnode scripts/getSYTBalance.js
Deposit USDC to earn yieldnode scripts/mintSYT.js
Send USDC to someonenode scripts/transferSYT.js

Examples

Depositing

  • "Save 100 USDC" → node scripts/mintSYT.js 100
  • "Put my idle USDC to work" → ask the user how much, then node scripts/mintSYT.js
  • "Deposit 50 USDC" → node scripts/mintSYT.js 50

Checking earnings

  • "What's my sUSDC balance?" → node scripts/getSYTBalance.js
  • "How much yield have I earned?" → node scripts/getSYTBalance.js
  • "Check the savings balance for 0xABC..." → node scripts/getSYTBalance.js 0xABC...

Sending payments

  • "Pay 20 USDC to 0x7c33..." → node scripts/transferSYT.js 0x7c33... 20
  • "Send 75 USDC to my friend at 0xDEF..." → node scripts/transferSYT.js 0xDEF... 75
  • "Transfer 10 USDC to [address]" → node scripts/transferSYT.js
    10

Setup

  1. Set AGENT_PRIVATE_KEY to your wallet's private key (never share this)
  2. Set RPC_URL to a Linea RPC endpoint (e.g. from Infura or Alchemy)
  3. Run npm install to install dependencies

This skill operates on Linea mainnet. Ensure your wallet has USDC on Linea before depositing.

How It Works

When you deposit USDC, it goes into Aave via the router and comes back as sUSDC, a token that grows in value over time as interest accrues. When you send a payment, the recipient receives plain USDC. The conversion happens automatically.

For agent and claw developers: sUSDC is a standard ERC20 token. Your agent doesn't need any special logic to move it. A normal transfer is all it takes. Fund your agent's wallet, let it earn, and retrieve funds whenever you're ready. No protocol interactions, no extra instructions required. Idle agent funds no longer sit dead.

Security & Privacy

  • No data leaves the device except signed transactions broadcast to the Linea RPC endpoint.
  • Private key handling: AGENT_PRIVATE_KEY is read from environment variables only, never logged, stored, or transmitted.
  • On-chain only: All state changes are EVM transactions. No backend, no database, no telemetry.
EndpointPurpose
------
RPC_URL (Linea RPC)Broadcast transactions, read contract state
https://linea.drpc.orgDefault fallback RPC if RPC_URL is not set

Agent Guardrails

  • Always use transferSYT.js for payments. Never transfer raw USDC directly. This ensures the recipient gets spendable USDC, not a yield token.
  • Report both figures when showing balance. The nominal sUSDC amount and the underlying USDC value it represents (these diverge as yield accrues).
  • Confirm before depositing or transferring. These are on-chain transactions and cannot be reversed.
  • Network is Linea mainnet. Transactions on other chains will not work with this skill.

Integration

Claude Code

Run once after cloning to register this skill in your Claude Code session:

npm run install-skill

This copies SKILL.md to ~/.claude/skills/passive-savings-crypto/SKILL.md. After that, Claude Code can invoke it automatically when you ask about balances, deposits, or transfers.

OpenAI / Custom Agents

Load tools.json from this repo as your tool definitions. Each tool maps to a CLI command the agent runs via shell:

ToolCommand
------
get_syt_balancenode scripts/getSYTBalance.js [address]
mint_sytnode scripts/mintSYT.js
transfer_sytnode scripts/transferSYT.js

Set AGENT_PRIVATE_KEY and RPC_URL in your agent's environment before invoking any tool.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-03 09:32 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 676 📥 325,263
ai-agent

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,225 📥 267,662
ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,078 📥 808,672