OpenClaw Integration
This guide explains how to connect XeroLite to OpenClaw using the XeroLite skill from ClawHub. With this integration, you can control trading through natural language: search for contracts, place orders, and manage positions by talking to your OpenClaw agent.
Use this guide if you want to:
- ✅ Use OpenClaw as an AI assistant that can execute trades via XeroLite
- ✅ Run XeroLite and OpenClaw on the same machine or network
- ✅ Rely on a community skill from ClawHub (install and configure in a few steps)
Table of Contents
- Prerequisites
- Install the XeroLite Skill
- Configuration
- First Steps
- Security Note
- Summary
- Related Documentation
Prerequisites
Before installing the XeroLite skill, ensure you have:
| Requirement | Details |
|---|---|
| XeroLite | Installed and running (e.g. http://localhost or your server address). |
| Interactive Brokers | TWS or IB Gateway configured for API access, and XeroLite connected to IB. |
| OpenClaw | Installed and running. For setup, see OpenClaw. |
| ClawHub account | Required for CLI install; sign up at ClawHub. |
The XeroLite skill sends requests to your XeroLite instance (e.g. search contracts, place orders). XeroLite must be reachable from the machine where OpenClaw runs (same host or network).
Install the XeroLite Skill
The XeroLite skill is published on ClawHub under the xero-flex namespace. You can install it either from the command line (ClawHub CLI) or from inside OpenClaw.
Skill page (review before installing): XeroLite on ClawHub
The skill source is open on ClawHub — you can review the code and description before installing.
Option A: Install via ClawHub CLI
-
Log in to ClawHub (browser or token):
clawhub loginOr with a token:
clawhub login --token <your-token> -
Install the XeroLite skill:
clawhub install xeroliteIf your environment uses the author/skill-name format:
clawhub install xero-flex/xerolite -
After installation, the skill is available to your agent. You may need to configure the XeroLite endpoint (see Configuration).
Configuration
The first version of the XeroLite skill does not require extra configuration in the skill settings. It expects your XeroLite instance to be reachable at localhost (e.g. the same host as OpenClaw or your XeroLite server address).
- Ensure XeroLite is running
If a later version of the skill adds settings (e.g. API key or custom endpoint), configure them in your OpenClaw skill settings or in openclaw.json under the skill’s config section.
First Steps
After installing and ensuring XeroLite and IB are connected:
-
Verify the connection with a simple request, for example:
- "Search for AAPL contracts"
- Confirm the agent uses the XeroLite skill and returns results from your XeroLite/IB setup.
-
When ready, try an order (use paper trading first if available):
- "Buy 1 share of AAPL"
- Check that the order appears in XeroLite and in TWS/IB Gateway.
-
Keep TWS or IB Gateway and XeroLite running whenever you want to trade through OpenClaw.
This integration is a tool: you give instructions in natural language, and the agent uses XeroLite to execute them. It is not autonomous and does not replace your own due diligence or risk management.
Security Note
ClawHub hosts community-built skills. Before installing any skill (including XeroLite):
- Review the skill on the ClawHub listing (description, code if visible, and author).
- Prefer skills from authors you trust and that are well-maintained (recent updates, clear purpose).
- The XeroLite skill needs network access to your XeroLite instance; run it only in environments you control.
Summary
- OpenClaw can act as an AI assistant that talks to XeroLite via the XeroLite skill from ClawHub.
- Install the skill with ClawHub CLI (
clawhub login, thenclawhub install xerolite) or from OpenClaw (/skills install @xero-flex/xerolite). - No extra skill configuration is required for the first version; ensure XeroLite is running and reachable.
- Use simple prompts (e.g. search contracts, place an order) to confirm the integration, and keep TWS/IB Gateway and XeroLite running when trading.
Related Documentation
- Connect XeroLite to IB TWS — Broker connection
- Webhook URL & Settings — XeroLite URL and webhook configuration
- Install XeroLite — Install and run XeroLite
- Troubleshooting — Common issues and solutions
- OpenClaw — OpenClaw setup
- ClawHub — XeroLite skill — Skill listing and source