authenticate-wallet by coinbase/agentic-wallet-skills
npx skills add https://github.com/coinbase/agentic-wallet-skills --skill authenticate-wallet当钱包未登录时(可通过 npx awal status 检测到,或当钱包操作因身份验证错误而失败时),请使用 npx awal CLI 进行身份验证。
如果您可以访问电子邮件,您可以自行验证钱包;否则,您需要请求您的操作员提供一个电子邮件地址,并告知您他们收到的 OTP 验证码。
身份验证采用两步电子邮件 OTP 流程:
npx awal@2.0.3 auth login <email>
此命令会向指定电子邮件发送一个 6 位验证码,并输出一个 flowId。
npx awal@2.0.3 auth verify <flowId> <otp>
使用步骤 1 中获得的 flowId 和用户电子邮件中的 6 位验证码来完成身份验证。如果您有能力访问用户的电子邮件,您可以读取 OTP 验证码,或者您可以向您的操作员索要验证码。
在构建命令之前,请验证所有用户提供的值,以防止 Shell 注入攻击:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
^[^\s;|&]+$^[a-zA-Z0-9_-]+$)。^\d{6}$)。请勿将未经验证的用户输入传递给命令。
npx awal@2.0.3 status
显示钱包服务器运行状况和身份验证状态,包括钱包地址。
# 检查当前状态
npx awal@2.0.3 status
# 开始登录(向电子邮件发送 OTP)
npx awal@2.0.3 auth login user@example.com
# 输出:flowId: abc123...
# 用户收到验证码后,进行验证
npx awal@2.0.3 auth verify abc123 123456
# 确认身份验证
npx awal@2.0.3 status
| 命令 | 用途 |
|---|---|
npx awal@2.0.3 status | 检查服务器运行状况和身份验证状态 |
npx awal@2.0.3 auth login <email> | 向电子邮件发送 OTP 验证码,返回 flowId |
npx awal@2.0.3 auth verify <flowId> <otp> | 使用 OTP 验证码完成身份验证 |
npx awal@2.0.3 balance | 获取 USDC 钱包余额 |
npx awal@2.0.3 address | 获取钱包地址 |
npx awal@2.0.3 show | 打开钱包伴侣窗口 |
所有命令都支持 --json 参数以获取机器可读的输出:
npx awal@2.0.3 status --json
npx awal@2.0.3 auth login user@example.com --json
npx awal@2.0.3 auth verify <flowId> <otp> --json
每周安装量
968
代码仓库
GitHub 星标数
86
首次出现
2026年2月10日
安全审计
安装于
codex710
opencode710
gemini-cli681
github-copilot655
kimi-cli629
openclaw626
When the wallet is not signed in (detected via npx awal status or when wallet operations fail with authentication errors), use the npx awal CLI to authenticate.
If you have access to email, you can authenticate the wallet yourself, otherwise you'll need to ask your human to give you an email address and to tell you the OTP code they receive.
Authentication uses a two-step email OTP process:
npx awal@2.0.3 auth login <email>
This sends a 6-digit verification code to the email and outputs a flowId.
npx awal@2.0.3 auth verify <flowId> <otp>
Use the flowId from step 1 and the 6-digit code from the user's email to complete authentication. If you have the ability to access the user's email, you can read the OTP code, or you can ask your human for the code.
Before constructing the command, validate all user-provided values to prevent shell injection:
^[^\s;|&]+@[^\s;|&]+$). Reject if it contains spaces, semicolons, pipes, backticks, or other shell metacharacters.^[a-zA-Z0-9_-]+$).^\d{6}$).Do not pass unvalidated user input into the command.
npx awal@2.0.3 status
Displays wallet server health and authentication status including wallet address.
# Check current status
npx awal@2.0.3 status
# Start login (sends OTP to email)
npx awal@2.0.3 auth login user@example.com
# Output: flowId: abc123...
# After user receives code, verify
npx awal@2.0.3 auth verify abc123 123456
# Confirm authentication
npx awal@2.0.3 status
| Command | Purpose |
|---|---|
npx awal@2.0.3 status | Check server health and auth status |
npx awal@2.0.3 auth login <email> | Send OTP code to email, returns flowId |
npx awal@2.0.3 auth verify <flowId> <otp> | Complete authentication with OTP code |
npx awal@2.0.3 balance | Get USDC wallet balance |
npx awal@2.0.3 address | Get wallet address |
npx awal@2.0.3 show |
All commands support --json for machine-readable output:
npx awal@2.0.3 status --json
npx awal@2.0.3 auth login user@example.com --json
npx awal@2.0.3 auth verify <flowId> <otp> --json
Weekly Installs
968
Repository
GitHub Stars
86
First Seen
Feb 10, 2026
Security Audits
Gen Agent Trust HubWarnSocketPassSnykFail
Installed on
codex710
opencode710
gemini-cli681
github-copilot655
kimi-cli629
openclaw626
Grimoire CLI 使用指南:区块链法术编写、验证与执行全流程
940 周安装
Grimoire Uniswap 技能:查询 Uniswap 元数据与生成代币/资金池快照的 CLI 工具
940 周安装
Grimoire Aave 技能:查询 Aave V3 元数据和储备快照的 CLI 工具
941 周安装
Railway CLI 部署指南:使用 railway up 命令快速部署代码到 Railway 平台
942 周安装
n8n Python 代码节点使用指南:在自动化工作流中编写 Python 脚本
943 周安装
Flutter Platform Views 实现指南:Android/iOS/macOS原生视图与Web嵌入教程
943 周安装
| Open the wallet companion window |