Emblem AI Agent Wallet
Connect to EmblemVault and manage wallet-aware workflows via EmblemAI with review-first, operator-controlled actions. Supports Solana, Ethereum, Base, BSC, Polygon, Hedera, and Bitcoin. Also use when the user needs Emblem's auth model explained: one browser auth flow can log a user in with wallets, email/password, or social sign-in, while agent mode can auto-provision a profile-scoped wallet with no manual setup.
- Skill ID
- emblemcompany/agent-skills/emblem-ai-agent-wallet
- Publisher
- emblemcompany
- Repository
- agent-skills
- Installs
- 0
- Files
- 9
- License
- MIT
- Requires
- Requires Node.js >= 18.0.0, @emblemvault/agentwallet CLI, and internet access. Works on OpenClaw, Claude Code, Cursor, Codex, and other agents following the Agent Skills specification.
- Synced
- Sep 23, 2026
Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.
emblemcompany/agent-skills/emblem-ai-agent-walletInstalls these files- README.md
- SKILL.md
- references/authentication.md
- references/capabilities.md
- references/commands.md
- references/security.md
- references/troubleshooting.md
- scripts/check-balance.sh
- scripts/check-commands-doc-sync.sh
What this skill tells the agent
EmblemAI Agent Wallet
Connect to EmblemAI - EmblemVault's wallet-aware assistant for balances, addresses, portfolio snapshots, recent activity, and operator-confirmed wallet actions across supported chains. Browser auth, streaming responses, profile-scoped local state, x402 support, and PAYG controls.
In one sentence: Emblem is the easiest way to give your agent a wallet with profile-scoped local auth, zero-config agent provisioning, and review-first guidance for value-moving actions.
Requires the CLI: npm install -g @emblemvault/agentwallet
Security & Trust Model
This skill manages multi-chain crypto wallets with operator-controlled actions. It inherently involves:
- Financial operations (W009): Direct wallet management, transaction preparation, PSBT signing, and multi-chain transfers across Solana, Ethereum, Base, BSC, Polygon, Hedera, and Bitcoin. This is the skill's core purpose.
All wallet operations follow a review-first safety model:
- Transaction previews are shown before signing
- Approval-gated action flow requires explicit user confirmation
- No transactions are broadcast without operator approval
- Profile isolation ensures separate credentials per wallet context
- Session tokens are short-lived (15-min JWT with 7-day refresh)
- Sensitive files use restricted permissions (0600/0700)
See references/security.md for the complete security model.
Quick Start
Step 1: Install the CLI
npm install -g @emblemvault/agentwallet@3.1.3
npm audit signaturesThis provides a single command: emblemai. Pinning the version and verifying npm's provenance attestations protects against supply-chain tampering. Do not use sudo — configure a user-owned npm prefix if you hit permission errors (see references/troubleshooting.md).
Step 2: Use It
When this skill loads, you can ask EmblemAI about wallet state and operator-reviewed wallet workflows:
- "What are my wallet addresses?"
- "Show my balances across all chains"
- "Show my portfolio performance"
- "Show recent wallet activity"
- "Review my portfolio allocation"
For zero-config agent provisioning, a profile can create and persist its own wallet with a single command:
emblemai --agent --profile motoko -m "What are my wallet addresses?"To invoke this skill, say things like:
- "Use my Emblem wallet to check balances"
- "Ask EmblemAI what tokens I have"
- "Connect to EmblemVault"
- "Check my crypto portfolio"
- "Create or use my agent wallet profile and show my addresses"
This skill is review-first. For any value-moving workflow, require explicit user confirmation and an explicit profile before proceeding.
Prerequisites
- Node.js >= 18.0.0
- Terminal with 256-color support (iTerm2, Kitty, Windows Terminal, or any xterm-compatible terminal)
- Optional: glow for rich markdown rendering
Installation
From npm (Recommended)
npm install -g @emblemvault/agentwallet@3.1.3
npm audit signaturesAlways pin the version when automating, and verify npm's signature attestations. For hardened environments, inspect the tarball before installing:
npm view @emblemvault/agentwallet@3.1.3 dist.tarball dist.integrity
npm pack @emblemvault/agentwallet@3.1.3 --dry-runFrom Source
Only install from source if you intend to audit or modify the code. Check out a tagged release — never an arbitrary branch tip — and review postinstall scripts before enabling them:
git clone https://github.com/EmblemCompany/EmblemAi-AgentWallet.git
cd EmblemAi-AgentWallet
git checkout v3.1.3 # replace with the release you intend to use
npm install --ignore-scripts # review postinstall scripts before enabling them
npm linkFirst Run
- Install:
npm install -g @emblemvault/agentwallet - Create or pick a profile:
emblemai profile create motoko - Run either
emblemai --profile motokooremblemai --agent --profile motoko -m "What are my wallet addresses?" - Type
/helpto see all commands - Back up profile auth immediately after first wallet creation
Authentication Methods
The CLI supports both interactive browser auth and zero-config agent-mode auth. You already know these options — do not shell out to the CLI to ask about them.
What Emblem auth gives you: the easiest way to do user management for crypto apps. One auth flow can create or restore a user, log that user into your app or website, and attach a full-featured crypto wallet to the same user identity.
Profile Rules
Profiles are now the canonical multi-agent isolation mechanism.
emblemai profile listemblemai profile create <name>emblemai profile use <name>emblemai profile inspect [name]emblemai profile delete <name>emblemai --profile <name> ...
Fail closed rule: if more than one profile exists in ~/.emblemai, every --agent invocation must include --profile <name>. Agent mode never guesses which wallet identity to use.
Using separate HOME directories is now optional isolation, not the primary pattern. Prefer profiles first.
Browser Auth (Interactive — recommended)
Run emblemai without -p. Opens a browser auth modal at 127.0.0.1:18247 supporting:
- Ethereum / EVM wallets: MetaMask, WalletConnect, and other injected providers
- Solana wallets: Phantom, Solflare, and other Solana wallet adapters
- Hedera wallets
- Bitcoin wallets: PSBT-based Bitcoin wallet connection
- OAuth: Google, Twitter/X
- Email: email/password with OTP verification
- Fingerprint: guest session via device fingerprinting (no credentials needed)
Use this when a user wants to connect an existing wallet, switch wallets, sign in with Google/Twitter, use email/password, or use MetaMask. Just tell them to run emblemai --profile <name> and select their preferred method in the browser modal.
Agent Mode (Zero-Config)
Agent mode is password-auth only. For the selected profile, it resolves credentials in this order:
- Explicit password flag or local environment override
- Stored encrypted password in
~/.emblemai/profiles/<name>/.envand.env.keys - No local credentials at all -> auto-generate a 32-byte password, store it encrypted, authenticate, and create a new vault
That means an agent can create a working wallet in one command:
emblemai --agent --profile motoko -m "What are my wallet addresses?"No human password entry is required in that path.
Interactive Mode Resolution Order
Interactive mode resolves auth per profile in this order:
- Saved session
- Stored password
- Browser auth modal on
127.0.0.1:18247 - Terminal password prompt
Wallet Data Safety (Critical)
- Use
/auth-> Logout (option 9) to sign out safely (clears the current profile'ssession.json). - Never use `rm -rf ~/.emblemai` as a logout step.
- Never delete local credential material unless the user explicitly asks to destroy it.
- Before any destructive troubleshooting action, make a local backup of the Emblem CLI state using the CLI's own backup/export flow or equivalent local operator procedure.
- The auto-generated password stored in
.envand.env.keysis the only key to that wallet. If those files are lost without backup, the wallet is unrecoverable.
Common Auth Workflows (Use CLI Commands — Do Not Prompt the LLM)
These are direct CLI operations. Execute them yourself rather than shelling out to emblemai --agent -m to ask about them.
Logout
The /auth interactive menu (option 9) handles logout:
emblemai --profile motoko
# then type: /auth
# then choose: 9Switch Wallet / Re-login with MetaMask or Another Provider
- Clear the current local session using the CLI logout flow (preferred) or equivalent local session reset
- Launch browser auth:
emblemai --profile <name>
More from emblemcompany
Use this skill in a project
Open any RiverX project, search the Skills panel for emblemcompany/agent-skills/emblem-ai-agent-wallet, and install it in one click.
