A specialized skill for building AI agent integrations with the FX Protocol TypeScript SDK to manage leverage positions, cross-chain bridging, and yield-bearing fxSAVE assets.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install fx-sdk-agent
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install fx-sdk-agent using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The FX SDK Agent Skill is designed to empower developers and AI agents to interact seamlessly with the FX Protocol. By leveraging the @aladdindao/fx-sdk, this skill enables automated querying of debt and collateral positions, execution of complex leverage operations, and management of fxSAVE assets across Ethereum and Base networks. It serves as a technical bridge for Openclaw Skills users who need to automate decentralized finance workflows with high precision.
This skill ensures that AI agents can handle on-chain transactions safely by following strict sequential execution patterns and block-wait confirmation logic. Whether you are building a trading bot or a portfolio management tool, this Openclaw Skills resource provides the canonical imports, method maps, and error-handling strategies required for robust DeFi automation.
increasePosition) to generate a transaction plan or bridge quote.To integrate this skill into your project, install the core SDK and initialize it within your agent logic. Use the following setup for Openclaw Skills development:
npm install @aladdindao/fx-sdk
import { FxSdk, tokens } from '@aladdindao/fx-sdk';
// Initialize for Ethereum Mainnet
const sdk = new FxSdk({
rpcUrl: 'YOUR_RPC_URL',
chainId: 1
});
The skill organizes data primarily through the PositionInfo interface and structured transaction arrays. Below is the metadata taxonomy for position queries:
| Property | Type | Description |
|---|---|---|
positionId |
number | Unique identifier for the debt position |
rawColls |
bigint | Raw collateral amount in wei |
rawDebts |
bigint | Raw debt amount in wei |
currentLeverage |
number | The calculated leverage ratio |
rawCollsToken |
string | The address of the collateral token |
For fxSAVE operations, the skill tracks totalSupplyWei, cooldownPeriodSeconds, and isCooldownComplete to manage redemption lifecycles.
planOnly execution to return SDK routes and fee quotes without committing gas.approve and deposit flow for fxSAVE, ensuring valid dependency chains.agent-tools.json payloads and convert string-based amounts into safe bigint types.Loading
An autonomous monitoring system that proactively tracks server health and reports anomalies without requiring manual commands.

A browser automation skill for real-time extraction of trending topics from Weibo across multiple categories.

A high-precision translation engine that handles text, technical documentation, and live conversations across dozens of languages while maintaining formatting.

A specialized skill for managing sales quotes, clients, and pricing versions through the Ratecard SaaS platform via Membrane.

An integration for Mendix developers to automate project management and code quality tasks through the Membrane framework.

A comprehensive suite of tools for extracting structured text, complex tables, and high-quality images from modern and legacy Microsoft Word documents.








































