Skip to main content
skill CX Codex

xauusd-trading — Claude Code skill: gold scalping signals

Pulls XAUUSD quotes and has the model read them, producing scalping signals with a 5-point stop. Built for small accounts on 5m/15m charts.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add huynguyen03dev/xauusd-trading --skill xauusd-trading -a claude-code
Open on GitHub

What xauusd-trading does

The skill feeds your agent live gold data. fetch_price.sh returns the current price, the OHLC of the active candle and an indicator set across 5m/15m/1h; fetch_candles.sh returns candle history for intervals from 1min to 1day. Twelve Data is the main source and needs a key exported as TWELVE_DATA_API_KEY. Without that key you fall back to fetch_gold.sh on Yahoo Finance, where quotes run roughly 15-20 minutes behind.

Analysis follows a fixed order. Price structure comes first: where price sits against support, resistance and swing points. Candle patterns come next, and indicators only confirm or deny what structure already shows. RSI, MACD or Stoch on their own are not a reason to enter. A table of extreme readings backs this up — Stoch K under 10, CCI under -100, RSI under 30 for longs, mirrored thresholds for shorts.

Filters run before any signal. When 5m ATR is above 8 points, or 15m ATR above 20, the skill skips the trade: a 5-point stop is noise at that volatility. Trading between 21:00 and 22:00 UTC is blocked outright, since stop hunts cluster around the daily rollover — the author moved this from a soft warning to a hard gate after two 5-point stops were swept back to back. Scheduled news such as CPI, NFP and rate decisions also closes the door, because gold can travel dozens of points in seconds. Factor in the spread of 2-3 points plus slippage: your real stop cost lands at 8-9 points, not 5.

What it helps with

  • pull live gold price and indicators into the chat
  • skip trades during rollover and news releases
  • find an entry at a level instead of mid-range
  • size stop and target for a 5-point risk account
  • check whether volatility is too high to scalp

Example prompts for the agent

  • Analyze XAUUSD on the 5m and give me a signal
  • Run fetch_candles.sh 5min 30 and mark the swing levels
  • Check ATR and tell me if a gold long is worth taking now

How to install xauusd-trading

1Skills CLI (Vercel)

npx skills add huynguyen03dev/xauusd-trading --skill xauusd-trading -a claude-code

2Manually: put the files in place

~/.claude/skills/xauusd-trading/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/xauusd-trading/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about xauusd-trading

How do I install xauusd-trading in Claude Code?

Run npx skills add huynguyen03dev/xauusd-trading --skill xauusd-trading -a claude-code. The skill lands at ~/.claude/skills/xauusd-trading/SKILL.md.

What does xauusd-trading do?

It fetches XAUUSD quotes and candle history, reads price structure, and returns a scalping signal with a 5-point stop, entry zone and take-profit levels.

Does the skill need an API key?

Real-time data without delay requires a Twelve Data key in TWELVE_DATA_API_KEY. Without it, the Yahoo Finance path stays available, running about 15-20 minutes behind.

Similar skills

All skills for Finance and business →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor