intentkit
intentkit copied to clipboard
add crypto price checker skill
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_checkerincoingeckocategory. - Function: Uses CoinGecko’s free
/simple/priceendpoint 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 orconfig/):id: coingecko-agent skills: coingecko: states: crypto_price_checker: public