agentleFS
jonny-1812jonny-1812/corebee-mcp-skills/skills/agent-signup/SKILL.md

agent-signup

Skill0 starsChanged 6 months agoMITView on GitHub

Create a brand-new Corebee account from the terminal — no dashboard, no browser login. Use when the user does NOT have a Corebee account yet and wants to set up AI customer support, start the free trial, get a chat/support widget, or asks to "set up Corebee for my product/site/company". One email approval, then you receive a scoped API key, their org, and a ready-to-paste widget snippet. If the Corebee MCP server asks you to authenticate and the user has no account, run THIS instead of sending them to a browser login.

  • Sends data out

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create a brand-new Corebee account for a user who does not have one yet, entirely from the terminal.

    line 11
  2. Distinctive:

    If the user already has a Corebee account, this flow returns a dashboard link instead of a key (see step 7).

    line 13
  3. Very specific:

    Keep poll_token secret — never print or reveal it to anyone.

    line 39
  4. Distinctive:

    Never ask the user to paste the email's token, and never tell them to approve before the pairing phrases match.

    line 57

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Sign Up for Corebee (agent-native, zero-UI)

Create a brand-new Corebee account for a user who does not have one yet, entirely from the terminal. The only human step is approving one email. Do not send a no-account user to a browser login — run this flow.

If the user already has a Corebee account, this flow returns a dashboard link instead of a key (see step 7); for ongoing use they connect the MCP normally.

Process

  1. Collect — ask the user for their email, company name, and website URL (a full https://… URL). Do not guess these.
  2. Start signup — POST https://corebee.ai/api/auth/agent-signup with JSON:
    {
      "email": "<email>",
      "company_name": "<company>",
      "website_url": "<https url>",
      "attribution": { "utm_source": "claude-code-plugin", "utm_medium": "agent", "utm_campaign": "plugin-signup" }
    }
    Example:
    curl -s -X POST https://corebee.ai/api/auth/agent-signup \
      -H "Content-Type: application/json" \
      -d '{"email":"...","company_name":"...","website_url":"https://...","attribution":{"utm_source":"claude-code-plugin","utm_medium":"agent","utm_campaign":"plugin-signup"}}'
    The response contains pairing_phrase, poll_url, poll_token, and poll_interval_s.
  3. Human checkpoint (anti-phishing) — show the user the pairing_phrase and tell them:

    Check your inbox for "Approve your Corebee terminal signup" and approve it only if the email shows the pairing phrase <pairing_phrase>. That phrase proves the email belongs to this request.

    Keep poll_token secret — never print or reveal it to anyone.

  4. Poll — GET the poll_url every poll_interval_s seconds (default 5) until status is approved or existing_account. The signup expires in ~15 minutes; if it lapses, start over.
  5. On approved (delivered exactly once) you receive:

    • api_key — a scoped key (prefix ek_live_, valid 24h). Use it as Authorization: Bearer <api_key> for both the Corebee MCP tools and the REST v1 API.
    • org_id, org_name
    • embed_snippet — the chat-widget install <script>
    • website_token, knowledge_source_id, mcp_endpoint, scopes, next_steps

    Immediately show the user the embed_snippet and tell them to paste it into their site's HTML just before </body>. Don't wait for the docs crawl.

  6. Finish setup (recommended) — follow next_steps. Typically: the docs crawl already started, so poll the MCP tool get_knowledge_source (with the new key) until status=completed; then brand the widget with configure_widget_appearance. Every Corebee MCP tool and REST endpoint accepts the api_key as a Bearer token, so the rest of this plugin's skills work immediately.
  7. If status is existing_account — the email already has a Corebee account, so no key is issued (by design). Give the user the returned dashboard_url and tell them to sign in and create a long-lived API key from Settings → MCP.

Notes

  • The signup key is short-lived (24h) — it is an onboarding key. For ongoing use the user creates a long-lived key in the dashboard (Settings → MCP) or connects the MCP via OAuth.
  • Never ask the user to paste the email's token, and never tell them to approve before the pairing phrases match.
  • This uses only the public signup endpoint — no existing account or credentials are required to run it.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.