Agent skill

Fxmacrodata

by sickn33 in sickn33/agentic-awesome-skills

Query FXMacroData for official-source macro indicators, release calendars, central-bank policy rates, FX rates and CFTC positioning across 22 currencies.

MITAuto-check passedMarketing & SEO

Install Fxmacrodata

skills CLI
$ npx skills add sickn33/agentic-awesome-skills --skill fxmacrodata -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sickn33/agentic-awesome-skills fxmacrodata --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/fxmacrodata .claude/skills/fxmacrodata && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
fxmacrodata
GitHub stars
47k
Used in
1 other repo
Token cost
~2.9k tokens
SKILL.md length
1,228 words
Files
1
Skills in repo
1,394
Repo updated
First seen
Licence
MIT

At a glance

Query FXMacroData for official-source macro indicators, release calendars, central-bank policy rates, FX rates and CFTC positioning across 22 currencies.

  • Works in 4 steps: Find the indicator slug → Pull the history → Check freshness before calling a value… → …
  • Tasks that involve Positioning and messaging
  • SKILL.md covers Overview, When to Use, Access and Authentication and Endpoints, plus 8 more sections
  • Calls curl and jq; reaches api.fxmacrodata.com and fxmacrodata.com; needs FXMACRODATA_API_KEY

What it does

Fxmacrodata is an agent skill from sickn33/agentic-awesome-skills. Query FXMacroData for official-source macro indicators, release calendars, central-bank policy rates, FX rates and CFTC positioning across 22 currencies.

Its SKILL.md is about 2.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Marketing & SEO, covering Positioning and messaging. The repository describes itself as: AAS Core is the local, agent-first control plane for complete catalog discovery, agent-owned selection, stack validation, and planning, backed by 2,400+ agentic skills. Includes… The licence is MIT.

When your agent uses it

  • Tasks that involve Positioning and messaging

Example prompts

  • “/fxmacrodata”

Requirements

  • Python 3
  • A credential in FXMACRODATA_API_KEY

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Find the indicator slug
  2. Pull the history
  3. Check freshness before calling a value "latest"
  4. Check the next release

What it can do on your machine

Read from SKILL.md and the folder at commit 1e53ce2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • curl
    • jq

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.fxmacrodata.com
    • fxmacrodata.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • FXMACRODATA_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Fxmacrodata loads about 2.9k tokens when it runs. Until then it costs about 41 tokens; SKILL.md has 1,228 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~41
When it runs · the whole SKILL.md, loaded when a task matches
~2.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from sickn33/agentic-awesome-skills at commit 1e53ce2, republished under its MIT licence (© sickn33). 1,228 words, ~2,918 tokens.

