Xspoonai official yield calc

From jiayaoqijia/cryptoskill · View interactive version

Xspoonai official yield calc is an AI agent skill from the GitHub repository jiayaoqijia/cryptoskill. Project future returns based on APY and compounding.

How to use this skill

Skill file

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

# 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 | 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.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.