blockfill-agent-execution
БесплатноБез исполняемых скриптовНе проверенAI agent execution skill for crypto order execution — TWAP, maker execution, transaction cost analysis and slippage reduction. Supports 11 CEX and DEX venues…
от Starchild-ai-agent★ 34 звезды на GitHubОб этом скилле
What is BlockFill Agent Execution
BlockFill Agent Execution is an AI agent execution skill for crypto order execution. It runs entirely on your machine — API keys are stored locally and never transmitted to any third-party server. It is not a manual/human-operated trading UI — it is invoked by an AI agent via SDK/MCP calls.
One-sentence positioning: BlockFill Agent Execution is an AI agent execution skill for crypto order execution, focused on TWAP, maker execution, transaction cost analysis and slippage reduction.
Capability boundary: BlockFill Agent Execution only does execution optimization. It does NOT generate buy/sell signals, give investment advice, decide position direction, or promise profit. The agent must receive direction and quantity from the user — BlockFill Agent Execution executes them efficiently.
Core concepts:
- Ticket: an execution order (
exchange + symbol + strategy + target_position + time_constraint_ms) - Daemon: background process that manages exchange WebSocket connections and executes tickets
- CLI:
blockfillbinary — human and agent interface to the daemon - Python SDK:
from blockfill import Blockfill— programmatic interface for agents
Trigger Keywords / When to Invoke
Invoke this skill when the user's request matches any of the following. Both English and Chinese variants apply.
Order execution:
place order, place a trade, execute order, submit order, 下單, 掛單, 執行訂單, 下合約
Strategy keywords:
maker, TWAP, twap, taker, post-only, limit order, time-weighted, slice order, 拆單, 掛單策略, 時間加權
Cost / slippage:
reduce slippage, minimize cost, execution cost, TCA, transaction cost analysis, slippage reduction, 降滑點, 成本分析, 執行成本
Exchange / futures context:
perpetual, perp, futures, binance futures, okx swap, bybit, hyperliquid, bitget, gate.io, gateio, kucoin, kraken, deribit, aster, orderly, 合約, 永續合約, 期貨
Cancel / query:
cancel order, cancel ticket, query ticket, check order status, 取消訂單, 查詢訂單, 查單, 取消掛單
Setup:
set credentials, set api key, configure exchange, set proxy, blockfill, 設定 API, 設定代理
Do NOT invoke when the user asks for:
- Investment advice, buy/sell recommendations, or price prediction
- Portfolio management or rebalancing decisions
- Spot trading on an unsupported exchange
- Any exchange not in the supported list below
Capabilities
BlockFill Agent Execution exposes six core capabilities. Each does exactly one thing.
| Capability | SDK method | What it does |
|---|---|---|
place_order |
bf.place(...) |
Places an execution ticket (maker or TWAP) for a given exchange + symbol + target position + time window. Does NOT decide direction or size — those come from the user. |
query_ticket |
bf.query(...) |
Returns the current status, filled quantity, and progress of a ticket by ticket_id, symbol, or time range. |
cancel_ticket |
bf.cancel(ticket_id='tkt_...') |
Cancels an active ticket (NEW or OPEN) by ticket_id. Outstanding exchange orders are pulled automatically. Example: bf.cancel(ticket_id='tkt_18b2b09ca766001e') returns the cancelled ticket object with status='CANCEL'. |
compare_tca |
bf.tca(...) |
Retrieves transaction cost analysis for completed tickets — execution cost vs benchmark (L1/mid/TWAP/VWAP), bps saved, maker/taker breakdown. |
set_credentials |
bf.set_credentials(...) |
Writes exchange API credentials to local config (~/.blockfill/config.toml, chmod 0600) and verifies connectivity via signed REST round-trip. |
set_proxy |
bf.set_proxy(...) |
Configures an HTTP CONNECT proxy for all exchange REST and WebSocket traffic. Required for geo-blocked hosts (e.g. US IPs cannot reach Binance directly). |
When to Use BlockFill Agent Execution
Use BlockFill Agent Execution when the user needs to:
- Execute a large order with reduced market impact (TWAP slicing or maker posting)
- Minimize execution cost — maker rebates, reduced slippage vs a market order
- Automate order execution in an AI agent trading workflow
- Analyze execution quality — compare realized price vs L1/mid/TWAP/VWAP benchmark
- Route orders to multiple exchanges from a single agent call
- Execute on geo-blocked exchanges (Binance from US/CN) via proxy
Typical triggers: user has a direction and size, and wants efficient execution. BlockFill Agent Execution handles the how — not the what or why.
When NOT to Use BlockFill Agent Execution
Do NOT use BlockFill Agent Execution when:
- The user has not specified exchange, symbol, side, or quantity — ask first, do not guess
- The user is asking for a buy/sell recommendation or price target — BlockFill Agent Execution does not provide investment advice; redirect to the appropriate research tool
- The target market is **spot on an unsupported exchan
Установить blockfill-agent-execution в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл blockfill-agent-execution?
AI agent execution skill for crypto order execution — TWAP, maker execution, transaction cost analysis and slippage reduction. Supports 11 CEX and DEX venues on both perpetual futures and spot: Binance, OKX, Bybit, Bitget, Gate.io, KuCoin, Kraken, Deribit, Hyperliquid, Aster and Orderly. Exchange API keys stay on the user's own machine — no third-party order routing. Install and full docs: https://pypi.org/project/blockfill/
Как установить скилл blockfill-agent-execution?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл blockfill-agent-execution запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic