Communitygithub.com

金融・為替・暗号資産データ

「USDをEURに換算」「現在/過去の為替レート」「特定日付/期間のFXレート」「ビットコイン/イーサリアムの現在価格、時価総額、24時間変動」など、ライブまたは過去のマネーデータの取得が必要なタスクに使用します。Frankfurter(ECB基準レート、キー不要)がFXのデフォルト、CoinGeckoの無料キーレスティアが暗号資産をカバーします。株式銘柄やGDP・インフレなどの国経済指標には使用しないでください。

金融・為替・暗号資産データ とは?

このスキルは、開発者やAIエージェントが金融データ(為替レートと暗号資産価格)をAPIキーなしで簡単に取得できるように設計されています。従来のexchangerate.host、Fixer、Alpha VantageなどのAPIは現在キー必須となっており、このスキルはその問題を回避します。為替レートにはFrankfurter(ECB基準レート、約30通貨、1999年からの履歴)を、暗号資産にはCoinGecko(数千のコインの価格、時価総額、24時間変動)を、どちらもキー不要で利用します。対応プラットフォームはClaude Code、Cursor、CodexなどのAIエージェントを想定しており、具体的なAPIエンドポイントのURLテンプレート、JSONレスポンスの形状、エラーハンドリング(429時のバックオフや不明なIDの扱い)まで詳細に記述されています。このスキルにより、エージェントは訓練データから古いレートを憶測せず、実際のAPI呼び出しに基づいた正確な数値を提供できるようになります。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/SkillMedev/skills/tree/HEAD/skills/finance-fx

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

金融・為替・暗号資産データ は何をしますか?

為替レートと暗号資産価格をキー不要で取得します。このスキルが防ぐミス:訓練データからexchangerate.host、Fixer、Alpha Vantageを思い出してしまうこと(現在はすべてキー必須)、または訓練データの古いレートを実際の計算に使ってしまうこと。

ランク付けされたAPI

  1. Frankfurter (api.frankfurter.dev) - 法定通貨FXのデフォルト。欧州中央銀行基準レート、約30の主要通貨、1999年からの履歴、時系列、キー不要、レート制限も実質的に問題なし。
  2. CoinGecko 無料ティア (api.coingecko.com) - 暗号資産価格、時価総額、数千のコインの24時間変動。キー不要だが、匿名IPからの制限は約5〜15コール/分と厳しい。IDは1回の呼び出しにまとめること。429エラー時は60秒待機。

手順

  1. 法定通貨か暗号資産か? 法定通貨→Frankfurter。暗号資産→CoinGecko。暗号資産→法定通貨の換算はCoinGecko1回の呼び出し(vs_currencies=eur)で済み、2回ホップする必要なし。
  2. 日付を確認する。 ECB基準レートは営業日の16:00 CET頃に更新。レスポンスのdateフィールドが実際に取得した日付を示す。週末・祝日のリクエストは前営業日の日付を返すので、その日付を引用し、今日の日付として提示しないこと。
  3. CoinGeckoはティッカーではなくIDを使用する。 idsパラメータには bitcoin、ethereum、solana のように指定し、BTC/ETH は使わない。不明なコインの場合、一度 /api/v3/search?query={name} で検索し、coins[0].id を解決する。
  4. FXの計算を記憶から行わない。 タスクが金額にレートを掛ける場合、そのレートはこれらのAPI呼び出しのいずれかから取得し、日付を付与すること。

ユーザーに確認が必要な場合のみ:通貨ペアまたはコイン(デフォルトなし)、日付/範囲(デフォルト:最新)、金額(デフォルト:1)。

URLテンプレート + 実際のレスポンス形状

最新のFXレート:

https://api.frankfurter.dev/v1/latest?base=USD&symbols=EUR,GBP,JPY
{"amount":1.0,"base":"USD","date":"<最終営業日>","rates":{"EUR":0.87352,"GBP":0.74878,"JPY":161.15}}

&amount=250 でサーバー側で金額を変換可能。rates は事前に乗算された値で返る。

履歴 / 時系列:

https://api.frankfurter.dev/v1/2024-01-15?base=USD&symbols=EUR          ← 特定日付
https://api.frankfurter.dev/v1/2024-01-02..2024-01-31?base=USD&symbols=EUR   ← 範囲
https://api.frankfurter.dev/v1/currencies                               ← コード → 名称マップ

