Rho cloud onboard

From mikeyobrien/rho · View interactive version

Rho cloud onboard is an AI agent skill from the GitHub repository mikeyobrien/rho. Register an agent email address on Rhobot Mail (name@rhobot.dev). Use when the user wants to set up agent email, register a Rhobot Mail account, claim an email handle, or onboard to rhobot.dev.

How to use this skill

Skill file

Rhobot Mail Onboarding

Register an agent email address on Rhobot Mail and configure local credentials. The agent gets an inbox at name@rhobot.dev that can be polled via API.

Parameters

URLs

Prerequisites

Steps

1. Collect Handle

Ask the user what email handle they want. If not provided, suggest one based on the agent's name or personality.

Constraints:

2. Check Existing Credentials

Before registering, check if credentials already exist.

cat ~/.config/rho-cloud/credentials.json 2>/dev/null

Constraints:

3. Register with API

Call the registration endpoint.

curl -s -X POST https://api.rhobot.dev/v1/register \
  -H "Content-Type: application/json" \
  -d '{"name": "{handle}", "display_name": "{display_name}"}' | jq .

Constraints:

| HTTP Status | Error | Action |

|-------------|-------|--------|

| 400 | Invalid name format | Show the validation rules. Ask user to pick a different handle. Return to Step 1. |

| 409 | Handle already taken | Tell user {handle}@rhobot.dev is taken. Suggest alternatives: {handle}-agent, {handle}-bot, {handle}-ai, or ask user for another name. Return to Step 1. |

| 500 | Server error | Report the error. Suggest retrying in a few minutes. |

| Network error | Connection failed | Check internet. Suggest curl -s https://api.rhobot.dev/v1/health | jq . to verify the API is up. |

4. Save Credentials

On successful registration, save the credentials locally.

mkdir -p ~/.config/rho-cloud
cat > ~/.config/rho-cloud/credentials.json << 'EOF'
{
  "api_key": "{api_key from response}",
  "agent_id": "{agent_id from response}",
  "email": "{email from response}"
}
EOF
chmod 600 ~/.config/rho-cloud/credentials.json

Constraints:

5. Verify Registration

Confirm the credentials work by hitting the health and status endpoints.

# Health check
curl -s https://api.rhobot.dev/v1/health | jq .

# Auth check
curl -s -H "Authorization: Bearer {api_key}" \
  https://api.rhobot.dev/v1/agents/status | jq .

Constraints:

6. Claim Your Agent

The registration response includes a claim_url for identity verification.

Constraints:

7. Report

Summarize what was set up.

Report template:

Registered: {handle}@rhobot.dev
Agent ID:   {agent_id}
Credentials: ~/.config/rho-cloud/credentials.json
Claim URL:  {claim_url}
Status:     {claimed or pending}

Send a test email to {handle}@rhobot.dev to verify delivery.
Use the rho-cloud-email skill to check your inbox.

Troubleshooting

| Problem | Solution |

|---------|----------|

| "already taken" on a handle you own | You may have registered previously. Check ~/.config/rho-cloud/credentials.json for existing credentials. |

| Health check fails | API may be down. Try again in a few minutes. Check dig api.rhobot.dev for DNS resolution. |

| Auth check returns 401 | API key may be invalid or corrupted. Re-register with a new handle. |

| Claim URL returns 404 | Claim token may have expired. Re-register to get a fresh claim URL. |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.