Download SKILL.mdSave it as .claude/skills/fxmacrodata/SKILL.md (or your agent's skills folder).
name
fxmacrodata
description
Query FXMacroData for official-source macro indicators, release calendars, central-bank policy rates, FX rates and CFTC positioning across 22 currencies.
category
finance
risk
safe
source
self
source_type
self
date_added
2026-10-04
author
fxmacrodata
tags
macroeconomics, forex, central-banks, economic-calendar, cot, rest-api
tools
claude, cursor, gemini

FXMacroData: Macro and FX Data

Overview

FXMacroData is a REST API for macroeconomic data taken from official publishers (statistics offices, central banks, the CFTC). It covers 22 currencies: AUD, BRL, CAD, CHF, CNH, CNY, DKK, EUR, GBP, HUF, ILS, JPY, KRW, MYR, NGN, NOK, NZD, PEN, SEK, THB, TWD and USD. Each series carries its publisher, source URL and the time the number was released, so answers can cite where a figure came from and when it became public.

This skill covers discovering indicator slugs, pulling release history, reading the release calendar, comparing policy rates between two currencies, and the access limits that apply without an API key.

When to Use

  • Use when the user asks for an official macro figure for a country or currency: CPI, core inflation, GDP, unemployment, payrolls, retail sales, business and consumer confidence, trade balance, bond yields.
  • Use when the user asks when the next CPI, payrolls, GDP or central-bank decision is due, or wants the release calendar for a week.
  • Use when comparing central-bank policy rates or yield differentials between two currencies (for example USD vs JPY carry).
  • Use when the user wants daily FX reference rates or CFTC Commitments of Traders positioning for a currency future.
  • Do not use for intraday tick data, equities, crypto, or order execution. This is read-only reference data.

Access and Authentication

  • Base URL: https://api.fxmacrodata.com/v1
  • Authentication is optional. If the user has a key, read it from the FXMACRODATA_API_KEY environment variable and send it in the X-API-Key header. Never put the key in the URL or print it in output.
  • Without a key:
    • USD indicators, the USD release calendar, the USD data catalogue and USD COT data work.
    • USD announcement data is delayed by 15 minutes. Each response includes a freemium_delay object with the cutoff time and withheld_count, the number of releases newer than the cutoff.
    • History is limited to the most recent 90 days. The freemium_window object shows the applied cutoff date, and requested_start_date in the response shows the start date actually used.
  • Every other currency, /forex, /rate_differentials and /commodities need a key. Without one they return HTTP 401 with "code": "api_key_required". That means the data exists but needs a subscription; do not report it as missing.
bash
# Keyless (USD only)
curl -s "https://api.fxmacrodata.com/v1/announcements/usd/policy_rate?limit=3"

# With a key, from the environment
curl -s -H "X-API-Key: $FXMACRODATA_API_KEY" \
  "https://api.fxmacrodata.com/v1/announcements/eur/policy_rate?limit=3"

Endpoints

EndpointPurposeKeyless
GET /data_catalogue/{currency}Every indicator slug for a currency, with name, unit, frequency, source and coverageYes (all currencies)
GET /announcements/{currency}/{indicator}Release history for one indicator, most recent firstUSD only
GET /announcements/{currency}/latestLatest value of every indicator for a currencyUSD only
GET /calendar/{currency}Upcoming scheduled releases with UTC timestampsUSD only
GET /cot/{currency}Weekly CFTC COT positioning (AUD, CAD, CHF, EUR, GBP, JPY, MXN, NZD, USD, XAU)USD only
GET /forex/{base}/{quote}Daily FX reference ratesNo
GET /rate_differentials/{base}/{quote}Aligned rate spread between two currencies in percentage points and basis pointsNo

Currency codes and indicator slugs are lowercase in paths (usd, policy_rate).

Common query parameters
ParameterEndpointsNotes
start_date, end_dateannouncements, calendar, cot, forex, rate_differentialsYYYY-MM-DD, inclusive
limit, offset, pageannouncements, cot, forex, rate_differentialsRows are most recent first. Default limit is 20
timezonecalendarIANA name such as Europe/London; adds an announcement_datetime_requested_timezone field
indicatorcalendarFilter the calendar to one slug
revisionsannouncementslatest, first, final or all, where supported
measurerate_differentialsauto, policy_rate, risk_free_rate, gov_bond_2y, gov_bond_10y
Response shape

Announcement responses carry metadata (source, source_url, source_series_name, seasonal_adjustment, pagination) and a data array. Each row has:

  • date: the reference period the value belongs to.
  • val: the value, plus previous_value and change_from_previous when the prior observation is in range.
  • announcement_datetime: Unix seconds (UTC) when the figure was published; announcement_datetime_local gives the publisher's local time.
  • revisions: earlier vintages of the same observation, where available.

How It Works

Step 1: Find the indicator slug

Slugs differ from common names. US CPI is inflation, not cpi, and payrolls is non_farm_payrolls. Check the catalogue before the first query for a currency:

bash
curl -s "https://api.fxmacrodata.com/v1/data_catalogue/usd" | jq 'keys'
curl -s "https://api.fxmacrodata.com/v1/data_catalogue/usd" | jq '.inflation | {name, unit, frequency, source}'

An unknown slug returns HTTP 404 with a suggestion, for example Did you mean: ppi?.

Step 2: Pull the history
bash
curl -s "https://api.fxmacrodata.com/v1/announcements/usd/unemployment?limit=6" \
  | jq '.data[] | {date, val, announcement_datetime}'

Report the reference period (date) and the publication time (announcement_datetime) separately. A March figure is usually released in April.

Step 3: Check freshness before calling a value "latest"
bash
curl -s "https://api.fxmacrodata.com/v1/announcements/usd/non_farm_payrolls?limit=1" \
  | jq '{latest: .data[0].date, val: .data[0].val, delay: .freemium_delay}'

If freemium_delay.withheld_count is greater than 0, a newer release has been published but is not yet visible to keyless requests. Say so, and do not present the older value as current.

Step 4: Check the next release
bash
curl -s "https://api.fxmacrodata.com/v1/calendar/usd?indicator=non_farm_payrolls&timezone=UTC" \
  | jq '.data[0] | {name, reference_period, announcement_datetime_utc, release_date_confirmed}'

Use announcement_datetime_utc and convert to the user's timezone only when presenting the answer.

Show full SKILL.md (490 more words)Show less

Examples

Example 1: What did the Fed do at its last meeting?
bash
curl -s "https://api.fxmacrodata.com/v1/announcements/usd/policy_rate?limit=2" \
  | jq '{name, source, rows: [.data[] | {date, val, previous_value, change_from_previous, source_url}]}'

policy_rate for USD is the upper bound of the federal funds target range; policy_rate_target_lower and policy_rate_midpoint are separate slugs. Cite source_url, which links the Federal Reserve statement for that decision.

Example 2: US release calendar for a given week
bash
curl -s "https://api.fxmacrodata.com/v1/calendar/usd?start_date=2026-10-05&end_date=2026-10-09" \
  | jq '.data[] | {release, name, announcement_datetime_utc, event_importance}'
Example 3: Policy-rate differential for a carry question (key required)
bash
curl -s -H "X-API-Key: $FXMACRODATA_API_KEY" \
  "https://api.fxmacrodata.com/v1/rate_differentials/usd/jpy?measure=policy_rate&limit=5"

Without a key you can still answer the USD side from /announcements/usd/policy_rate, and then state that the JPY leg needs an API key.

Example 4: CFTC positioning in US dollar index futures
bash
curl -s "https://api.fxmacrodata.com/v1/cot/usd?limit=4" \
  | jq '.data[] | {date, noncommercial_net, noncommercial_net_zscore, open_interest}'

date is the Tuesday position date; the report is published later that week (announcement_datetime).

Example 5: Python helper
python
import os
import requests

BASE_URL = "https://api.fxmacrodata.com/v1"

def fxmd_get(path, **params):
    headers = {}
    key = os.environ.get("FXMACRODATA_API_KEY")
    if key:
        headers["X-API-Key"] = key
    resp = requests.get(f"{BASE_URL}{path}", params=params, headers=headers, timeout=30)
    if resp.status_code == 401:
        raise PermissionError(resp.json().get("detail", "API key required"))
    resp.raise_for_status()
    return resp.json()

cpi = fxmd_get("/announcements/usd/inflation", limit=12)
for row in cpi["data"]:
    print(row["date"], row["val"])

MCP Server

FXMacroData also runs a hosted MCP server at https://fxmacrodata.com/mcp (Streamable HTTP), listed in the MCP registry as io.github.fxmacrodata/fxmacrodata. If the client already has it connected, prefer its tools over raw HTTP calls. The same access rules apply.

Best Practices

  • Do look up slugs in /data_catalogue/{currency} instead of guessing them.
  • Do quote the publisher (source) and the release time with each figure.
  • Do keep times in UTC internally and state the timezone when you present them.
  • Do send the key only through the X-API-Key header from FXMACRODATA_API_KEY.
  • Don't present keyless USD data as real time; it is 15 minutes behind.
  • Don't treat a 401 api_key_required response as missing data.
  • Don't compare series with different seasonal_adjustment or units without saying so.

Limitations

  • Without a key, only USD data is returned, with a 15-minute release delay and 90 days of history. A request for older data is clipped to the last 90 days rather than rejected, so check requested_start_date and freemium_window.
  • All timestamps are UTC (Unix seconds or ISO 8601 with offset). Calendar times are scheduled times and can move; check release_date_confirmed.
  • FX rates are daily official reference rates, not live dealing quotes.
  • COT data is weekly and covers only the contracts listed above.
  • Indicator coverage differs by currency; a slug that exists for USD may not exist for another currency.
  • This skill reads data only. It does not give investment advice, and figures should be checked against the publisher's own release for anything consequential.

Security & Safety Notes

  • All calls are read-only HTTPS GET requests to api.fxmacrodata.com.
  • The API key is a secret. Read it from the environment, never hard-code it, never pass it as a query parameter, and never echo it back to the user.

Common Pitfalls

  • Problem: {"detail": "Unsupported currency (USD) or indicator (cpi)..."} Solution: Use the slug from the catalogue (inflation).
  • Problem: A request with start_date=2020-01-01 returns only a few rows. Solution: Keyless history is limited to 90 days. Use a key for full history.
  • Problem: non_farm_payrolls returns a value around 159 million. Solution: That slug is the employment level. The monthly change is the difference between consecutive rows.
  • Problem: The latest row is older than a release you know has happened. Solution: Check freemium_delay.withheld_count; the release may be inside the 15-minute delay window.

Additional Resources

© sickn33, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/fxmacrodata of sickn33/agentic-awesome-skills.

Open the folder on GitHubat commit 1e53ce2

Used in 1 other repository

We found 5 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in sickn33/agentic-awesome-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Fxmacrodata next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Fxmacrodata compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Fxmacrodata this skillsickn33/agentic-awesome-skills47k1 repos~2.9kAutomated safety check: PassMIT
Marketing OsYuzzyuk/marketing-os535—~2.5kAutomated safety check: PassMIT
Revenue Centric Designheliocosta-dev/revenue-centric-design740—~1.6kAutomated safety check: PassCustom licence
Startup Positioningferdinandobons/startup-skill1.2k—~4.6kAutomated safety check: PassMIT
Stanley Druckenmiller Investmenttradermonty/claude-trading-skills3k1 repos~2kAutomated safety check: PassMIT
B2b Playbookweilun88313/B2B-Playbook203—~3.1kAutomated safety check: PassProprietary

Similar skills

  • Marketing Os

    Yuzzyuk/marketing-os

    A complete marketing department in one skill. An agent skill from Yuzzyuk/marketing-os.

    535 GitHub stars~2.5k tokensUpdated 1 mo ago
    Marketing & SEOAuto-check passed
  • Revenue Centric Design

    heliocosta-dev/revenue-centric-design

    Playbook for designing SaaS and startup products that convert, retain, and monetize — landing pages & CRO, checkout & forms, onboarding/activation, churn reduction, pricing psychology, dashboards…

    740 GitHub stars~1.6k tokensUpdated 1 mo ago
    Marketing & SEOAuto-check passed
  • Startup Positioning

    ferdinandobons/startup-skill

    Market positioning strategy using the April Dunford framework, enriched with JTBD discovery, Moore positioning statement, and Neumeier's Onliness Test.

    1.2k GitHub stars~4.6k tokensUpdated 3 mo ago
    Marketing & SEOAuto-check passed
  • Stanley Druckenmiller Investment

    tradermonty/claude-trading-skills

    Druckenmiller Strategy Synthesizer - Integrates 8 upstream skill outputs (Market Breadth, Uptrend Analysis, Market Top, Macro Regime, FTD Detector, VCP Screener, Theme Detector, CANSLIM Screener)…

    3k GitHub starsUsed in 1 repo~2k tokens
    Marketing & SEOAuto-check passed
  • B2b Playbook

    weilun88313/B2B-Playbook

    Turn B2B marketing work into evidence-aware outputs using market, positioning, demand, account-program, lifecycle, and tool-selection guidance.

    203 GitHub stars~3.1k tokensUpdated 25 days ago
    Marketing & SEOAuto-check passed
  • Research Brand

    onvoyage-ai/gtm-engineer-skills

    Researches a company from its URL and produces a Brand DNA file covering positioning, audience, competitors, voice, and messaging.

    1.3k GitHub stars~1.3k tokensUpdated 4 mo ago
    Marketing & SEOAuto-check passed

More from sickn33/agentic-awesome-skills

All 1,394 skills in this repo
  • Liuguang Banlan UI

    sickn33/agentic-awesome-skills

    Implements an interface in one of two named color modes, iridescent white or colorful black, from a parameterized starter that reports measured color intensity.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • User Thoughts Memory

    sickn33/agentic-awesome-skills

    Saves a user's project decisions, rules and preferences into a project-local mdbase so later sessions and other agents can recover the intent.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Using LWC Memory and Graphs

    sickn33/agentic-awesome-skills

    Keeps project decisions, research and verified results available across coding-agent sessions through LWC memory, a document Wiki graph and a CodeGraph code index.

    47k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Find Complementary Founders

    sickn33/agentic-awesome-skills

    Guides an agent through assessing its own owner for cofounder fit, publishing an approved profile, and ranking complementary profiles other agents published for their owners.

    47k GitHub starsUsed in 1 repo~4.8k tokens
    Auto-check passed
  • Whatsapp Cloud API

    sickn33/agentic-awesome-skills

    Integracao com WhatsApp Business Cloud API (Meta). An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 2 repos~4.5k tokens
    Auto-check passed
  • Cline Pilot

    sickn33/agentic-awesome-skills

    Acts as a proxy for the Cline CLI, dispatching coding tasks one at a time, monitoring runs by hard evidence, relaying decisions to you and learning per-project preferences.

    47k GitHub starsUsed in 1 repo~4.6k tokens
    Auto-check passed

Categories

Questions about Fxmacrodata

What does Fxmacrodata do?

Query FXMacroData for official-source macro indicators, release calendars, central-bank policy rates, FX rates and CFTC positioning across 22 currencies. Fxmacrodata is an agent skill from sickn33/agentic-awesome-skills. Query FXMacroData for official-source macro indicators, release calendars, central-bank policy rates, FX rates and CFTC positioning across 22 currencies.

When should I use Fxmacrodata?

Fxmacrodata fits situations like: tasks that involve Positioning and messaging.

How do I install Fxmacrodata in Claude Code?

Run `npx skills add sickn33/agentic-awesome-skills --skill fxmacrodata -a claude-code`. Or copy the skill folder (skills/fxmacrodata in sickn33/agentic-awesome-skills) into .claude/skills/fxmacrodata in your project. Claude Code loads it when a task matches its description.

How do I install Fxmacrodata in Codex?

Run `npx skills add sickn33/agentic-awesome-skills --skill fxmacrodata -a codex`. Or copy the skill folder (skills/fxmacrodata in sickn33/agentic-awesome-skills) into .agents/skills/fxmacrodata in your project. Codex loads it when a task matches its description.

Can I use Fxmacrodata in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sickn33/agentic-awesome-skills --skill fxmacrodata -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fxmacrodata, .gemini/skills/fxmacrodata, .github/skills/fxmacrodata and .opencode/skills/fxmacrodata in your project.

What does Fxmacrodata need to run?

Going by SKILL.md and its folder, Fxmacrodata needs the command-line tools its instructions call (curl and jq) and credentials named FXMACRODATA_API_KEY. Our summary lists: Python 3; A credential in FXMACRODATA_API_KEY.

Does Fxmacrodata access the network?

SKILL.md names 2 domains. In commands or code: api.fxmacrodata.com and fxmacrodata.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Fxmacrodata safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Fxmacrodata use?

Fxmacrodata is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Fxmacrodata use?

About 2.9k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Fxmacrodata?

Skills that share tags, products or a category with Fxmacrodata: Marketing Os (Yuzzyuk/marketing-os, 535 stars), Revenue Centric Design (heliocosta-dev/revenue-centric-design, 740 stars), Startup Positioning (ferdinandobons/startup-skill, 1.2k stars) and Stanley Druckenmiller Investment (tradermonty/claude-trading-skills, 3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Fxmacrodata?

sickn33 (a GitHub user) maintains it in sickn33/agentic-awesome-skills, which has 47,304 GitHub stars. The repository holds 1,394 skills in this directory. The repository was last updated on October 6, 2026.

Source: sickn33/agentic-awesome-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.