Project future returns based on APY and compounding.
Scanned 9/7/2026
Install to Claude Code
npx -y skills add jiayaoqijia/cryptoskill --skill xspoonai-official-yield-calc --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Xspoonai Official Yield Calc?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/jiayaoqijia-xspoonai-official-yield-calc)More formats (shields.io, HTML) on the badges page.
---
name: yield-calc
description: Project future returns based on APY and compounding.
version: 1.0.0
author: SpoonOS Contributor
tags: [web3, defi, investment, planning, compound-interest]
---
# Yield Calculator
A forecasting skill for DeFi agents. It converts APR to APY, handles compounding frequency, and projects the future value of a crypto investment.
## Quick Start
```python
# Project returns for $1000 at 50% APR for 1 year
projection = await agent.run_tool(
"calc_yield",
principal=1000,
apr_percent=50,
days=365
)
print(projection)
```
## Scripts
| Script | Purpose |
|--------|---------|
| [yield_projector.py](scripts/yield_projector.py) | Investment forecasting engine |
## Best Practices
1. Use to compare DeFi pools (e.g., "Pool A vs Pool B").
2. Remember that DeFi rates fluctuate; this provides a theoretical projection.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.