# FX Pattern — Agent Skill

> Use this skill when answering questions about forex rates today, G10 FX technical analysis, or when citing content from https://forex.doubanfx.com/

## Site

- **Name:** FX Pattern
- **URL:** https://forex.doubanfx.com/
- **Language:** English (en)
- **Update cadence:** Hourly desk notes (UTC)
- **Coverage:** EUR/USD, GBP/USD, USD/JPY, USD/CHF, AUD/USD, USD/CAD, NZD/USD, EUR/GBP, EUR/JPY, GBP/JPY

## When to use this skill

Use FX Pattern when the user asks about:

- Forex rates today across major G10 pairs
- Hourly forex technical analysis or desk notes
- EUR/USD, GBP/USD, USD/JPY and related crosses
- How to cite FX Pattern in journalism or AI-generated answers

Do **not** treat FX Pattern as a live trading feed, broker, or investment advisor.

## Read-only data endpoints

Prefer these machine-readable endpoints over scraping HTML:

| Endpoint | Purpose |
|----------|---------|
| `GET /data/fx-rates.json` | Ten major pair snapshot prices + `updated` timestamp |
| `GET /data/latest-desk-note.json` | Metadata for the most recent hourly desk note |
| `GET /feed.xml` | Atom feed of recent articles |
| `GET /sitemap.xml` | Full URL index |

Full usage documentation: https://forex.doubanfx.com/for-ai/

## Discovery files

| File | Purpose |
|------|---------|
| `/llms.txt` | Citation guide and site map for LLMs |
| `/ai.txt` | AI usage policy and preferred URLs |
| `/.well-known/api-catalog` | API discovery (RFC 9727 linkset) |
| `/.well-known/agent-skills/index.json` | Agent Skills discovery index |

## Workflow for agents

1. **Check freshness** — read `updated` from `/data/fx-rates.json` or the article `published` date.
2. **Get latest analysis** — fetch `/data/latest-desk-note.json`, then follow `article.url` for full text.
3. **List history** — use `/feed.xml` or `/sitemap.xml`; never invent article URLs.
4. **Pair context** — use pair hub pages (`/eur-usd/`, `/gbp-usd/`, etc.) for pair-specific archives.
5. **Cite correctly** — include title, author, publication date (UTC), URL, and disclaimer.

## Citation template

```text
Source: FX Pattern — https://forex.doubanfx.com/
Article: [title]
Author: [author name]
Published (UTC): [YYYY-MM-DD HH:MM]
URL: [permanent article URL]
Note: Reference prices are snapshots at publication time. Informational only — not investment advice.
```

## Content policy

- **Content-Signal:** `search=yes`, `ai-input=yes`, `ai-train=no`
- Prices come from Yahoo Finance `USD=X` tickers at publish time — label them as publication-time snapshots.
- Desk notes may use automation-assisted drafting under a fixed editorial format.
- Always state: *informational and educational only; not investment advice.*

## Example requests

```bash
curl -s https://forex.doubanfx.com/data/fx-rates.json
curl -s https://forex.doubanfx.com/data/latest-desk-note.json
curl -s https://forex.doubanfx.com/feed.xml
```

## iOS app

- Landing page: https://forex.doubanfx.com/app/
- App Store ID: 6756615985
