Install
Clone https://github.com/to-nexus/skill-cross-rewards into a temporary directory and run the install.sh script inside it to install the skill-cross-rewards skill into my Claude Code environment. Tell me the result in one line when you're done.
- For personal testing, keep local signer config in the skill
.envbefore reward-pool writes. - For team, hosted-agent, or production funds, prefer Vault/KMS/HSM-backed signing.
deposittriggers an ERC-20approveautomatically before staking.
Heads-up: CROSS Rewards runs on local agent runtimes only — see the Where it runs section for the supported list. Hosted chat environments cannot execute this skill.
Where it runs
Supported
Claude Code (CLI)OpenClawCursor Composer / Background AgentCodex CLIAiderGooseGemini CLIOpenInterpreter
Not supported
Claude.ai (web)ChatGPT (web)Gemini (web)GitHub Copilot Chat (web)
What you can do
pools
All active reward pools.
🟢 Readpool
Single-pool details (APR, deposit token, reward tokens).
🟢 Readmy-stake
Your stake and pending rewards per pool.
🟡 Read · addrdeposit
Approve + stake.
🔴 Write · txwithdraw
Partial or full unstake.
🔴 Write · txharvest
Claim accrued rewards.
🔴 Write · txTry it · natural-language prompts
Copy any of these into your agent — they map 1-to-1 onto a skill command.
List CROSS reward pools
→ Pool table (APR, TVL)
Detail of the RUBYx pool
→ Deposit token, rewards, APR
Stake 100 WCROSS into the WCROSS pool
→ Approve + stake tx
Show my stake balances and pending rewards
→ Per-pool table
Harvest rewards from the GHUBx pool
→ Claim tx
Withdraw half from the CROMx pool
→ Withdraw tx
Harvest all pools at once
→ Batch tx
Command reference
| command | args | auth | mutation | description |
|---|---|---|---|---|
| pools | [--active] | — | read | Catalog. |
| pool | <reward-symbol|address|pool_id> | — | read | Pool details. |
| my-stake | [<addr>] [--pool=...] | — | read | Your stakes. |
| deposit | --pool <id> <amount> [--confirm] | PK | tx | Approve + stake. |
| withdraw | --pool <id> <amount|--all> [--confirm] | PK | tx | Unstake. |
| harvest | --pool <id>|--all [--confirm] | PK | tx | Claim rewards. |
Safety & credentials
This skill signs on-chain transactions
- 🔴 Signs on-chain transactions — local signer config required.
- Auto pre-approval:
approve(depositToken, stakerContract, amount)on deposit. - Guard:
MAX_DEPOSIT_NOTIONAL_<TOKEN>env var.
Troubleshooting
›pool_inactive?
Rewards have ended. Filter with
pools --active.›harvest returns 0?
Accrued rewards below threshold, or auto-compounded last block.