An AI-powered skill built on OKX Onchain OS that autonomously scans, compares, and optimizes DeFi yield opportunities across Solana protocols β maximizing returns while managing risk.
SolYield Pro is an autonomous AI agent skill that continuously monitors top Solana DeFi protocols to identify and execute the highest-yielding opportunities. Powered by OKX Onchain OS, it automatically rebalances positions based on real-time APY changes, liquidity depth, and configurable risk parameters.
- π Multi-protocol APY scanning β Raydium, Orca, Marinade, Jupiter
- βοΈ Auto-rebalancing β triggers when APY delta exceeds 2%
- π‘οΈ Risk-first design β stop-loss, allocation caps, TVL monitoring
- π Full observability β real-time dashboard & daily PnL reports
- π€ Fully autonomous β runs 24/7 via Agentic Wallet on Claude Code
User (Claude Code / Agentic Wallet)
β
βΌ
SolYield Pro Skill
β
βββ okx-market-data β Real-time price & APY feeds
βββ okx-defi-invest β Protocol scanning (Raydium, Orca, Marinade)
βββ okx-dex-swap β Position rebalancing via Jupiter aggregator
βββ okx-wallet-portfolio β Portfolio tracking & PnL reporting
βββ okx-security β Transaction risk assessment
- Claude Code installed
- OKX Agentic Wallet configured
- SOL or USDC funded in your Solana wallet
# Install OKX Onchain OS skills
npx skills add okx/onchainos-skills
# Verify installation
onchainos --versionType this in your Claude Code agent chat:
Activate SolYield Pro and scan for best yield opportunities on Solana
The agent scans the following Solana DeFi protocols every 15 minutes:
| Protocol | Type | Monitored Pools |
|---|---|---|
| Raydium | AMM / Liquidity | SOL-USDC, RAY-SOL, mSOL-SOL |
| Orca | CLMM | USDC-USDT, SOL-USDC, ORCA-SOL |
| Marinade Finance | Liquid Staking | mSOL staking |
| Jupiter | Aggregator | Best route for rebalancing |
APY Score = Base APY + (Volume Bonus Γ 0.3) - (IL Risk Γ 0.5)
Positions are ranked by adjusted APY score. The highest-scoring pool receives allocation priority.
IF current_pool_APY < best_pool_APY - 2%:
β Exit current position
β Swap via Jupiter (best route)
β Enter new highest-yield position
| Parameter | Limit | Description |
|---|---|---|
| Max allocation per pool | 30% | Prevents over-concentration |
| Stop-loss trigger | >15% IL | Auto-exit on impermanent loss |
| TVL drop alert | >20% in 24h | Protocol safety check |
| Daily loss limit | >10% portfolio | Pause all trading |
| Whitelisted protocols only | β | Only audited protocols |
- β
All transactions assessed by
okx-securityskill before execution - β User confirmation required for positions > $500
- β Gas fee estimate shown before every transaction
- β No unaudited or new protocol exposure
π Active Positions β Current pools & allocations
π° Total Value β Portfolio value in USD
π PnL Today β Realized + unrealized gains
β‘ Best APY Available β Top opportunity right now
π Last Rebalance β Timestamp & reason
βββββββββββββββββββββββββββββββ
SolYield Pro Daily Report
βββββββββββββββββββββββββββββββ
Date : 2026-05-09
Portfolio : $XXX.XX
PnL Today : +$XX.XX (+X.XX%)
Fees Paid : $X.XX
Net Yield : $XX.XX
Top Pool : Raydium SOL-USDC (APY: XX%)
Rebalances : X times
βββββββββββββββββββββββββββββββ
# Check current yield opportunities
"Show me the best yield pools on Solana right now"
# Start automated yield optimization
"Start SolYield Pro with $200 budget on Solana"
# Check portfolio performance
"Show my SolYield Pro performance today"
# Adjust risk settings
"Set my max allocation per pool to 20%"
# Manual rebalance
"Rebalance my yield positions now"
| Skill | Purpose |
|---|---|
okx-defi-invest |
Scan DeFi protocols & APY data |
okx-dex-swap |
Execute swaps via best route |
okx-market-data |
Real-time price feeds |
okx-wallet-portfolio |
Track positions & PnL |
okx-security |
Pre-transaction risk check |
okx-agentic-wallet |
Core wallet operations |
Agentic/
βββ README.md β You are here
βββ skills-lock.json β Installed skills manifest
βββ .agents/
βββ skills/
βββ okx-agentic-wallet/
βββ okx-defi-invest/
βββ okx-dex-swap/
βββ okx-market-data/
βββ okx-wallet-portfolio/
βββ okx-security/
βββ ... (18 skills total)
Trading digital assets involves significant risk. SolYield Pro is an experimental AI agent skill. Past performance does not guarantee future results. Always trade within your risk tolerance. The developer is not responsible for any financial losses incurred through the use of this skill.
frankxeth
- GitHub: @frankxeth
- Agentic Wallet (Solana):
HwdnwBEScDhPVKZZmXez9MJ8wHFM5aCyqBGAbcKhGRh8 - Built for: OKX Agentic Trading Contest 2026
MIT License β feel free to fork, improve, and build upon SolYield Pro.
OKX Agentic Trading Contest 2026