intentkit icon indicating copy to clipboard operation
intentkit copied to clipboard

add crypto price checker skill

Open yudhissatriya opened this issue 9 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

To expedite the review process, please join https://discord.com/invite/crestal, open a support ticket to apply for an intentkit dev role. We have a discussion channel there for you to join up with the rest of the developers.

taiyangc avatar May 03 '25 06:05 taiyangc

To expedite the review process, please join https://discord.com/invite/crestal, open a support ticket to apply for an intentkit dev role. We have a discussion channel there for you to join up with the rest of the developers.

I have already opened a ticket on Discord.

yudhissatriya avatar May 03 '25 07:05 yudhissatriya

I don't see any active ticket on this. Please re-open and be specific on the role. Thank you.

taiyangc avatar May 03 '25 07:05 taiyangc

I don't see any active ticket on this. Please re-open and be specific on the role. Thank you.

Which ticket category does Intenkit Dev fall into?

yudhissatriya avatar May 03 '25 07:05 yudhissatriya

I don't see any active ticket on this. Please re-open and be specific on the role. Thank you.

Which ticket category does Intenkit Dev fall into?

Just pick any, I will be able to see it. Thanks.

taiyangc avatar May 03 '25 07:05 taiyangc

I don't see any active ticket on this. Please re-open and be specific on the role. Thank you.

Which ticket category does Intenkit Dev fall into?

Just pick any, I will be able to see it. Thanks.

done, please recheck again

yudhissatriya avatar May 03 '25 07:05 yudhissatriya

I don't see any active ticket on this. Please re-open and be specific on the role. Thank you.

Which ticket category does Intenkit Dev fall into?

Just pick any, I will be able to see it. Thanks.

done, please recheck again

Still no ticket found. Could you post a screenshot of what you have?

taiyangc avatar May 03 '25 17:05 taiyangc

is this skill needed? the DeFiLlama skills appears to use CoinGecko internally cc @taiyangc @hyacinthus

bluntbrain avatar May 05 '25 05:05 bluntbrain

I don't see any active ticket on this. Please re-open and be specific on the role. Thank you.

Which ticket category does Intenkit Dev fall into?

Just pick any, I will be able to see it. Thanks.

done, please recheck again

Still no ticket found. Could you post a screenshot of what you have?

thank you i have joined intenkit dev

yudhissatriya avatar May 05 '25 05:05 yudhissatriya

is this skill needed? the DeFiLlama skills appears to use CoinGecko internally cc @taiyangc @hyacinthus

Thanks for your comment, sir. If it is not needed, I will try to create another skill.

yudhissatriya avatar May 05 '25 05:05 yudhissatriya

is this skill needed? the DeFiLlama skills appears to use CoinGecko internally cc @taiyangc @hyacinthus

Thanks for your comment, sir. If it is not needed, I will try to create another skill.

great! @yudhissatriya you can also take a look at this list and pick any one, I could suggest a useful one, that is looking at Twilio or Sendgrid or Mailgun integration so Agents can send messages on email, sms, or whatsapp

bluntbrain avatar May 05 '25 05:05 bluntbrain

great! @yudhissatriya you can also take a look at this list and pick any one, I could suggest a useful one, that is looking at Twilio or Sendgrid or Mailgun integration so Agents can send messages on email, sms, or whatsapp

yes sir, i will try to try it.

but i ask, is it a skill that is needed by the general public?

yudhissatriya avatar May 05 '25 06:05 yudhissatriya

great! @yudhissatriya you can also take a look at this list and pick any one, I could suggest a useful one, that is looking at Twilio or Sendgrid or Mailgun integration so Agents can send messages on email, sms, or whatsapp

yes sir, i will try to try it.

but i ask, is it a skill that is needed by the general public?

not sure about that, we can only make the skills and then see how users react to it, how much they use it, so according to me sending alerts (can be price alerts or trade alerts) through email, sms and whatsapp can become a good use case.

But you can alwasy pick any other skill that you think can be more useful, thanks!

bluntbrain avatar May 05 '25 06:05 bluntbrain

not sure about that, we can only make the skills and then see how users react to it, how much they use it, so according to me sending alerts (can be price alerts or trade alerts) through email, sms and whatsapp can become a good use case.

But you can alwasy pick any other skill that you think can be more useful, thanks!

Thank you for your advice sir, I will try

yudhissatriya avatar May 05 '25 06:05 yudhissatriya