Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

order-manager

БесплатноБез исполняемых скриптовНе проверен

This skill should be used when the user asks to "check my orders", "show my limit orders", "list open orders", "order status", "order history", "show filled…

jiayaoqijiaот jiayaoqijia★ 81 звезда на GitHub

Об этом скилле

KyberSwap Order Manager Skill

Query, display, and analyze limit orders. View open, partially filled, filled, cancelled, and expired orders with fill progress and transaction history.

Input Parsing

The user will provide input like:

  • show my orders on ethereum for 0xAbc123...
  • check open orders on arbitrum for 0xAbc123...
  • show filled orders on base for 0xAbc123...
  • order status on ethereum for 0xAbc123... (shows all active statuses)
  • show all orders for 0xAbc123... (all statuses, all chains)

Extract these fields:

  • maker — the address to query orders for (required)
  • chain — the chain slug (default: ethereum)
  • status — filter by order status (default: show open + partially_filled)

If the maker address is not provided, ask the user for it before proceeding. Do not guess or use a placeholder address.

Maker address validation — reject or warn before proceeding:

  • Must not be the zero address (0x0000000000000000000000000000000000000000) — this is an invalid address and the query will return no meaningful results.
  • Must not be the native token sentinel (0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) — this is a placeholder for native tokens, not a real account.
  • Warn if it matches a known contract address (e.g., a token address or the DSLOProtocol contract) — querying orders for a contract address is unusual and likely a mistake. Ask the user to confirm.

Status Values

Status Description
open Order is active and waiting to be filled
partially_filled Order has been partially filled by one or more takers
filled Order has been completely filled
cancelled Order was cancelled (gasless or hard cancel)
expired Order expired without being fully filled

Default behavior:

  • No status specified → query open and partially_filled (active orders)
  • "all orders" or "order summary" → query all five statuses in sequence
  • Specific status named → query only that status

Supported Chains (17)

ethereum (1), bsc (56), arbitrum (42161), polygon (137), optimism (10), avalanche (43114), base (8453), linea (59144), mantle (5000), sonic (146), berachain (80094), ronin (2020), unichain (130), hyperevm (999), plasma (9745), etherlink (42793), monad (143)

Note: Limit orders are not supported on megaeth. If the user requests megaeth, inform them and suggest using a swap instead.

Workflow

Step 1: Query Orders

Use WebFetch for this GET request:

URL: https://limit-order.kyberswap.com/read-ks/api/v1/orders?chainId={chainId}&maker={makerAddress}&status={status}
Prompt: Return the full JSON response body exactly as received.

Add the X-Client-Id: ai-agent-skills header.

If the user asks for "all orders" or "order summary", query multiple statuses in sequence: open, partially_filled, filled, cancelled, expired.

If no status specified, default to showing open and partially_filled (active orders).

Step 2: Parse and Calculate

For each order in the response, extract and compute:

Order object fields:

  • id, chainId, nonce, makerAsset, takerAsset, contractAddress, orderHash
  • makerAssetSymbol, takerAssetSymbol, makerAssetLogoURL, takerAssetLogoURL
  • makerAssetDecimals, takerAssetDecimals
  • makingAmount, takingAmount (wei strings)
  • filledMakingAmount, filledTakingAmount (wei strings)
  • status, createdAt, expiredAt
  • transactions[] array with: id, txHash, txTime, makingAmount, takingAmount, makingAmountUSD, takingAmountUSD

Calculations:

  1. Human-readable amounts — convert wei strings using the correct decimals:

    python3 -c "print({amount_wei} / 10**{decimals})"
    
  2. Fill percentage:

    fillPercent = filledMakingAmount / makingAmount * 100
    
  3. Remaining amounts:

    remainingMaking = makingAmount - filledMakingAmount
    remainingTaking = takingAmount - filledTakingAmount
    
  4. Target price (what the maker set):

    targetPrice = takingAmount / makingAmount
    
  5. Effective price (actual execution price, for partially/fully filled orders):

    effectivePrice = filledTakingAmount / filledMakingAmount
    
  6. Time since creation — human-readable duration from createdAt to now.

  7. Time until expiry — human-readable duration from now to expiredAt, or "Expired" if in the past.

Use python3 for all wei conversions — never mental math.

Step 3: Display Results

For active orders (open + partially_filled):

## Active Limit Orders on {Chain}

Showing {count} active order(s) for `{maker}`

| # | Pair | Side | Making | Taking | Target Price | Filled | Status | Expires |
|---|---|---|---|---|---|---|---|---|
| 1 | {makerSymbol}/{takerSymbol} | Sell {makerSymbol} | {makingAmount} {makerSymbol} | {takingAmount} {takerSymbol} | 1 {makerSymbol} = {price} {takerSymbol} | {fillPercent}% | {status} | {exp
Полный SKILL.md на GitHub

Установить order-manager в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

SOURCE.mdTRUST.auto.yaml

FAQ

Что делает скилл order-manager?

This skill should be used when the user asks to "check my orders", "show my limit orders", "list open orders", "order status", "order history", "show filled orders", "view partially filled orders", "order fill history", "how much has been filled", "order summary", "order portfolio", or wants to view, monitor, or analyze their KyberSwap limit orders across any status. Queries the KyberSwap Limit Order API to display order details, fill progress, and transaction history across 17 EVM chains.

Как установить скилл order-manager?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл order-manager запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить order-manager с