Auth0 Token Vault
/install auth0-token-vault
Auth0 Token Vault CLI
Use the auth0-tv command-line tool to access third-party services on behalf of
authenticated users via Auth0 Token Vault.
Current status
- Auth status: !
auth0-tv --json status 2>/dev/null || echo '{"error":{"code":"not_configured","message":"auth0-tv not configured or not logged in"}}'
When to use this skill
- The user asks to read, search, send, reply, forward, archive, or delete emails
- The user wants to manage email drafts or labels
- The user wants to connect or disconnect a third-party service (Gmail, etc.)
- The user asks about their authentication or connection status
Key patterns
Always use --json mode
All commands must use --json for structured output:
auth0-tv --json \x3Ccommand>
Alternatively, set AUTH0_TV_OUTPUT=json in the environment to avoid passing --json on every call.
Destructive actions require --confirm
Commands that modify data (send, delete, archive, forward, reply, draft send, draft delete) require --confirm:
auth0-tv --json --confirm gmail send --to [email protected] --subject "Subject" --body "Body"
Exit codes and recovery
| Code | Meaning | Recovery action |
|---|---|---|
| 0 | Success | Parse JSON output |
| 1 | General error | Report error to user |
| 2 | Invalid input | Check command syntax and required flags |
| 3 | Auth required | Tell the user to run auth0-tv login |
| 4 | Connection required | Tell the user to run auth0-tv connect \x3Cservice> |
| 5 | Service error | Retry or report upstream API failure |
| 6 | Network error | Check connectivity, retry |
Important: Exit codes 3 and 4 require human intervention — login and connect open a browser for OAuth. Do not attempt to run these commands autonomously; instead, tell the user what to run.
Body input for email composition
For send, reply, and draft create, the message body can be provided via:
--body "inline text"— short messages--body-file ./message.txt— longer messages from a file- stdin:
echo "body" | auth0-tv --json --confirm gmail send --to ... --subject ...
Prefer --body-file or stdin for messages containing special characters.
Available commands
Authentication & setup
auth0-tv login— authenticate via browser (human-in-the-loop)auth0-tv logout— clear stored credentialsauth0-tv status— show current user and connected servicesauth0-tv connect \x3Cservice>— connect a service via browser (human-in-the-loop)auth0-tv disconnect \x3Cservice>— disconnect a serviceauth0-tv connections— list connected services
Gmail
auth0-tv gmail search \x3Cquery>— search messages (supports Gmail search syntax)auth0-tv gmail read \x3CmessageId>— read a messageauth0-tv gmail send— send a new message (destructive)auth0-tv gmail reply \x3CmessageId>— reply to a message (destructive)auth0-tv gmail forward \x3CmessageId>— forward a message (destructive)auth0-tv gmail archive \x3CmessageId>— archive a message (destructive)auth0-tv gmail delete \x3CmessageId>— move to trash (destructive)auth0-tv gmail labels— list labelsauth0-tv gmail label \x3CmessageId>— add/remove labelsauth0-tv gmail draft create— create a draftauth0-tv gmail draft list— list draftsauth0-tv gmail draft send \x3CdraftId>— send a draft (destructive)auth0-tv gmail draft delete \x3CdraftId>— delete a draft (destructive)
See references/commands.md for full command reference with flags and JSON output examples.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install auth0-token-vault - 安装完成后,直接呼叫该 Skill 的名称或使用
/auth0-token-vault触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Auth0 Token Vault 是什么?
Access third-party services (Gmail, Slack, Google Calendar) on behalf of authenticated users via Auth0 Token Vault. Use when the user wants to search, read,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 160 次。
如何安装 Auth0 Token Vault?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install auth0-token-vault」即可一键安装,无需额外配置。
Auth0 Token Vault 是免费的吗?
是的,Auth0 Token Vault 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Auth0 Token Vault 支持哪些平台?
Auth0 Token Vault 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux)。
谁开发了 Auth0 Token Vault?
由 Deepu K Sasidharan(@deepu105)开发并维护,当前版本 v0.4.0。