/cited:setupfrom Cited
Run a Cited scan on a domain from inside Claude Code and connect the account. Use when the user says "set up cited", "scan my brand with cited", "run a cited scan", "connect cited", "why is ChatGPT recommending my competitors", or when a Cited MCP tool returns an unauthorized error because no report token is configured.
Ships in Cited. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Cited scans what ChatGPT, Gemini, Perplexity and Claude actually cite when buyers ask about a category, then drafts the pitch or comment for each source it finds. This skill runs that scan end to end from the terminal and connects the account so the cited MCP tools work in every future session.
Everything below is plain REST against https://www.whoscited.com. Use curl.
cat ~/.cited/token 2>/dev/null
Also check whether the cited MCP tools are connected (if mcp__cited__get_visibility_report is callable, they are).
cited:today skill, or call get_visibility_report if they asked for standings.Ask both in one message. Keep it short:
Two things and I will run the scan: the domain you want scanned (like
yourbrand.com) and the email the report should go to.
Do not guess the domain from the repo. Do not proceed without an email, the report link is delivered there.
Tell them what it costs and how long it takes before you start: the first scan is free, no card, and the first sources land in under 10 minutes.
curl -s -X POST https://www.whoscited.com/api/scan \
-H 'Content-Type: application/json' \
-d '{"domain":"DOMAIN","email":"EMAIL","src":"plugin"}'
Response is {"slug":"...","token":"..."}. Sometimes token is absent (the domain already has an account owned by another email) or existing:true comes back. Handle it:
slug and token → normal. Save both in the conversation and write the token now:
mkdir -p ~/.cited && printf '%s' 'TOKEN' > ~/.cited/token && chmod 600 ~/.cited/token
slug but no token → someone already scanned that domain. Tell them the report exists and the personal link goes to the email on file, so they should check that inbox or use https://www.whoscited.com/login. Stop here.error → show it verbatim. The rate limit is 3 scans per IP per hour.curl -s https://www.whoscited.com/api/status/SLUG
Poll about every 10 seconds. Do not spin silently, report each state change in one line:
state | What to say |
|---|---|
profiling | Reading the site and working out the category and the competitors. |
prompts | Writing the buyer prompts. Show brand.name, brand.job_description and the competitors list as they appear. |
confirm | Stop polling. Go to Step 4. |
scanning | Report progress.step and the per-engine counters in progress.engines, for example chatgpt 14/29 · gemini 9/29. Update roughly every 30 seconds, not every poll. |
ready | Go to Step 5. |
failed | Tell them, and offer the retry: failed carries retry:"scan" or retry:"confirm". A confirm retry is the same POST as Step 4. |
At state: "confirm" the response carries prompts and prompt_groups. Show the user every prompt, grouped, numbered. These are the questions the four engines get asked, so this is the one decision that shapes the whole report.
Also show the competitor list. If they want it changed:
curl -s -X POST https://www.whoscited.com/api/competitors \
-H 'Content-Type: application/json' \
-d '{"slug":"SLUG","token":"TOKEN","competitors":["A","B","C"]}'
Between 1 and 12 names. Editing competitors rewrites the competitive prompts on confirm, so re-fetch status after and show the new list.
Then ask plainly: "run the scan on these?" On a yes:
curl -s -X POST https://www.whoscited.com/api/confirm \
-H 'Content-Type: application/json' \
-d '{"slug":"SLUG","token":"TOKEN"}'
Returns {"started":true}. Go back to Step 3 and keep polling until ready. This leg is the long one, four engines with live web search against every prompt. Say so, and tell them it usually finishes in a few minutes.
The token is the MCP key. A tool call cannot fill the plugin's config prompt, so the user does this one step. Give them both routes and let them pick:
/plugin, open Cited, choose Configure, and paste the token into report_token.claude plugin install cited@cited --config report_token="TOKEN" reinstalls with the value already set.Either way the token is a secret: it goes in the config prompt, never into a file the repo tracks. It is also saved at ~/.cited/token and it is the token= in their dashboard link.
Give them the dashboard link too: https://www.whoscited.com/r/SLUG?token=TOKEN
After they set it, the MCP server reconnects and mcp__cited__* tools work. Verify with get_visibility_report.
Call get_visibility_report. Summarize in this order, no preamble:
Then call get_todays_move. Two outcomes:
cited:today skill)./api/scan for a domain that already has a project. Scans cost real money per run.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub rdoyle99/cited-plugin --plugin cited2 skills in this plugin