nansen-ai/nansen-cli

nansen-web-fetcher

Fetch and analyze content from one or more URLs using AI (Gemini 2.5 Flash).

소스 보기

사용 방법

  1. 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
  2. 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
  3. 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/nansen-ai/nansen-cli --skill nansen-web-fetcher

시작 전 확인

  • 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
  • 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 Skill 문서

원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.

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.

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.

FlagValuesDefaultPurpose
--urlURL—URL to fetch (repeatable for multiple URLs, up to 20)
--questionstringrequiredQuestion to answer about the URL content
--prettyflagoffHuman-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.

관련 작업

같은 저장소의 Skills

더 많은 Skills

모든 Skills