範囲の形状: {"rates":{"2024-01-02":{"EUR":0.91274},"2024-01-03":{"EUR":0.91583}}} - 日付でキー付けされ、営業日のみ(1年で約256日分。週末のキーはないので、ギャップを欠損データと見なさないこと)。終了日を省略(/2024-01-02..)すると現在まで取得。

暗号資産スポット価格:

https://api.coingecko.com/api/v3/simple/price?ids=bitcoin,ethereum&vs_currencies=usd&include_24hr_change=true
{"bitcoin":{"usd":63289,"usd_24h_change":1.19},"ethereum":{"usd":1790.89,"usd_24h_change":1.90}}

不明なIDはレスポンスから静かに削除される。キーがない場合はIDが間違っていることを意味し、価格がnullなのではない。

暗号資産市場テーブル(ランク、時価総額、供給量):

https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&order=market_cap_desc&per_page=20&page=1

{"id","symbol","name","current_price","market_cap","market_cap_rank","price_change_percentage_24h","circulating_supply","ath"} の配列。1回の呼び出しで /simple/price を20回呼ぶのを代替する。リスト系の場合はこちらを優先。

成果物

レートまたは価格は、その date/タイムスタンプとソース名、および使用した正確なURLと共に提示する。換算がある場合は計算式を示す:250 USD × 0.87352 (ECB, <レート日付>) = 218.38 EUR。

使用禁止 - 代わりにXを使用

  • exchangerate.host - すべてのリクエストに access_key が必要になりました。キーレスでの動作確認失敗。Frankfurterが代替。
  • Fixer、Alpha Vantage、Finnhub、Polygon、OpenExchangeRates - キー必須。Frankfurter/CoinGeckoで要件を満たせるのに、ユーザーにサインアップさせないこと。
  • 株式/銘柄のクオート - キーレスで動作確認できるものはない。その旨を明確に述べ、有料オプションを挙げる。価格をでっち上げないこと。
  • GDP、インフレ、失業率、貿易系列 - government-open-data を使用。
  • 金融アドバイス - このスキルは数値を取得するもの。買い/売り/配分の判断は範囲外。データを提示し、推奨はしない。

品質基準

  • すべての数値は日付とソースを伴う。レートや価格が訓練データの記憶から得られたものでないこと。
  • Frankfurterの約30通貨の上限を尊重。マイナーなペア(例:NGN、VND)はサポート外と宣言し、近似しない。
  • CoinGeckoの呼び出しはバッチ化する。429エラー時はバックオフを行い、リトライループに入らない。

ソース: public-apis プロジェクト (MIT) から取得、ライブ検証済み。

Individual skills in this repo

This repo contains 19 individual skills — each has its own dedicated page.

SkillMedev/skills

Designs REST API surfaces - resource naming, HTTP method and status-code semantics, error shapes, pagination, and filtering - and delivers an endpoint spec a consumer can build against without asking questions. Use when someone asks "how should I name this endpoint", "what status code should this return", "should this be PUT or PATCH", "how do I paginate this list", or is reviewing an API before it ships to external consumers. Do NOT use for planning breaking-change rollouts and deprecation windows - use api-versioning-strategist instead; for GraphQL type and resolver design - use graphql-schema instead; for generating client SDKs from an existing spec - use api-client-generator instead; for designing inbound webhook endpoints - use webhook-receiver-hardener instead.

SkillMedev/skills

Produce an accurate, properly timed caption track (SRT or WebVTT) from a video's audio - transcribing or aligning to the voiceover script, timing cues to speech, and enforcing line-length and reading-speed rules so captions are readable and in sync. Use when someone says "generate captions", "make subtitles from the audio", "transcribe and caption this", "export an SRT or VTT", "the captions are out of sync", or "the subtitles flash by too fast to read". Do NOT use to burn-in, style, reframe, or position an existing caption track for a platform (9:16, brand styling, safe areas) - that is social-video-formatter; do NOT use to animate text word-by-word as a motion graphic - that is kinetic-typography; do NOT use to write the spoken script in the first place - that is narration-script.

