2.5k
GitHub Stars
2
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill openclaw/skills --skill xerolite- _meta.json801 B
- SKILL.md2.9 KB
Overview
This skill integrates OpenClaw with the Xerolite trading platform so agents can place orders, search contracts, and receive Xerolite webhooks. It provides CLI utilities to call Xerolite endpoints and a transform module that formats incoming webhook payloads into readable notifications. Use it to automate broker interactions, surface trade events to chat channels, and script contract lookups.
How this skill works
The skill installs a webhook transform and CLI scripts. The CLI posts JSON to internal OpenClaw endpoints to place orders or search contracts against the Xerolite REST API. Incoming Xerolite webhooks are received at /hooks/xerolite, transformed into a clean notification format, and forwarded to the active delivery channel (Telegram, etc.).
When to use it
- Place programmatic or agent-driven orders through Xerolite from OpenClaw.
- Search and validate contract details before sending orders or analyzing market data.
- Receive and surface Xerolite trade and system events to chat channels or dashboards.
- Automate trading flows that require broker order placement and confirmations.
- Debug integration by replaying webhook payloads in a readable format.
Best practices
- Set and verify hooks.token in OpenClaw before enabling Xerolite webhooks to avoid 401s.
- Customize transforms/xerolite.js if you need additional fields or a different notification layout.
- Run the provided install.sh to copy the transform and register the webhook endpoint, and restart the gateway after install.
- Use default CLI flags (currency USD, asset-class STOCK, exch SMART) unless you require specific settings.
- Keep Node.js 18+ on the host so the scripts and built-in fetch work reliably.
Example use cases
- Agent executes a trading strategy and calls the CLI to place BUY/SELL orders through Xerolite.
- Query contract details for a ticker before building an order to ensure currency and asset class match broker requirements.
- Forward Xerolite order.created, order.filled, or system messages into a Telegram channel for live monitoring.
- Use the transform module to convert raw webhook JSON into human-friendly notifications for operations teams.
FAQ
Point Xerolite webhooks to https://your-openclaw-host:18789/hooks/xerolite, use POST, set Content-Type: application/json, and include Authorization: Bearer <hooks-token> matching OpenClaw’s hooks.token.
What defaults does the CLI use if I omit flags?
Defaults are currency=USD, asset-class=STOCK, and exch=SMART. Provide --action, --qty, and --symbol for order.place; provide --symbol for contract.search.