Communitygithub.com

Dados Financeiros e Cambiais

Obtém taxas de câmbio e preços de criptomoedas com chamadas gratuitas a APIs públicas. Use para converter moedas, consultar taxas históricas ou o valor atual de Bitcoin/Ethereum.

O que é Dados Financeiros e Cambiais?

Este skill fornece acesso a dados financeiros e cambiais atualizados, utilizando APIs públicas que não exigem chave de acesso. Ele resolve o problema comum de recorrer a serviços como exchangerate.host ou Fixer, que agora exigem chaves pagas, ou de usar taxas desatualizadas da memória de treinamento do modelo. A principal fonte para moedas fiduciárias é a API Frankfurter (api.frankfurter.dev), que disponibiliza as taxas de referência do Banco Central Europeu para cerca de 30 moedas, com dados desde 1999. Para criptomoedas, utiliza o plano gratuito da CoinGecko (api.coingecko.com), que oferece preços, capitalização de mercado e variação em 24h para milhares de moedas, com um limite de aproximadamente 5 a 15 chamadas por minuto. O skill define um procedimento claro: identificar se a consulta é sobre moeda fiduciária ou cripto, respeitar a data da taxa (que pode ser do último dia útil), usar IDs da CoinGecko em vez de tickers (ex: 'bitcoin' e não 'BTC'), e nunca realizar cálculos cambiais a partir da memória. O resultado deve incluir a taxa ou preço com a data/fonte e a URL exata utilizada, além de mostrar a aritmética da conversão, se houver. O skill também lista explicitamente o que **não** deve ser usado (ex: exchangerate.host, Fixer, Alpha Vantage) e para quais casos não é adequado (cotações de ações, indicadores econômicos, conselhos financeiros).

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

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

Dados Financeiros e Cambiais (FX)

Obtenha taxas de câmbio e preços de criptomoedas com chamadas API sem necessidade de chave. O erro que isto evita: recorrer a exchangerate.host, Fixer ou Alpha Vantage da memória de treinamento – todos agora exigem chave – ou usar uma taxa desatualizada da memória de treinamento num cálculo real.

APIs Classificadas

  1. Frankfurter (api.frankfurter.dev) – PADRÃO para FX fiduciário. Taxas de referência do Banco Central Europeu, ~30 moedas principais, histórico desde 1999, séries temporais, sem chave, sem limite de taxa que valha a pena preocupar-se.
  2. Camada gratuita da CoinGecko (api.coingecko.com) – preços de criptomoedas, capitalizações de mercado, variação em 24h para milhares de moedas. Sem chave, mas com um limite apertado: aproximadamente 5 a 15 chamadas/min de um IP anónimo. Agrupe IDs numa única chamada; em caso de erro 429, aguarde 60s.

Procedimento

  1. Fiduciário ou cripto? Fiduciário → Frankfurter. Cripto → CoinGecko. Conversão Cripto→fiduciário é uma chamada à CoinGecko (vs_currencies=eur), não duas etapas.
  2. Datas da taxa. As taxas de referência do BCE são atualizadas por volta das 16:00 CET nos dias úteis; o campo date da resposta indica o dia real que obteve. Pedidos em fins de semana/feriados devolvem a taxa do último dia útil anterior – mencione essa data, não a apresente como sendo de hoje.
  3. Use IDs da CoinGecko, não tickers. O parâmetro ids espera bitcoin, ethereum, solana – não BTC/ETH. Para uma moeda desconhecida, resolva primeiro através de /api/v3/search?query={nome} → coins[0].id.
  4. Nunca faça matemática cambial a partir da memória. Se a tarefa multiplicar dinheiro por uma taxa, a taxa tem de vir de uma destas chamadas, com a data anexada.

Pergunte ao utilizador apenas se faltar: par de moedas ou criptomoeda (sem padrão), data/intervalo (padrão: a mais recente), quantia (padrão: 1).

Modelos de URL + formas reais das respostas

Taxa de câmbio mais recente:

https://api.frankfurter.dev/v1/latest?base=USD&symbols=EUR,GBP,JPY
{"amount":1.0,"base":"USD","date":"<último dia útil>","rates":{"EUR":0.87352,"GBP":0.74878,"JPY":161.15}}

Converta uma quantia no servidor com &amount=250 – rates vem pré-multiplicado.

Histórico / série temporal:

https://api.frankfurter.dev/v1/2024-01-15?base=USD&symbols=EUR          ← uma data
https://api.frankfurter.dev/v1/2024-01-02..2024-01-31?base=USD&symbols=EUR   ← intervalo
https://api.frankfurter.dev/v1/currencies                               ← mapa código → nome

Forma do intervalo: {"rates":{"2024-01-02":{"EUR":0.91274},"2024-01-03":{"EUR":0.91583}}} – chaveado por data, apenas dias úteis (um ano completo devolve ~256 pontos diários; sem chaves de fim-de-semana, portanto não trate lacunas como dados em falta). Omita a data final (/2024-01-02..) para ir até ao presente.

Preço à vista de criptomoeda:

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}}

IDs desconhecidos são silenciosamente omitidos da resposta – uma chave em falta significa um ID errado, não um preço nulo.

Tabela de mercado cripto (ranking, capitalização, fornecimento):

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

Array de {"id","symbol","name","current_price","market_cap","market_cap_rank","price_change_percentage_24h","circulating_supply","ath"} – uma chamada substitui vinte chamadas /simple/price; prefira-a para qualquer lista.

Resultado

A taxa ou preço com a sua data/carimbo temporal e fonte nomeados, mais o URL exato usado. Qualquer conversão mostra a aritmética: 250 USD × 0,87352 (BCE, <data da taxa>) = 218,38 EUR.

NÃO utilize – recorra a X em vez disso

  • exchangerate.host – cada pedido requer agora uma access_key; verificado que falha sem chave. Frankfurter substitui-o.
  • Fixer, Alpha Vantage, Finnhub, Polygon, OpenExchangeRates – exigem chave; não envie um utilizador a registar-se quando Frankfurter/CoinGecko cobrem a necessidade.
  • Cotações de ações/participações – nada sem chave sobrevive à verificação. Diga isso claramente e nomeie as opções pagas em vez de inventar um preço.
  • PIB, inflação, desemprego, séries comerciais – government-open-data.
  • Conselhos financeiros – este skill obtém números; juízos de compra/venda/alocação estão fora do âmbito. Apresente dados, não recomendações.

Padrão de qualidade

  • Cada número transporta a sua data e fonte; nenhuma taxa ou preço tem origem na memória de treinamento.
  • Respeitado o limite de ~30 moedas da Frankfurter – pares exóticos (ex: NGN, VND) são declarados como não suportados, não aproximados.
  • Chamadas à CoinGecko são agrupadas; um erro 429 produz uma pausa, não um ciclo de repetição.

Recolhido e verificado quanto à atualidade a partir do projeto 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.

Habilidades Relacionadas