/tradecraft:economic-calendarfrom tradecraft
Provides economic calendar data for detecting high-impact events (NFP, CPI, FOMC, GDP, PMI, central bank decisions) with news avoidance windows, pre-event volatility handling, and post-event fade strategies for forex trading.
Ships in tradecraft. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Skill: Economic Calendar | Domain: trading | Category: data | Level: beginner Tags:
trading,data,calendar,news,high-impact,avoidance
| 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 |
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"
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"
DAILY_EVENTS = {
"00:30": "AUD data (RBA related)",
"07:00": "EUR data + London open",
"09:30": "GBP data",
"12:30": "USD major data (CPI, NFP, retail)",
"13:30": "NYSE open — US equity data",
"14:30": "EIA oil inventory (Wednesday only)",
"18:00": "FOMC (when scheduled)",
"22:00": "NZD/AUD data + NY close",
}
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub mahmoud20138/tradecraft --plugin tradecraft169 skills in this plugin
/agent-developmentThis skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins./agentic-storageAgentic storage architecture — persistent memory for AI agents using MCP, immutable versioning, sandboxing, and intent validation. Covers the stateless problem in LLM agents, RAG limitations (read-only), MCP protocol (JSON-RPC, resources, tools), storage safety layers, and agent file system design. Source: IBM Technology (Martin Keen), March 2026. Use this skill for "agentic storage", "agent memory", "persistent agent state", "MCP storage", "agent file system", "agent hard drive", "stateless agent problem", "agent work product", "immutable versioning", "agent sandboxing", "intent validation", "agent safety layers", "agent context window limits", "storage for AI agents", "agent persistence", "autonomous agent storage", "agent audit trail". Works with mcp-integration, trading-brain, agents, trade-psychology-coach.
Other plugins' skills for the same job