intentkit icon indicating copy to clipboard operation
intentkit copied to clipboard

add crypto price checker skill

Open yudhissatriya opened this issue 6 months ago • 14 comments

Add Crypto Price Checker Skill

What’s This?

This PR adds the crypto_price_checker skill to IntentKit. It fetches crypto prices, market cap, 24h volume, and 24h price change (e.g., Bitcoin) using CoinGecko API.

Changes

  • Skill: crypto_price_checker in coingecko category.
  • Function: Uses CoinGecko’s free /simple/price endpoint to get data for a coin (e.g., "bitcoin") in a currency (e.g., "usd").
  • Files:
    • skills/coingecko/base.py: Base class.
    • skills/coingecko/crypto_price_checker.py: Skill logic.
    • skills/coingecko/__init__.py: Skill loader.
    • skills/coingecko/schema.json: Config schema.
    • skills/coingecko/coingecko.png: Icon.
  • Dependency: Added httpx (poetry add httpx).
  • Config: Add to agent.yaml (in root or config/):
    id: coingecko-agent
    skills:
      coingecko:
        states:
          crypto_price_checker: public
    

yudhissatriya avatar May 02 '25 12:05 yudhissatriya