RathRath Finance
Resources for AI Agents

Rath Developer Skill

Install Rath's agent skill for guided xPath, Tachyon, and Rath MCP integrations.

The Rath Developer Skill teaches compatible coding agents how to select and integrate Rath products safely. It covers xPath swaps and routing, Tachyon relay transactions, and Rath MCP configuration.

The skill provides Rath workflows and integration rules. Rath MCP provides live structured tools. Install the skill and connect MCP together for the complete agent experience.

Install

Install the skill from the public Rath skills repository:

npx skills add RathFinance/skills --skill rath-developer

Install it globally for Codex:

npx skills add RathFinance/skills \
  --skill rath-developer \
  --agent codex \
  --global \
  --yes

Install it for a specific supported agent:

npx skills add RathFinance/skills \
  --skill rath-developer \
  --agent claude-code \
  --yes

List available Rath skills without installing:

npx skills add RathFinance/skills --list

Fetch Skill Context

Agents that consume plain Markdown directly can fetch the Rath skill context:

curl https://docs.rath.fi/skill.md

What It Covers

AreaGuidance
Product selectionChoose xPath for swaps and routing, Tachyon for relayed transactions
xPathQuotes, transaction building, approvals, Permit2 gasless swaps, and status
TachyonValidation, quotes, contract calldata, submission confirmation, and tracking
Rath MCPHosted endpoint configuration, API-key headers, and tool selection
SafetySecret handling, amount units, stale quotes, signatures, and confirmation gates

Connect Rath MCP

Add Rath MCP to give the agent live xPath and Tachyon tools:

{
  "mcpServers": {
    "rath": {
      "url": "https://mcp.rath.fi/mcp",
      "headers": {
        "xpath-api-key": "YOUR_XPATH_API_KEY",
        "tachyon-api-key": "YOUR_TACHYON_API_KEY"
      }
    }
  }
}

Configure only the keys for products you use. Keep API keys out of source control and frontend bundles.

See Rath MCP for client-specific setup.

Use

After installation, ask your agent:

Use $rath-developer to add a cross-chain xPath swap to this application.
Use $rath-developer to review this Tachyon relay integration for unsafe submission behavior.
Use $rath-developer to configure Rath MCP and generate a gasless xPath swap flow.

The agent should consult current Rath documentation for changing details such as supported chains, providers, request schemas, and feature availability.

On this page