emblem-defi-yield
关于
This skill enables DeFi yield research and liquid staking operations, allowing developers to discover yield opportunities, compare protocols, and check positions via Nansen integration. It supports entering liquid staking through token swaps across multiple chains including Solana, Ethereum, and Base. Use it when you need to analyze yields, find staking options, or review DeFi portfolios within your development workflow.
快速安装
Claude Code
推荐npx skills add EmblemCompany/Agent-skills -a claude-code/plugin add https://github.com/EmblemCompany/Agent-skillsgit clone https://github.com/EmblemCompany/Agent-skills.git ~/.claude/skills/emblem-defi-yield在 Claude Code 中复制并粘贴此命令以安装该技能
技能文档
Emblem DeFi Yield
DeFi yield research and liquid staking powered by EmblemAI. Research yield opportunities across protocols, review existing DeFi positions via Nansen, and enter liquid staking positions through token swaps on Solana, Ethereum, Base, BSC, Polygon, and Hedera.
Requires: npm install -g @emblemvault/agentwallet
What This Skill Can Do
| Capability | How | Tools Used |
|---|---|---|
| Research yield opportunities | Ask about yields, APYs, protocols | LLM knowledge + birdeyeTradeData, birdeyeTrendingTokens |
| Review existing DeFi positions | Check LP, lending, staking, farming positions for any wallet | nansen_defi_portfolio |
| Liquid staking (Solana) | Swap SOL for LSTs (mSOL, JitoSOL, bSOL, jupSOL) | splBuyIntent |
| Token swaps for DeFi entry | Swap into DeFi tokens on any chain | splBuyIntent, ethSwap, baseSwap, bscSwap, polygonSwap, hederaTokensSwap |
| Protocol comparison | Compare yield strategies across DEXs | LLM knowledge + market data tools |
| Rug-pull checks | Verify token safety before entering positions | rugcheck |
| Smart money DeFi tracking | See what whales are farming | nansen_smart_money_holdings, nansen_defi_portfolio |
Not Supported (Yet)
These features require direct LP pool management tools that are not currently available:
- Adding/removing liquidity to DEX pools
- Opening/closing concentrated liquidity (CLMM) positions
- Staking LP tokens
- Claiming farming rewards
- Pool APY rankings with live on-chain data
For these operations, use the DEX UIs directly (Raydium, Orca, Uniswap, etc.).
Quick Start
npm install -g @emblemvault/agentwallet
# Research yield opportunities
emblemai --agent --profile default -m "What are the best yield farming opportunities on Solana right now?"
# Check DeFi positions for a wallet (uses nansen_defi_portfolio)
emblemai --agent --profile default -m "Use nansen_defi_portfolio to show DeFi positions for wallet 0x1234...abcd on ethereum"
# Enter liquid staking via swap
emblemai --agent --profile default -m "Swap 5 SOL for JitoSOL using splBuyIntent"
Trigger phrases:
- "Find yield opportunities"
- "What are the best APYs?"
- "Show DeFi positions for this wallet"
- "Swap SOL for JitoSOL"
- "What liquid staking options exist?"
Supported Chains
| Chain | Swap Tool | Balances | Conditional Orders |
|---|---|---|---|
| Solana | splBuyIntent | solanaBalances | Yes |
| Ethereum | ethSwap | ethGetBalances | Yes |
| Base | baseSwap | baseGetBalances | Yes |
| BSC | bscSwap | bscGetBalances | Yes |
| Polygon | polygonSwap | polygonGetBalances | Yes |
| Hedera | hederaTokensSwap | hederaGetBalances | Yes |
Workflow: Research and Enter Yield
Step 1: Research Opportunities
Ask about current yield landscape. The agent uses its knowledge plus live token data.
emblemai --agent --profile default -m "What are the best yield farming opportunities on Solana right now? Use birdeyeTrendingTokens to see what's hot."
Step 2: Check a Wallet's DeFi Positions
Use Nansen to see existing LP, lending, staking, and farming positions.
emblemai --agent --profile default -m "Use nansen_defi_portfolio to check DeFi positions for wallet 0x1234...abcd on ethereum"
Step 3: Verify Balances
Check what you have available before swapping.
emblemai --agent --profile default -m "Use solanaBalances to show my Solana balances"
Step 4: Enter a Position via Swap
Swap into liquid staking tokens or DeFi tokens.
emblemai --agent --profile default -m "Use splBuyIntent to swap 5 SOL for JitoSOL"
Requires user confirmation in safe mode.
Step 5: Verify
Confirm the swap executed.
emblemai --agent --profile default -m "Use solanaBalances to show my updated balances"
DeFi Patterns
Yield Research
emblemai --agent --profile default -m "What are the best yield farming opportunities on Solana? Include liquid staking, LP strategies, and lending protocols."
emblemai --agent --profile default -m "Compare Marinade (mSOL), Jito (JitoSOL), and BlazeStake (bSOL) for SOL liquid staking."
DeFi Position Tracking (Nansen)
emblemai --agent --profile default -m "Use nansen_defi_portfolio to show DeFi positions for wallet 0xABC123 on ethereum"
emblemai --agent --profile default -m "Use nansen_defi_portfolio to check what DeFi protocols wallet 2J9Xrm...BL5WBJ is using on solana"
Smart Money DeFi Analysis
emblemai --agent --profile default -m "Use nansen_smart_money_holdings to see what tokens smart money is holding on solana"
emblemai --agent --profile default -m "Use nansen_smart_money_trades to see recent smart money trades for JitoSOL"
Liquid Staking (Solana)
emblemai --agent --profile default -m "Use splBuyIntent to swap 10 SOL for mSOL"
emblemai --agent --profile default -m "Use splBuyIntent to get a quote for swapping 5 SOL to JitoSOL"
Safety Checks
emblemai --agent --profile default -m "Use rugcheck to verify token So11111111111111111111111111111111111111112"
Protocol Comparison
emblemai --agent --profile default -m "Compare yields for SOL liquid staking across Marinade, Jito, BlazeStake, and Jupiter"
Communication Tips
When asking about DeFi, be specific:
- Name the tool — mention exact tool names for reliable execution
- Specify chain — which blockchain
- Specify wallet — for position lookups
- Specify tokens — which tokens to swap
| Bad | Good |
|---|---|
"show yield" | "What are the best yield opportunities on Solana? Include APYs and risks." |
"check positions" | "Use nansen_defi_portfolio to show DeFi positions for wallet 0x123 on ethereum" |
"stake SOL" | "Use splBuyIntent to swap 5 SOL for JitoSOL" |
Safety
All value-moving operations require user confirmation:
- Token swaps (entering liquid staking, DeFi tokens)
- Cross-chain bridges
Read-only operations execute immediately:
- Yield research
- DeFi position viewing (Nansen)
- Balance checks
- Rug-pull checks
Helper Script
bash scripts/yield-scan.sh [chain]
Scans yield landscape for a chain. See scripts/yield-scan.sh.
Links
GitHub 仓库
相关推荐技能
executing-plans
设计该Skill用于当开发者提供完整实施计划时,以受控批次方式执行代码实现。它会先审阅计划并提出疑问,然后分批次执行任务(默认每批3个任务),并在批次间暂停等待审查。关键特性包括分批次执行、内置检查点和架构师审查机制,确保复杂系统实现的可控性。
requesting-code-review
设计该Skill可在完成任务、实现主要功能或合并代码前自动调度代码审查子代理,确保实现符合需求和计划。它支持通过指定git SHA范围进行精准的代码变更审查,帮助开发者在关键节点及时发现潜在问题。核心原则是"早审查、勤审查",适用于开发流程的各个关键阶段。
connect-mcp-server
设计这个Skill指导开发者如何将MCP服务器连接到Claude Code,支持HTTP、stdio和SSE三种传输协议。它涵盖了从安装配置到认证安全的完整流程,适用于集成GitHub、Notion、数据库等外部服务。当开发者需要添加集成、配置外部工具或提及MCP相关功能时,这个Skill能提供实用的操作指南。
web-cli-teleport
设计该Skill帮助开发者根据任务特性选择Claude Code的Web或CLI界面,并指导如何在两种环境间无缝迁移会话。它能分析任务复杂度、迭代需求等要素,推荐最优工作界面和工作流。关键特性包括会话状态管理、环境切换指导和上下文优化建议。
