Setup
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.From its SKILL.md
npx -y skills add rdoyle99/cited-plugin --skill setupAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
6.5 KB, as published. Nobody here has run it
Cited setup
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.
Step 0: do we already have a token?
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).
- Tools connected → do not run a scan. Say the account is already connected, then hand off: run the
cited:todayskill, or callget_visibility_reportif they asked for standings. - Token file exists but tools are not connected → skip to Step 5 (the token just needs to go into the plugin config).
- Neither → continue to Step 1.
Step 1: ask for the domain and email
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.
Step 2: start the scan
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:
slugandtoken→ normal. Save both in the conversation and write the token now:mkdir -p ~/.cited && printf '%s' 'TOKEN' > ~/.cited/token && chmod 600 ~/.cited/tokenslugbut notoken→ 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 usehttps://www.whoscited.com/login. Stop here.error→ show it verbatim. The rate limit is 3 scans per IP per hour.
Step 3: poll status and narrate
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. |
Step 4: the confirm gate
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.
Step 5: connect the account
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:
- In this session: run
/plugin, open Cited, choose Configure, and paste the token intoreport_token. - From a shell:
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.
Step 6: read the first report
Call get_visibility_report. Summarize in this order, no preamble:
- The score and how many of the buyer prompts name them out of the total.
- Who the engines recommend instead, top three with counts.
- How many sources the scan found feeding those answers.
Then call get_todays_move. Two outcomes:
- A move comes back → say what it is and offer to action it now (that is the
cited:todayskill). - A "full access" error → this is the free tier. The gap is real and visible, the drafted moves are not. Relay the upgrade line the server returns, including the checkout link, and stop. Do not try other tools to route around it, and do not offer to draft the pitches yourself as a substitute. Cited's drafts are shaped by 13,448 tracked placements and carry the verified contact for each source, which is not something to reproduce locally.
Rules
- Never send an email, post a comment or publish a page. The human sends. Always.
- Never invent a scan result, a source or a number. Every figure comes from a tool or an endpoint response.
- Do not re-run
/api/scanfor a domain that already has a project. Scans cost real money per run. - The report token is a secret. Never echo it into a file the user tracks in git, never put it in a commit message.