nansen-web-fetcher — Claude Code skill: URL analysis and install
Fetch pages from supplied URLs and ask Gemini 2.5 Flash about their contents. Use it to inspect a specific page or compare several sites.
npx skills add nansen-ai/nansen-cli --skill nansen-web-fetcher -a claude-codeWhat nansen-web-fetcher does
The skill runs nansen web fetch with one or more URLs and a required question. Its response contains an AI-generated analysis, successfully retrieved URLs, and URLs that failed. You can mix positional URLs with repeatable --url flags, up to 20 addresses.
You need the nansen CLI and authentication through NANSEN_API_KEY or a selected nansen:api browser session. The fetch uses Gemini 2.5 Flash with URL context. Requests have a 30-second timeout; paywalled pages and pages that block bots may fail to load. That matters when the target site restricts access.
Install the skill in Claude Code with the command below. The installed file is ~/.claude/skills/nansen-web-fetcher/SKILL.md.
What it helps with
- get an answer based on a specific webpage
- compare content across several URLs
- analyze pages found through web search
- identify URLs that could not be retrieved
Example prompts for the agent
- Read
https://example.comand explain what the page says about its products. - Compare
https://example.comwithhttps://other.comand describe how their offerings differ. - Review
https://docs.uniswap.org/contracts/v4/overviewand summarize the changes it describes.
How to install nansen-web-fetcher
1Skills CLI (Vercel)
npx skills add nansen-ai/nansen-cli --skill nansen-web-fetcher -a claude-code2Manually: put the files in place
~/.claude/skills/nansen-web-fetcher/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/nansen-web-fetcher/
1Skills CLI (Vercel)
npx skills add nansen-ai/nansen-cli --skill nansen-web-fetcher -a codex2Manually: put the files in place
.agents/skills/nansen-web-fetcher/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add nansen-ai/nansen-cli --skill nansen-web-fetcher -a cursor2Manually: put the files in place
.cursor/skills/nansen-web-fetcher/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install nansen-ai/nansen-cli nansen-web-fetcher2Manually: put the files in place
.github/skills/nansen-web-fetcher/SKILL.md1Skills CLI (Vercel)
npx skills add nansen-ai/nansen-cli --skill nansen-web-fetcher -a gemini-cli2Platform CLI
gemini skills install https://github.com/nansen-ai/nansen-cli --path skills/nansen-web-fetcherManually: put the files in place
.devin/skills/nansen-web-fetcher/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add nansen-ai/nansen-cli --skill nansen-web-fetcher -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about nansen-web-fetcher
How do I install nansen-web-fetcher in Claude Code?
Run npx skills add nansen-ai/nansen-cli --skill nansen-web-fetcher -a claude-code. The skill file is installed at ~/.claude/skills/nansen-web-fetcher/SKILL.md.
What does nansen-web-fetcher do?
It retrieves pages from supplied URLs and uses Gemini 2.5 Flash to answer a question about their content. The response also separates retrieved URLs from failed ones.
How many URLs can I fetch at once?
The command accepts up to 20 URLs. Repeat --url for multiple addresses, or combine those flags with positional URLs.
Source text
SKILL.md · MIT
---
name: nansen-web-fetcher
description: Fetch and analyze content from one or more URLs using AI (Gemini 2.5 Flash). Use when you have specific URLs and need to extract or summarize their content. Pairs well with `nansen web search` results.
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).
# Web Fetch
Fetch and analyze content from one or more URLs using Gemini 2.5 Flash with URL context.
```bash
nansen web fetch https://nansen.ai --question "What products does Nansen offer?"
nansen web fetch --url https://example.com --url https://other.com --question "Compare these two sites"
nansen web fetch https://docs.uniswap.org/contracts/v4/overview --question "What changed in v4?"
```
Positional args and `--url` flags can be combined — all become URLs to fetch.
| Flag | Values | Default | Purpose |
|------|--------|---------|---------|
| `--url` | URL | — | URL to fetch (repeatable for multiple URLs, up to 20) |
| `--question` | string | **required** | Question to answer about the URL content |
| `--pretty` | flag | off | Human-readable JSON |
Returns:
- `analysis` — AI-generated answer to your question
- `retrieved_urls` — URLs successfully fetched
- `failed_urls` — URLs that could not be retrieved
**Tip:** Combine with `web search` — search first to find relevant URLs, then fetch to get full content.
```bash
# Find and analyze in two steps
nansen web search "uniswap v4 launch" --num-results 3 --fields link
nansen web fetch https://blog.uniswap.org/... --question "What are the key changes?"
```
**Note:** 30s timeout. Paywalled or bot-blocked pages may appear in `failed_urls`.
© nansen-ai · MIT · nansen-ai/nansen-cli