SkillMedev/skills

Turns data and charts into a decision-driving narrative structured as headline finding, trend, implication, and recommended action - with finding-led chart titles, context for every number, annotation guidance, and honest flags on any conclusion the data cannot support. Use when someone says "turn these numbers into a story", "what's the takeaway from this data", "help me present these results to leadership", or has charts but no narrative. Do NOT use for compressing a long document into a one-pager - use executive-summary instead - or for running the analysis that produces the findings - use eda-playbook instead.

SkillMedev/skills

Builds a driver-based FP&A operating model linking business inputs to P&L, balance sheet, and cash flow outputs. Use when building an annual plan, preparing investor materials, running scenario analysis, or stress-testing the business.

SkillMedev/skills

Use when a task needs live geographic lookups - "geocode this address", "what's at these coordinates" (reverse geocoding), "lat/lon for this city", "which country/state is this ZIP or postal code in", or "country facts: capital, currency, population, flag". Nominatim (OpenStreetMap) is the geocoding default; Zippopotam for postal codes; APICountries for country facts. All keyless. Do NOT use for weather at a location - use weather-climate instead; do NOT use for country-level statistics over time (GDP, population trends) - use government-open-data instead; if the request is a vague "I need live data", route through public-data-api-picker.

SkillMedev/skills

Runs the full Getting Things Done loop - capture, clarify, organize, reflect, engage - building a trusted system of context lists, a projects list with defined next actions, and a weekly review habit. Use when someone says "I'm overwhelmed and things are slipping through the cracks", "set up GTD for me", "help me do a brain dump and organize it", or "my to-do list is a mess". Do NOT use for just running the weekly review ritual itself - use weekly-review instead - or for clearing an email backlog - use inbox-zero.

SkillMedev/skills

Processes any email backlog to zero using the 4Ds - Delete, Delegate, Defer, Do - with a mass-archive strategy for the obvious, a touch-each-email-once discipline, and a keep-it-clear system of batched processing windows, ruthless unsubscribing, filters, and a minimal folder setup. Use when someone says "I have 5,000 unread emails", "help me get to inbox zero", "email is eating my whole day", or treats their inbox as a to-do list. Do NOT use for drafting the reply emails themselves or prioritization rules for an ongoing support queue - use email-triage instead - or for protecting focus time around the email windows - use deep-work-planner instead.

SkillMedev/skills

Write landing-page copy section by section - hero, social proof, features-as-benefits, objections, CTA - leading with one promise and proving it down the page. Use when someone asks "write my landing page", "improve my hero headline", "what should the homepage say", "turn these features into benefits", or is shipping a new page for a launch or campaign. Do NOT use for testing and optimizing an existing page's conversion rate - use landing-page-cro instead; for the one-line claim itself use positioning-statement; for the full message ladder use messaging-hierarchy.

SkillMedev/skills

Improves an existing landing page's conversion rate through evidence-first CRO - audit heatmaps and recordings, write structured hypotheses, prioritize with ICE scoring, and run one-variable tests to statistical significance. Use when someone asks "why isn't my landing page converting", "audit this page before we scale spend", "which A/B test should we run first", or after a CVR drop or ahead of a paid-traffic push. Do NOT use for writing a new landing page from scratch - use landing-page-copy instead. Do NOT use for auditing the ad accounts sending the traffic - use paid-acquisition-audit instead. Do NOT use for reading the results of a finished experiment - use ab-test-analyzer instead.

SkillMedev/skills

Runs structured coaching sessions using values clarification and the GROW model, ending every session with one committed action, a deadline, and an if-then plan for the likely obstacle. Use when someone says "I feel stuck in my life", "help me figure out what I want", "hold me accountable to my goals", or "coach me through this decision". Do NOT use for building a stress toolkit - use stress-management instead - or a journaling practice - use journal-framework; for a standing goal-tracking system, use goals-accountability. Coaching, not therapy: signs of clinical distress route to a licensed professional.

SkillMedev/skills

Adapts English content for a target language and region - swapping idioms, setting the right formality register, replacing cultural references, converting dates, units, and currency - and delivers the localized text with a notes column explaining each adaptation and flagging what needs a native reviewer. Use when someone asks "localize this copy for the Japanese market", "adapt our marketing copy for the Mexican market", "make this translation sound native instead of literal", or a literal translation reads foreign, stiff, or risky. Do NOT use for auditing in-product UI text quality - use ux-writing-audit instead.

