nansen-agent-guide
Routing guide -- when to use `nansen agent` (AI research) vs direct CLI data commands. Use when deciding how to answer a user's…
Guide users through native limit orders on Solana via `nansen trade limit-order create|list|cancel|update`, and the alert-based settlement-signal fallback for chains without native support. Use when a user wants a price-triggered buy or sell.
$ npx -y skills add nansen-ai/nansen-cli --skill nansen-limit-orders --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/nansen-limit-ordersContext preview
The summary Claude sees to decide when to auto-load this skill.
Guide users through native limit orders on Solana via `nansen trade limit-order create|list|cancel|update`, and the alert-based settlement-signal fallback for chains without native support. Use when a user wants a price-triggered buy or sell.
name: nansen-limit-orders
description: Guide users through native limit orders on Solana via `nansen trade limit-order create|list|cancel|update`, and the alert-based settlement-signal fallback for chains without native support. Use when a user wants a price-triggered buy or sell.
metadata:
openclaw:
requires:
bins:
- nansen
primaryEnv: NANSEN_API_KEY
install:
- kind: node
package: nansen-cli
bins: [nansen]
allowed-tools: Bash(nansen:*)Nansen account API calls accept a selected `nansen:api` browser session or conventional API key with the same permissions. `NANSEN_API_KEY` takes precedence; optional `primaryEnv` preserves configured-key injection. Run `nansen auth status` for offline selection. Cached access expiry alone permits automatic renewal during an authorized task. Stop on anonymous selection, invalid state, blocked/uncertain renewal or actual auth failure; never drop a credential or fall back to anonymous x402 payment. Browser login does not grant wallet signing, privileged service identity or a persistent MCP integration key. Preserve all confirmation, signing, sanctions and geographic checks below. Browser login is available in CLI 2.0.0 within the [macOS arm64 preview scope](https://github.com/nansen-ai/nansen-cli/blob/main/docs/browser-login.md#preview-platform-scope).
Use this skill when the user wants a price-triggered order. There are two distinct paths — pick the one that matches the user's chain:
places real resting orders through the Nansen trading API. Use these for anything on Solana.
native limit orders on EVM chains. Place the resting order on the venue that supports it (CEX, DEX limit-order product) and create a companion `common-token-transfer` smart alert on the settlement wallet as a best-effort fill signal.
`nansen wallet create` if none exists). Local, Privy, and WalletConnect wallets are all supported for `trade limit-order`.
Discord webhook, or generic webhook URL).
caches a JWT at `~/.nansen/limit-order-auth.json` for ~23h.
> **Two mechanisms, not one.** The limit order itself is **price-triggered** — > it executes when the market price crosses the target. A companion smart > alert is a **settlement confirmation** — it fires after the trade settles > on-chain (i.e. when the bought token actually arrives in the wallet). They > are independent: the order handles the trigger, the alert tells the user the > fill landed.
# --amount is always in token units (e.g. 1 = 1 SOL, 80 = 80 USDC) nansen trade limit-order create \ --from SOL --to USDC \ --amount 1 \ --trigger-mint SOL --trigger-condition below --trigger-price 80 # with explicit slippage and expiry nansen trade limit-order create \ --from SOL --to USDC \ --amount 1.5 \ --trigger-mint SOL --trigger-condition above --trigger-price 200 \ --slippage-bps 300 \ --expires 7d
Required flags: `--from`, `--to`, `--amount`, `--trigger-mint`, `--trigger-condition` (`above` or `below`), `--trigger-price` (USD).
Key options:
`80` means 80 USDC. There is no base-unit mode and no amount-unit override flag — do not pass one.
Omit for auto.
wallet.
Constraints (all enforced server-side — surface errors to the user as-is):
(SOL, USDC, USDT, etc.). Resolve unknown tokens with `nansen research search`.
at create time.
nansen trade limit-order list # default nansen trade limit-order list --state active # only open nansen trade limit-order list --state past # filled or cancelled nansen trade limit-order list --mint <mintAddr> # filter by token nansen trade limit-order list --limit 50 --offset 0 --dir desc
Options: `--state active|past`, `--mint <addr>`, `--limit <n>` (default 20), `--offset <n>`, `--sort <field>`, `--dir asc|desc` (default `desc`), `--wallet <name>`.
nansen trade limit-order cancel --order <orderId>
Cancelling submits a withdrawal transaction; surface the tx signature from the CLI output so the user can verify on Solscan.
nansen trade limit-order update --order <orderId> --trigger-price 85 nansen trade limit-order update --order <orderId> --slippage-bps 100
Only `--trigger-price` and `--slippage-bps` can be updated. To change size or the token pair, cancel and re-create. Auto slippage can only be set at creation time (by omitting `--slippage-bps` from `create`); `update` cannot revert a fixed slippage back to auto.
`nansen-cli` does not currently place native limit orders on EVM chains. The supported approximation is:
1. Place the resting limit order on the venue or product that supports it
Built by agents, for agents. Command-line interface for the Nansen API, designed for AI agents to research on-chain data, manage wallets, and trade through nansen trade. Use it for both analytics and execution: nansen research ...
Routing guide -- when to use `nansen agent` (AI research) vs direct CLI data commands. Use when deciding how to answer a user's…
Set up a local webhook server to receive Nansen smart alerts in real-time with HMAC signature verification and public tunneling.…
What tokens are whales dollar-cost averaging into? Jupiter DCA strategies by smart money and target token fundamentals.
What DeFi positions does a wallet hold? Protocol-by-protocol breakdown of assets, debts, and rewards across chains.
Is smart money exiting a token I hold? Net flow direction, seller breakdown by label, and recent SM trades.
What are crypto funds and VCs holding right now? Cross-chain fund portfolios and net accumulation signals.