跳至主要内容
小龙虾小龙虾AI
🤖

Ravi identity

Check Ravi auth status and get your agent identity (email, phone, owner name). Do NOT use for reading messages (use ravi-inbox), sending email (use ravi-emai...

下载157
星标0
版本1.7.0
效率工具
安全通过
💬Prompt

技能说明


name: ravi-identity description: Check Ravi auth status and get your agent identity (email, phone, owner name). Do NOT use for reading messages (use ravi-inbox), sending email (use ravi-email-send), or credentials (use ravi-passwords or ravi-secrets).

Ravi Identity

You have access to ravi, a CLI that gives you your own phone number, email address, and secret store.

Prerequisites

Install the CLI

If ravi is not installed, tell the user to install it:

brew install ravi-hq/tap/ravi

Check authentication

Verify you're authenticated before using any command:

ravi auth status --json

If "authenticated": false, tell the user to run ravi auth login (requires browser interaction — you cannot do this yourself).

Your Identity

# Your email address (use this for signups)
ravi get email --json
# → {"id": 1, "email": "janedoe@example.com", "created_dt": "..."}

# Your phone number (use this for SMS verification)
ravi get phone --json
# → {"id": 1, "phone_number": "+15551234567", "provider": "twilio", "created_dt": "..."}

# The human who owns this account
ravi get owner --json
# → {"first_name": "Jane", "last_name": "Doe"}

Switching Identities

Ravi supports multiple identities. Each identity has its own email, phone, and secrets.

Listing identities

ravi identity list --json

Setting an identity for this project

Use this when the user wants a different identity for a specific project:

  1. List identities: ravi identity list --json
  2. Set for this project (per-directory override):
    # Recommended: use the CLI (handles bound tokens automatically)
    ravi identity use "<uuid>"
    
    # Manual fallback (identity only, no bound tokens):
    mkdir -p .ravi && echo '{"identity_uuid":"<uuid>","identity_name":"<name>"}' > .ravi/config.json
    
    • Add .ravi/ to .gitignore

All ravi commands in this directory will use the specified identity.

Switching identity globally

ravi identity use "<uuid>"

Creating a new identity

Only create a new identity when the user explicitly asks for one (e.g., for a separate project that needs its own email/phone). New identities require a paid plan and take a moment to provision.

# Auto-generated email address
ravi identity create --name "Project Name" --json

# Custom email local part (e.g. "shopping" → shopping@<your-domain>)
ravi identity create --name "Shopping Agent" --email "shopping" --json

Custom email rules: 3–30 chars, lowercase alphanumeric + dots + hyphens, must start/end with letter or number, no consecutive dots (..) or hyphens (--). Returns HTTP 409 if the email address is already taken.

Important Notes

  • Always use --json — all commands support it. Human-readable output is not designed for parsing.
  • Auth is automatic — token refresh happens transparently. If you get auth errors, ask the user to re-login.
  • Identity resolution.ravi/config.json in CWD takes priority over ~/.ravi/config.json.
  • Identities are permanent — each identity has its own email, phone, and secrets. Don't create new identities unless the user asks for it.

Related Skills

  • ravi-inbox — Read SMS and email messages
  • ravi-email-send — Compose, reply, forward emails
  • ravi-email-writing — Write professional emails with proper formatting and tone
  • ravi-contacts — Look up or manage contacts associated with this identity
  • ravi-passwords — Store and retrieve website credentials (domain + username + password)
  • ravi-secrets — Store and retrieve key-value secrets (API keys, env vars)
  • ravi-login — Sign up for and log into services, handle 2FA/OTPs
  • ravi-feedback — Send feedback, report bugs, request features

如何使用「Ravi identity」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Ravi identity」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能