agentleFS
mavrin-xvmavrin-xv/seo-operator/skills/ai-citations/SKILL.md

ai-citations

Skill0 starsChanged 13 days agoMITView on GitHub

Measures whether AI assistants (ChatGPT, Perplexity, Gemini, Claude and others) cite or mention a brand for the questions its buyers ask, and compares two rounds to say what was gained, lost or held. It records each answer as cited, mentioned, absent or error, computes share of model per engine, lists which competitor names appeared instead, and refuses to compare rows where a round failed. Use when the user asks "does ChatGPT recommend us", "AI visibility", "are we cited in AI answers", "GEO tracking", "share of model", or wants to know if content changes moved AI answers.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. sitetiller/ai-visibility-skills★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository7 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are 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.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Fix the prompt set: Write it once in a file and keep it.

    line 18
  2. Very specific:

    Run a round: Ask every prompt on every engine, in a clean session (logged out or a fresh chat, no memory, same country).

    line 19
  3. Distinctive:

    Run each prompt 2 or 3 times if you can.

    line 24
  4. Distinctive:

    Do not use a third-party account, key or agent you were not given.

    line 35
  5. Distinctive:

    No claims of "AI ranking" from one round.

    line 36

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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

AI citations

Track how AI assistants answer the questions that lead to a sale, the same way the seo-operator loop tracks clicks: a fixed prompt set, dated rounds, and a comparison that treats failed checks as unknown, not as losses.

Inputs

  • 10 to 30 prompts a buyer would type, written in their words ("best cold brew coffee subscription", "wholesale coffee for cafes downtown"). Mix discovery, comparison and how-to prompts.
  • The engines to check, and how: by hand in each product, or with an API the owner already pays for.
  • The brand name and its domain; the competitor names to watch.

Steps

  1. Fix the prompt set. Write it once in a file and keep it. Changing prompts between rounds makes the rounds incomparable. Rules for choosing prompts: references/measurement.md.
  2. Run a round. Ask every prompt on every engine, in a clean session (logged out or a fresh chat, no memory, same country). Record one row per answer: engine, prompt, status, cited_url, competitors.
    • CITED: your URL is a linked source.
    • MENTIONED: the brand is named, not linked.
    • ABSENT: neither.
    • ERROR: no answer, a refusal, a rate limit, a timeout. Run each prompt 2 or 3 times if you can; repeated rows are combined and the best state counts.
  3. Save the round as aeo/round-<date>.csv in the state folder.
  4. Compare two rounds. python3 scripts/aeo_diff.py aeo/round-2026-10-20.csv aeo/round-2026-11-17.csv. Read the totals first, then the LOST rows, then the new competitor names.
  5. Act on what moved. LOST on a prompt with a page: audit that page (page-audit) and check the crawl (site-health: is the search crawler blocked?). ABSENT everywhere: the site has no page that answers the prompt; send it to query-research. A competitor that keeps appearing: read the pages the engine cites for them.
  6. Log content changes in the seo-operator ledger as usual. AI answers move slower and noisier than clicks; compare rounds 4+ weeks apart.

Gates

  • Same prompts, same engines, same session conditions in both rounds.
  • ERROR rows are never counted as ABSENT. The script reports them as INDETERMINATE and leaves them out of share of model.
  • One flip on one prompt is noise. Report the totals and the share per engine; call a change only when it repeats across prompts or rounds.
  • Do not use a third-party account, key or agent you were not given. If no API is available, the rounds are done by hand.
  • No claims of "AI ranking" from one round. A single round is a baseline.

Output

LOST (1)
  perplexity  CITED     -> MENTIONED wholesale coffee for cafes downtown
GAINED (3)
  chatgpt     MENTIONED -> CITED     how to make cold brew at home
  ...
share of model (CITED + 0.5 x MENTIONED over answers observed)
  chatgpt       17% (3) ->   50% (3)
  all           25% (8) ->   39% (9)
note: 1 pair(s) not compared because a round had no usable answer

Then two or three lines: what moved, the likely reason, the next action. Example rounds and output: examples/acme-coffee/aeo/round-2026-10-20.csv, examples/acme-coffee/aeo/round-2026-11-17.csv, examples/acme-coffee/aeo/diff.txt.

Failure modes

TrapWhat it looks likeInstead
Logged-in checksthe assistant remembers you work at the brandclean session, no memory
Changing the promptsround 2 has "better" promptsfix the set; add new prompts as a separate group
Errors read as losseshalf the checks timed out, "visibility halved"INDETERMINATE, excluded from the share
One answer as truthone prompt flipped, a new strategy followstotals across prompts and rounds
Counting mentions as citations"we were named" treated like a linked sourceMENTIONED is half a point
Ignoring crawler accesscontent rewritten while the search bot is blocked at the CDNrun site-health first

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.