nansen-ai avatar

Nansen Wallet Keychain Migration

Handles the awkward transition from nansen-cli's old password storage (env files, .credentials) to the new keychain-backed system. You'll want this when users hit the "Password loaded from insecure .credentials file" warning or mention they stored credentials in ~/.nansen/.env. The skill walks through four migration paths depending on where the password currently lives, always verifying the keychain actually decrypts the wallet afterward with `nansen wallet export`. The verification step matters because `wallet show` doesn't touch the password at all, so it won't catch a botched migration. Main gotcha is that agents can't use interactive prompts, so everything routes through NANSEN_WALLET_PASSWORD env var or sourcing existing files in the same shell.

skills.sh installs
358
GitHub stars
148
last updated
Aug 21, 2026

Install

$ npx -y skills add nansen-ai/nansen-cli --skill nansen-wallet-keychain-migration --agent claude-code

Installs into .claude/skills of the current project.

Files

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 enabled in production within the documented platform scope.

Wallet Migration — Old Flow to Secure Keychain

Use this skill when a user already has a nansen-cli wallet set up with the old password storage method and wants to migrate to the new secure flow.

When to use

Sponsors

Details

Repository
github.com/nansen-ai/nansen-cli
Categories
CLI & Terminal, Web3 & Blockchain
First seen
Jun 3, 2026

More from nansen-ai/nansen-cli

All 37
1google-gemini avatarasync-pr-reviewgoogle-gemini/gemini-cliTrigger this skill when the user wants to start an asynchronous PR review, run background checks on a PR, or check the status of a previously started async PR r356skills.sh installs
2pproenca avatarvhspproenca/dot-skillsVHS terminal recording best practices from Charmbracelet (formerly charmbracelet-vhs). This skill should be used when writing, reviewing, or editing VHS tape fi331skills.sh installs
3customerio avatarciocustomerio/cliCustomer.io CLI - use for Customer.io, Journeys, CDP Pipelines, builder onboarding, sandbox testing, app integration, SDK setup, transactional messaging, billin319skills.sh installs
4steipete avatar1passwordsteipete/agent-scriptsSet up and use 1Password CLI (op, one-password). Use when installing the CLI, enabling desktop app integration, signing in, selecting Peter's multi-account setu303skills.sh installs
5mvanhorn avatarpp-agent-capturemvanhorn/printing-press-librarymacOS screen capture, window recording, GIF conversion, and agent evidence bundles from the terminal. Built on ScreenCaptureKit for window-level targeting ffmpe295skills.sh installs
6hyperpuncher avatarscraplinghyperpuncher/dotagentsCLI tool for web scraping - extract data from websites via terminal without programming. Powerful extract commands for HTTP requests and browser automation.276skills.sh installs