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.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install auth0-token-vault - After installation, invoke the skill by name or use
/auth0-token-vault - Provide required inputs per the skill's parameter spec and get structured output
What is 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,... It is an AI Agent Skill for Claude Code / OpenClaw, with 160 downloads so far.
How do I install Auth0 Token Vault?
Run "/install auth0-token-vault" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Auth0 Token Vault free?
Yes, Auth0 Token Vault is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Auth0 Token Vault support?
Auth0 Token Vault is cross-platform and runs anywhere OpenClaw / Claude Code is available (darwin, linux).
Who created Auth0 Token Vault?
It is built and maintained by Deepu K Sasidharan (@deepu105); the current version is v0.4.0.