economic-calendar

economic-calendar is a skill for Claude Code from mahmoud20138/Tradecraft. It costs 87 tokens per session (1,010 once invoked), scanned A, original, MIT.

An economic calendar skill for tracking scheduled financial events such as inflation reports, employment data, central-bank decisions, and GDP releases. It focuses on how these events can affect market volatility and trading decisions.

In plain words
What is it for?
Use it to find economic events by currency, identify high-impact news, calculate trading blackout windows, and examine pre-event volatility or post-event fading.
Why use it?
Major economic announcements can cause sudden price movements. This helps identify high-impact events, avoid trading around them, and consider possible movement before or after the release.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the tradecraft plugin — 58 skills shipped together

Good fit Use it to find economic events by currency, identify high-impact news, calculate trading blackout windows, and examine pre-event volatility or post-event fading.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mahmoud20138/tradecraft/economic-calendar
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mahmoud20138/Tradecraft --skill economic-calendar
Clone the repo
git clone --depth 1 https://github.com/mahmoud20138/Tradecraft

Made for: Claude Code.

Or install tradecraft, the plugin that ships this one along with the rest of its 58 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for economic-calendar

README.md
[![agentmods](https://agentmods.dev/badge/skills/mahmoud20138/tradecraft/economic-calendar/github.svg)](https://agentmods.dev/skills/mahmoud20138/tradecraft/economic-calendar)
Your own site
<a href="https://agentmods.dev/skills/mahmoud20138/tradecraft/economic-calendar"><img src="https://agentmods.dev/badge/skills/mahmoud20138/tradecraft/economic-calendar/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for economic-calendar

Your own site · 80×15
<a href="https://agentmods.dev/skills/mahmoud20138/tradecraft/economic-calendar"><img src="https://agentmods.dev/badge/skills/mahmoud20138/tradecraft/economic-calendar.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,010 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00087 $0.01010
Opus 5 $0.00044 $0.00505
Sonnet 5 $0.00017 $0.00202
Haiku 4.5 $0.00009 $0.00101

Measured 12d ago against content hash 7f0e0c3d97ce, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

economic-calendar scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/tradecraft/skills/economic-calendar/SKILL.md · 103 lines

How it starts

The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill: Economic Calendar | Domain: trading | Category: data | Level: beginner Tags: trading, data, calendar, news, high-impact, avoidance

Economic Calendar

High-Impact Events by Currency

Event Currency Frequency Typical Impact
NFP (Non-Farm Payrolls) USD Monthly (1st Fri) 50–150 pips
FOMC Rate Decision USD 8x/year 50–200 pips
CPI (Inflation) USD/EUR/GBP Monthly 30–100 pips
GDP USD/EUR/GBP Quarterly 20–80 pips
PMI (Mfg/Services) Multi Monthly 20–60 pips
BoE/ECB/BoJ Decision GBP/EUR/JPY 8x/year 50–150 pips
EIA Oil Inventory OIL Weekly (Wed 14:30 UTC) $0.50–2.00

News Avoidance Windows

from datetime import datetime, timedelta

def is_news_blackout(event_time: datetime, current_time: datetime,
                     impact: str = "HIGH") -> bool:
    """Should we avoid trading near this news event?"""
    windows = {"HIGH": (30, 15), "MEDIUM": (15, 5), "LOW": (5, 0)}  # (before_min, after_min)
    before, after = windows.get(impact, (30, 15))
    start = event_time - timedelta(minutes=before)
    end   = event_time + timedelta(minutes=after)
    return start <= current_time <= end

def news_risk_level(minutes_to_event: float) -> str:
    if minutes_to_event < 5:   return "EXTREME — do not trade"
    if minutes_to_event < 15:  return "HIGH — reduce size 50%"
    if minutes_to_event < 30:  return "ELEVATED — tight stops"
    return "NORMAL"

Fetch Calendar (Investing.com scrape)

import requests
from bs4 import BeautifulSoup

def get_todays_events(min_impact: str = "high") -> list:
    """Scrape Investing.com economic calendar for today's events."""
    # Note: Use WebSearch tool to get current day's events
    # WebSearch query: f"site:investing.com economic calendar today {min_impact} impact"
    pass

# Alternative: use Brave Search via WebSearch tool
CALENDAR_QUERY = "economic calendar high impact events today forex"

Read the full file on GitHub · 103 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 103 lines · 87 tokens per session scan A 7f0e0c3d97ce

Subscribe to this mod's changes

economic-calendar is a skill published in the GitHub repository mahmoud20138/Tradecraft (15 stars, last pushed 4mo ago), licensed MIT. It adds 87 tokens to every session and 1,010 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

lonestaroracle-data

Live pay-per-call data for crypto and DeFi protocol risk, funding rates, open interest, liquidations, stablecoin health, macro, equities, and on-chain intelligence — settled per query in USDC on Base via x402, no signup or API key.

BankrBot/skills · 58 tokens

etf-premium

Calculate ETF premium/discount vs NAV via Yahoo Finance, and decompose single-day surges into NAV-driven vs structural components (gamma squeeze, dealer hedging, blocked AP arbitrage). Use whenever the user asks about an ETF's premium or discount, NAV comparison, why an ETF diverged from its holdings, or how much of a…

himself65/finance-skills · 223 tokens

stock-liquidity

Analyze stock liquidity using bid-ask spreads, volume profiles, order book depth, market impact estimates, and turnover ratios via Yahoo Finance data. Use this skill whenever the user asks about liquidity, trading costs, bid-ask spread, market depth, volume analysis, slippage, market impact, turnover ratio, or how…

himself65/finance-skills · 188 tokens

tradingview-reader

Read TradingView desktop app for market data, news, alerts, watchlists, and screener results using opencli (read-only). Use this skill whenever the user wants quotes, options chains, options expiries, screener results across stocks/crypto/forex/futures/bonds, gainers/losers/movers, news headlines or full story bodies…

himself65/finance-skills · 247 tokens

company-valuation

Estimate the intrinsic value of a public company using DCF, relative (peer multiple) and sum-of-parts (SOTP) methods, then triangulate to an implied share price with upside/downside versus the current market price. Use this skill whenever the user asks: "what is AAPL worth", "valuation of NVDA", "fair value of TSLA"…

himself65/finance-skills · 234 tokens

sepa-strategy

Analyze stocks using Mark Minervini's SEPA (Specific Entry Point Analysis) methodology. Use this skill whenever the user mentions SEPA, Minervini, superperformance, trend template, VCP (Volatility Contraction Pattern), Stage 2 uptrend, stage analysis, pivot point breakout, or asks about growth stock screening…

himself65/finance-skills · 194 tokens