SkillMedev/skills

Turns a natural-language video brief into a complete, ready-to-preview Remotion composition - extracts duration, scenes, brand colors, aspect ratio, and real copy; plans the frame budget; and writes data-driven React/TypeScript using useCurrentFrame, interpolate, spring, AbsoluteFill, and Sequence, registered in Root.tsx. Use when someone says "build a 20-second product demo video", "animate a feature walkthrough", "write the Remotion code for this marketing clip", or wants a scene-by-scene composition they can scrub in Studio. Do NOT use for rendering, iterating, or batching the finished MP4 - use remotion-render instead - or for installing and scaffolding the project - use remotion-setup instead.

SkillMedev/skills

Scaffolds a new Remotion video project wired for Claude Code Agent Skills - Node check, create-video scaffold, skills install, folder conventions, Google Fonts, and a smoke-test render. Use whenever someone wants to start making videos with Remotion and Claude, even just "make product videos with Claude.

SkillMedev/skills

Classifies incident severity (SEV1-4) using impact, scope, and urgency signals and decides who to page. Use when an alert fires or a report comes in and a severity call must be made quickly.

SkillMedev/skills

Use the Skill Me catalog from inside any conversation - discover, install, and manage Claude skills through the Skill Me MCP, and load installed skills automatically each session.

SkillMedev/skills

Write one platform-native caption from a topic and brand voice, with a front-loaded hook, native length, and a single earned CTA. Use when the user gives a topic (and optionally brand voice or a described image/video) and asks for an Instagram, LinkedIn, X/Twitter, or TikTok caption. Do NOT use when the user wants a dedicated standalone LinkedIn post - use linkedin-post-writer instead; or a multi-post X thread - use tweet-thread-builder instead; or to adapt one existing piece of content into versions for several channels - use cross-platform-reformatter instead.

SkillMedev/skills

Reframe and export a finished video for social platforms - 9:16 ↔ 16:9 cropping, burned-in captions, a platform-native first frame, loop design, and per-platform specs (aspect, length, safe areas) for TikTok, Reels, Shorts, X, and LinkedIn. Use when someone says "make this vertical", "crop to 9:16", "format for TikTok/Reels/Shorts", "add captions/subtitles", "why is my video cut off on mobile", "resize for Instagram", or "export for social". Do NOT use when the question is about the storyboard or shot order before any video exists (use video-storyboard); the animation craft of how elements move (use motion-design-principles); animated word-by-word caption styling (use kinetic-typography); palette, contrast, or lighting (use motion-color-and-light); directing the product-demo content and screen choreography (use product-demo-director); or scoring, beat-syncing, or audio (use sound-and-music-sync) - this is the craft layer that decides WHAT to format for the feed, then hands a concrete spec to remotion-compo...

SkillMedev/skills

Writes and tunes PySpark jobs - join strategy and broadcast size limits, shuffle-partition sizing, skew diagnosis and salting, UDF avoidance, caching, and output file layout - with concrete size and skew thresholds. Use when someone asks "why is my Spark job slow", "should I broadcast this join", "one task takes forever while the rest finish", "my job OOMs during a join", or is writing a new PySpark ETL job. Do NOT use for Kafka topic, consumer-group, or streaming-pipeline design - use kafka-pipelines instead; do NOT use for single-machine dataframe work that fits in memory - use pandas-expert instead.

SkillMedev/skills

Builds clean, performant, accessible SwiftUI views with correct state ownership, scoped invalidation, and smooth list scrolling, and reviews existing SwiftUI code against a concrete frame-time and re-render budget. Use when someone asks "why does my SwiftUI list stutter", "should this be @State or @Observable", "my whole screen re-renders when one row changes", "how do I animate this transition", or wants a SwiftUI view built or refactored. Do NOT use for cross-platform React Native apps - use react-native-pro instead; do NOT use for Flutter widget trees - use flutter-widget-architect instead; do NOT use for Android Compose UIs - use jetpack-compose-builder instead.

関連スキル