skills/xauusd-trading/SKILL.md
Federation-wide gold (XAUUSD) trading capability. Python stack, OANDA broker, backtesting, macro signals, RSI strategy. Every organ has a role.
npx skillsauth add ariffazil/openclaw-workspace XAUUSD-trading-stackInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
DITEMPA BUKAN DIBERI — Gold is wealth. The stack is forged. Trade with governance. This skill wires the entire federation to think about gold.
import sys
sys.path.insert(0, "/root/trading")
from quickstart import get_oanda_client, get_gold_price, run_backtest
# Check gold price now
price = get_gold_price()
print(f"XAUUSD: {price}")
# Connect to OANDA (needs credentials in config/oanda.env)
client = get_oanda_client()
| Path | Purpose |
|------|---------|
| /root/trading/ | Python venv + all trading code |
| /root/trading/bin/python3 | Python interpreter with all packages |
| /root/trading/config/oanda.env | OANDA credentials (NEVER commit) |
| /root/trading/strategies/ | Backtrader strategies |
| /root/trading/data/ | Cached market data |
| /root/trading/logs/ | Trade logs |
| /root/XAUUSD_TRADING_RESEARCH.md | Full research brief |
| /root/AAA/prompts/XAUUSD_RSI_UPGRADE_v1.0.md | RSI upgrade prompt |
| Package | Version | Purpose | |---------|---------|---------| | backtrader | 1.9.78 | Backtesting engine | | TA-Lib | 0.7.0 | Technical analysis (RSI, MACD, BB, etc.) | | pandas-ta | 0.4.71 | Pure-Python TA fallback | | yfinance | 1.5.1 | Market data (GC=F for gold futures) | | ccxt | 4.5.65 | Exchange connectivity | | oandapyV20 | 0.7.2 | OANDA broker API | | fredapi | 0.5.2 | Federal Reserve macro data | | pandas | 3.0.3 | Data manipulation | | numpy | 2.2.6 | Numerical computing |
| Organ | Role | Tool/Action | |-------|------|-------------| | arifOS | Govern | Approve/block trades, F1-F13 floor checks, seal receipts | | A-FORGE | Execute | Run backtests, place orders, manage positions | | WEALTH | Think | Position sizing, portfolio optimization, EMV, risk parity | | GEOX | Sense | Commodity supply signals, macro regime detection | | WELL | Guard | Human readiness gate — no manual trades if fatigued | | AAA | Display | Cockpit dashboard, trade journal, P&L tearsheets | | VAULT999 | Record | Immutable trade receipts, sealed strategies |
Every trading session follows RSI:
Any agent can find this skill via:
/root/.agents/skills/XAUUSD-trading-stack/SKILL.mdFEDERATED_SKILLS_REGISTRY_V3.yamlHermes can use this skill to:
/root/trading/bin/python3 strategies/xauusd_rsi_basic.pytesting
OpenClaw edge agent bridge — operational triage, doctor, restart, and A2A bridge routing for the federation edge (Telegram surface). USE WHEN: "openclaw unhealthy", "gateway down", "edge bot not responding", "a2a bridge disconnected", "watchdog tripped", "openclaw doctor", "openclaw restart". NOT for token/security audit — use FORGE-telegram-audit.
tools
Generate images, videos, TTS, voice clone, and music via MiniMax MCP server. Use when user asks to "draw", "generate image", "create picture", "make a photo", "text to image", "image generation".
testing
Single load-bearing constitutional-judgment skill. Routes all F1–F13, verdict, hold, seal, scope, authority and floor-check calls through the live arif_judge surface. Replaces 7 overlapping predecessors (arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge).
development
MANDATORY LSP grounding gate BEFORE any code mutation on .ts, .py, .js, .tsx, .jsx files. Forces the agent to read real-time compiler diagnostics and structural project context before editing — eliminating blind guesses and anchoring every mutation in F2 (TRUTH). Routes through arifOS kernel (:8088) for centralized gate logic.