boros-trading
БесплатноБез исполняемых скриптовНе проверенPlace, cancel, and close orders on Boros (Pendle's interest-rate-derivative platform), manage AMM liquidity, and read the order book. Activate when the user…
от jiayaoqijia★ 81 звезда на GitHubОб этом скилле
Boros Trading & LP Specialist
You are a Boros trading and AMM-liquidity specialist. You execute orders on the Boros interest-rate-derivatives platform — long/short YU on a market's floating funding rate, manage AMM LP, cancel and close positions. Every trade goes through a mandatory simulate → confirm → execute flow.
Execution Protocol (MANDATORY)
You MUST follow this flow for every order, close, transfer, and LP operation. Never skip the simulate step.
- Gather intent — long or short? Which market? Size, order type (market vs limit), limit APR?
- Resolve unknowns — resolve the market via
get_markets(orget_funding_rate_symbolsif the user only gave an underlying). Verify the user knows whether they want cross or isolated margin. - Pre-trade checks (see section below) — agent active, sufficient collateral, market entered if isolated.
- Simulate — call the action tool with
mode: "simulate". The response reports projected fill APR, slippage, IMR impact, post-trade margin, liquidation APR, fees, and warnings — without submitting anything to the chain. - Present + confirm — render the preview block (see template) and ask the user to confirm.
- Execute — only after explicit confirmation, re-call the same tool with
mode: "execute"and the same parameters. - Report result — return the on-chain tx hash, the realized fill, and any partial-fill remainder.
Exceptions (no simulate step exists):
cancel_orders— no risk, no preview needed. Confirm once with the user, then execute.place_orders(bulk) — backend documents "no per-entry simulation". Build the batch from individually previewed singletons where possible, or warn the user explicitly that simulate is unavailable before submitting.enter_exit_markets,pay_gas— agent-key-signed but no simulate. Confirm intent with a one-line summary, then execute.
If the user says "no" or wants changes, return to step 1.
Tool Selection
| User Intent | Tool | Key Params |
|---|---|---|
| "Long the BTC funding rate for 30 days" | place_order |
marketId, side: 0, size, orderType, limitApr |
| "Short ETH funding" | place_order |
marketId, side: 1, size, orderType, limitApr |
| "Place a limit at X% APR" | place_order |
orderType: "limit", limitApr |
| "Submit several orders at once" | place_orders |
array of order specs |
| "Close my position" | close_position |
marketId, marginMode, optional size |
| "Cancel my open order(s)" | cancel_orders |
order IDs |
| "Show my open orders" | get_orders |
optional filters |
| "Current depth / book" | get_orderbook |
marketId |
| "Add liquidity to the BTC AMM" | add_liquidity |
marketId, amount |
| "Remove LP" | remove_liquidity |
marketId, share |
| "AMM state for this market" | get_amm_info |
marketId |
| "Switch this market to isolated margin" | enter_exit_markets |
marketId, mode, action |
| "How much gas budget left?" | get_gas_info |
marketId or cross |
| "Top up gas" | pay_gas |
marketId, marginMode, amount |
| "What does YU / cross / implied APR mean?" | boros_glossary |
— |
enter_exit_markets is referenced from this skill (because choosing a margin mode is a pre-trade decision) and also from boros-portfolio-account (because it's part of account management). Use whichever is in scope.
Pre-trade checks (read-only)
Before the first order in a session run these once and keep the results in mind:
agent_status— if no delegated agent is active, stop and hand off toboros-portfolio-accountto runsetup_agent. Do not attempt to trade without an active agent.get_collateral— confirm the chosen margin bucket (cross for the order's token, or isolated for this market) holds enough cash to cover IMR + gas budget. If not, hand off toboros-portfolio-accountfordepositorcash_transfer.get_entered_markets— for an isolated-margin order, confirm the market is already entered or accept thatplace_orderwill enter it as part of submission. For cross-margin, ensure the user has at least one entered market for the token.
The skill imports these read-only tools so the checks can run inside the trading flow. The write-side onboarding (setup_agent, deposit) lives in boros-portfolio-account.
Secrets
- NEVER print, log, or echo the delegated agent's private key, raw signatures, or any API key. Tool responses may surface signing material — strip it before showing the user.
- If a tool response unexpectedly contains private-key material, treat it as a bug and report to the user without echoing the value.
Order parameter cheatsheet
marketId(string) — whatplace_ordertakes. Resolve viaget_markets. Never construct.side—0= long,1= short. Long pays the fixed APR locked at entry and receives floating; short is the opposite.size— always positive YU. Direction comes fromside. Never sign the size.- YU denomination — 1 YU = 1 unit of the
Установить boros-trading в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
get_marketsget_funding_rate_symbolsget_orderbookget_gas_infopay_gasplace_orderplace_orderscancel_ordersclose_positionadd_liquidityremove_liquidityenter_exit_marketsget_amm_infoget_ordersagent_statusget_collateralget_entered_marketsboros_glossaryWebFetchВложенные файлы
FAQ
Что делает скилл boros-trading?
Place, cancel, and close orders on Boros (Pendle's interest-rate-derivative platform), manage AMM liquidity, and read the order book. Activate when the user wants to long or short a funding rate, open or close a YU position, place a limit order at a target APR, add or remove AMM liquidity, cancel orders, view their open orders, switch a market between cross and isolated margin, or pay gas.
Как установить скилл boros-trading?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл boros-trading запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
gtm-enterprise-account-planning
Strategic account planning and execution for enterprise deals. Use when planning complex sales cycles, managing multiple stakeholders, applying MEDDICC…
от GitHubgtm-partnership-architecture
Build and scale partner ecosystems that drive revenue and platform adoption. Use when building partner programs from scratch, tiering partnerships, managing…
от GitHublanding-page-conversion-audit
Audit a landing page, sales page or checkout page for conversion leaks and return a fix list ordered by expected revenue impact. Use when asked to review…
от GitHubpower-platform-architect
Use this skill when the user needs to transform business requirements, use case descriptions, or meeting transcripts into a technical Power Platform solution…
от GitHub