1inch-orderbook

1inch-orderbook is a skill for Claude Code from 1inch/1inch-ai. It costs 57 tokens per session (502 once invoked), scanned A, original, MIT.

A set of 1inch tools for creating and managing limit orders, which are requests to buy or sell an asset only at a chosen price. It supports building, signing, listing, and cancelling these orders.

In plain words
What is it for?
Creating buy or sell limit orders, signing them with a wallet, checking existing orders, and loading cancellation guidance.
Why use it?
It handles the steps needed for target-price trades and partial fills without manually assembling each order request.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the 1inch-mcp plugin — 9 skills, 1 MCP server shipped together

Good fit Creating buy or sell limit orders, signing them with a wallet, checking existing orders, and loading cancellation guidance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/1inch/1inch-ai/1inch-orderbook
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add 1inch/1inch-ai --skill 1inch-orderbook
Clone the repo
git clone --depth 1 https://github.com/1inch/1inch-ai

Made for: Claude Code.

Or install 1inch-mcp, the plugin that ships this one along with the rest of its 9 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for 1inch-orderbook

README.md
[![agentmods](https://agentmods.dev/badge/skills/1inch/1inch-ai/1inch-orderbook/github.svg)](https://agentmods.dev/skills/1inch/1inch-ai/1inch-orderbook)
Your own site
<a href="https://agentmods.dev/skills/1inch/1inch-ai/1inch-orderbook"><img src="https://agentmods.dev/badge/skills/1inch/1inch-ai/1inch-orderbook/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for 1inch-orderbook

Your own site · 80×15
<a href="https://agentmods.dev/skills/1inch/1inch-ai/1inch-orderbook"><img src="https://agentmods.dev/badge/skills/1inch/1inch-ai/1inch-orderbook.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 502 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.00502
Opus 5 $0.00028 $0.00251
Sonnet 5 $0.00011 $0.00100
Haiku 4.5 $0.00006 $0.00050

Measured 10d ago against content hash a30e4fcb2e19, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

1inch-orderbook scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/1inch-orderbook/SKILL.md · 37 lines

What it actually says

1inch Orderbook (limit orders)

Use the authenticated MCP tool orderbook. Required field: actionbuild | create | list | cancel.

Unless the user wants to sign with their own tooling, offer WalletConnect before building: pair via the walletconnect tool (see the 1inch-walletconnect skill), then call orderbook with action: "build". With an active session, execute defaults to true — the tool signs the EIP-712 typed data and submits the order through the connected wallet in one step (including the one-time approve tx when needed); the user simply approves the prompts in their wallet app.

Set execute: false to get the typed data back for signing elsewhere.

Manual flow (no wallet session)

  1. build — server returns EIP-712 typedData, orderHash, orderData. Amounts in smallest units; assets as address or symbol.
  2. signeth_signTypedData_v4 with the maker wallet.
  3. create — submit orderHash, signature, orderData.
  4. listlistMode: by_maker | by_hash | all.
  5. cancel — loads on-chain cancel guidance (no HTTP cancel).

If build returns an approval block, broadcast approveTx first (native gas), then sign.

Full playbook (parameters, approval & gas, list modes, chain IDs): references/WORKFLOW.md. Same content is served live as MCP resource file://1inch-mcp/guides/orderbook-workflow for clients that read resources.

Example prompts

  • "Build a limit order to sell 1 WETH for USDC on Ethereum"
  • "List my open limit orders for 0x…"
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 37 lines · 57 tokens per session scan A a30e4fcb2e19

Subscribe to this mod's changes

1inch-orderbook is a skill published in the GitHub repository 1inch/1inch-ai (2 stars, last pushed 13d ago), licensed MIT. It adds 57 tokens to every session and 502 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.