# xauusd-trading

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.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 487 installs
- Author: huynguyen03dev
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/huynguyen03dev/xauusd-trading/tree/HEAD/SKILL.md
- Updated: 2026-02-22
- HTML: https://affpapa.org/en/nevibecode/skills/xauusd-trading

## What it 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.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add huynguyen03dev/xauusd-trading --skill xauusd-trading -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/xauusd-trading/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/xauusd-trading/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add huynguyen03dev/xauusd-trading --skill xauusd-trading -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/xauusd-trading/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add huynguyen03dev/xauusd-trading --skill xauusd-trading -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/xauusd-trading/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install huynguyen03dev/xauusd-trading xauusd-trading
```

2. **Manually: put the files in place**
- File: `.github/skills/xauusd-trading/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add huynguyen03dev/xauusd-trading --skill xauusd-trading -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/huynguyen03dev/xauusd-trading
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/xauusd-trading/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add huynguyen03dev/xauusd-trading --skill xauusd-trading -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/huynguyen03dev/xauusd-trading/tree/HEAD/SKILL.md

## When to use it
- 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
- 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

## Similar
- [churn-prevention](https://affpapa.org/en/nevibecode/skills/coreyhaines31-churn-prevention.md) — skill · 121000 installs
- [revops](https://affpapa.org/en/nevibecode/skills/revops.md) — skill · 113500 installs
- [community-marketing](https://affpapa.org/en/nevibecode/skills/community-marketing.md) — skill · 89500 installs
- [ads](https://affpapa.org/en/nevibecode/skills/ads.md) — skill · 82800 installs
- [pricing](https://affpapa.org/en/nevibecode/skills/pricing.md) — skill · 79300 installs
- [marketing-plan](https://affpapa.org/en/nevibecode/skills/marketing-plan.md) — skill · 67900 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
