Skip to content
Finance
Skill

/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 research question with Nansen tools.

BOOST
From plugin
nansen-cli
13934 skills
Install
$ npx -y skills add nansen-ai/nansen-cli --skill nansen-agent-guide --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/nansen-agent-guide

Context preview

The summary Claude sees to decide when to auto-load this skill.

Routing guide -- when to use `nansen agent` (AI research) vs direct CLI data commands. Use when deciding how to answer a user's research question with Nansen tools.

SKILL.md

nansen-agent-guide.SKILL.md
name: nansen-agent-guide
description: Routing guide -- when to use `nansen agent` (AI research) vs direct CLI data commands. Use when deciding how to answer a user's research question with Nansen tools.
metadata:
  openclaw:
    requires:
      bins:
        - nansen
    primaryEnv: NANSEN_API_KEY
    install:
      - kind: node
        package: nansen-cli
        bins: [nansen]
allowed-tools: Bash(nansen:*)

Authentication

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).

Agent vs CLI Routing

Public agent fast/expert and direct API commands accept the selected nansen:api browser session or conventional API key under the same account permissions.

| Need a... | Use | |-----------|-----| | **take** (analysis, interpretation) | `nansen agent` | | **table** (raw data, specific metrics) | Direct CLI commands | | **report** (both) | Agent for narrative + CLI for data |

Use `nansen agent` when

  • Question requires interpretation or synthesis across multiple data sources
  • Open-ended research: "analyse this wallet", "what's happening with ETH smart money?"
nansen agent "What are top smart money tokens on Solana today and why?"
nansen agent "Analyse wallet 0x123... -- is this a smart trader?"
nansen agent "..." --expert   # deeper analysis, 750 credits

Cost: 200 credits (fast) / 750 credits (expert)

Use direct CLI commands when

  • You need specific structured data -- prices, volumes, holders, flows
  • Deterministic question: "top 10 tokens by netflow on ethereum"
  • Piping output or building a data table
nansen research token screener --chain ethereum --smart-money --limit 10
nansen research smart-money netflow --chain solana
nansen research profiler balance --address 0x123... --chain ethereum

Cost: 5-50 credits per call

Anti-patterns

  • Don't use `nansen agent` for simple data fetches -- 40x more expensive
  • Don't use raw CLI for open-ended analysis -- returns data, not interpretation
  • Don't chain 3+ agent calls -- get raw data via CLI, call agent once for synthesis

Browser session scope

Plain `nansen login` requests fresh browser approval; `--no-browser` prints the link/code for approval on another device and keeps the same native-storage requirements. NANSEN_API_KEY overrides the single saved credential. Use `nansen auth status` for offline cached/unverified selection details and `nansen account` for a free live check. Explicit `login --human` or `login --api-key` retains legacy key setup. Selected browser sessions renew automatically; uncertain renewal requires fresh login without replay or fallback to another account/payment.

Browser nansen:api grants have API-key-equivalent account permissions, subject to enabled admission and the same endpoint restrictions. Internal service identity and wallet signing are not granted. Browser sessions cannot authorize wallet signing or be exported as MCP keys. CLI 2.0.0 is published; the preview platform limits above still apply.

Product feedback

When a Nansen task exposes a useful product gap, draft a concise report without secrets or unnecessary conversation details. Before sending on your own, read the current account's saved feedback preference with `nansen feedback preferences --json`. Use a fresh read for each new report. If enabled, you may send without asking again, subject to the host's controls. If off, unset or unavailable, show the proposed report and ask the user. If they decline or you cannot ask, do not send.

If the preference read fails, ask first. An explicit user request or approval permits that report; it does not change the saved preference. Never enable the preference automatically or add approval fields to the report. Direct users to Superapp settings for a lasting choice. Host or local-deny controls still apply to an enabled preference and to one-report approval.

After the user requests the report or the preference permits it, submit with `nansen feedback submit --file feedback.json --submission-id <new-id> --json`. The command is noninteractive. Keep the same ID and unchanged report when recovering an uncertain result; use `nansen feedback get <feedback-id> --json` to read a saved receipt. Submission and receipt reads are free. The account shares seven accepted reports per UTC week, resetting Monday at 00:00 UTC.

New submissions may be paused before release or during an outage. A 503 with `reason: feedback_admissions_paused` means this attempt accepted no new report and used no weekly allowance. Tell the user feedback is unavailable and stop; do not keep retrying or ask for approval again in the same session. Preserve the ID and unchanged report for a later retry. If this CLI version lacks the feedback command, report that it is unavailable and stop. Accepted-ID replays and receipt reads remain available during a pause.

A 403 with `reason: feedback_not_enabled` means feedback is not enabled for this account. Stop automatic retries and tell the user. Approval and an enabled preference do not override rollout. Keep the saved ID and unchanged report. An earlier uncertain attempt remains uncertain; recover it with the same ID after availability is restored. Never swit

Read more
Ships withnansen-cli

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 ...

Get the whole plugin

Other skills on nansen-cli.