Agent Skill · version 0.1.0
Download Fensory Market-Making Agent Skill
Inspect one perpetual-futures order book, prepare bounded post-only quotes, track inventory and replace resting orders only after explicit review.
Download and review
Download the public file, review every instruction, then place it in the skills directory documented by the compatible client you use. Client-specific paths are omitted until each workflow is verified.
- Download
curl -fsSL https://fensory.com/skills/ai-market-making/SKILL.md -o SKILL.md- Install in Hermes
hermes skills install https://fensory.com/skills/ai-market-making/SKILL.md --name fensory-market-making
What the skill instructs
- Read the account and instrument before preparing an action.
- Keep the proposal inside the user's ceiling and the account's per-order cap.
- Show the exact symbol, side, order type and size before a write call. Include the limit price for a limit order, or the current quote and expected execution conditions for a market order, then ask for confirmation.
- Report a prepared order, submitted order and fill as three different states.
SKILL.md
---
name: fensory-market-making
description: Inspect one perpetual-futures order book, prepare bounded post-only quotes, track inventory and replace resting orders only after explicit review.
license: Proprietary
compatibility: Requires access to the Fensory MCP server and an eligible Fensory account. Fensory is not available to US persons.
metadata:
author: Fensory AG
version: "0.1.0"
source: "https://fensory.com/skills/ai-market-making"
---
# Build a supervised market-making strategy with an AI agent
## When to use
This guide is for an eligible non-US user who understands perpetual futures and wants to test one small, supervised two-sided quoting cycle on a liquid market with explicit inventory and order limits.
It is not an unattended market-making bot, a high-frequency system or a profit claim. It does not keep running after the client closes, guarantee maker fills or cancel orders automatically when connectivity is lost.
## Operating rules
- Start with read tools and identify the signed-in account, market, venue and instrument before preparing an action.
- Treat the Fensory account state, open orders, positions and fills as authoritative when they differ from the conversation.
- Fensory enforces four controls on the account: a kill-switch, an access expiry, a market allow-list and a per-order cap. Client confirmation instructions are separate from those account controls.
- Never describe a perpetual future as a share or tokenized equity. State the instrument and its risks before discussing an order.
- Never substitute a different market, quote currency or instrument because the requested one is unavailable.
- Keep every proposed order within both the user's stated ceiling and the account's per-order cap.
- Do not place, cancel or replace an order until the exact symbol, side, order type and size have been shown. For a limit order, show the limit price. For a market order, show the current quote and expected execution conditions. The user must confirm that exact action.
- Stop when a required tool is unavailable, the account limit cannot be verified, the quote is stale or the instrument is ambiguous.
## Risk and scope
This file is operational guidance, not financial advice. Trading can lose the full amount committed. Perpetual futures use margin and can be liquidated. Spot assets can lose value. Stop if the instrument, current quote or account controls cannot be verified.
## Procedure
1. **Check the market and account.** The assistant verifies that perpetual-futures trading is ready, resolves the market, reads minimum size and current collateral, and compares the account cap with the proposed order size before it constructs a quote. Tools: `get_perps_status`, `get_market`, `get_account_state`, `get_user_fees`.
2. **Read the order book and existing orders.** The spread and visible depth show the immediate market. Existing orders and positions show the exposure already working. Funding is included because a market-making position can remain open after one side fills. Tools: `get_orderbook`, `get_open_orders`, `get_predicted_fundings`.
3. **Prepare two post-only quotes.** The bid and offer use limit orders with Alo time in force. A post-only order is rejected instead of crossing the book. Each side is shown and confirmed separately, and a successful submission is not reported as a fill. Tools: `place_perps_order`.
4. **Reconcile fills and inventory.** The assistant separates resting size, partial fills and completed fills. When one side fills, the resulting position becomes the new starting point. The opposite quote is not treated as a guaranteed offset. Tools: `get_order_status`, `get_open_orders`, `get_fills`.
5. **Cancel or replace one known order.** A refresh starts from the live oid in open orders. A modification replaces that order and returns a new oid. A cancellation removes only the named order. Both actions require a fresh preview, separate confirmation and a final state check. Tools: `modify_perps_order`, `cancel_perps_order`.
## Request template
Use the Fensory tools to prepare one supervised market-making cycle on BTC perpetual futures. Stay read-only first. Call get_perps_status, get_market, get_orderbook with depth 10, get_account_state, get_open_orders, get_user_fees and get_predicted_fundings.
Report the best bid, best ask, spread, visible size at the first five levels, current position, available collateral, existing BTC orders, fees, current funding, market allow-list, access expiry and per-order cap. Stop if perpetual-futures trading is not ready, the market or account state is stale, the spread is too narrow to compare with fees, or an existing order would overlap this test.
Prepare, but do not submit, one post-only bid and one post-only offer. Keep each order at or below $25 notional, keep total resting notional at or below $50 and keep the proposed net inventory boundary at $25. Use limit orders with tif Alo. Show the exact asset, side, size and price for each order. Ask for confirmation separately before each placement.
After any confirmed placement, call get_order_status, get_open_orders and get_fills. If one side fills, stop quoting the side that would increase the resulting position. Do not place a replacement until you show the current inventory, the remaining order and a fresh order book.
For a confirmed refresh, modify only one identified resting order with modify_perps_order. Explain that the modification creates a new oid and is post-only. Re-read get_open_orders after the response and track the new oid. If the modification is rejected or times out, do not retry. Check order status and open orders instead.
For a confirmed stop, cancel only the named oids returned by get_open_orders. Do not use an unrestricted batch cancel. State whether any named order is a stop-loss or take-profit before asking for confirmation. Verify the final state with get_open_orders and get_fills.
## Failure handling
- **One side fills and price moves away:** A bid fill creates a long position and an offer fill creates a short position. The remaining quote may never fill, so the workflow stops and reports the inventory instead of assuming the book will return.
- **Both quotes become stale:** A new mid price can leave both orders far from the market or make one side too aggressive. The assistant re-reads the book and asks before changing either order. It does not reprice on a timer by itself.
- **Post-only placement is rejected:** Hyperliquid rejects an Alo order when it would immediately match. That protects the maker-only instruction, but it means the quote is not live. The assistant reports the rejection and does not silently convert it to Gtc, Ioc or market.
- **A modification changes the order id:** The previous oid is dead after a successful modification. The replacement is post-only and carries a new oid. Reusing the old id can produce an incorrect status or cancellation request.
- **A broad cancellation removes protection:** Stop-loss and take-profit orders also appear among resting orders. An unrestricted batch cancel can remove position protection. This guide names individual oids and requires the assistant to identify trigger orders before cancellation.
- **The spread does not cover the costs:** A visible spread is not profit. Fees, funding, adverse selection, partial fills and inventory losses can exceed it. The audit uses actual fills and fees and does not infer performance from quoted prices.
## Response contract
Report the account used, the exact instrument, the tools called, the controls that applied and the current order or position state. Separate a prepared order from a submitted order, and a submitted order from a fill. If no action was taken, say so directly.
## Sources
- [Fensory MCP server](https://fensory.com/mcp)
- [Hyperliquid order types](https://hyperliquid.gitbook.io/hyperliquid-docs/trading/order-types)
- [Hyperliquid exchange endpoint](https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint)
- [Fensory account controls](https://fensory.com/security)
Product behavior and client permissions verified 2026-10-19.
Questions people ask
- What does the Fensory Market-Making Agent Skill install?
- It downloads one SKILL.md file containing operating instructions, risk boundaries, the tool sequence and a response contract. It does not install the Fensory MCP server or create an account.