citation-foodchain
Trace where an AI answer's information actually comes from. Split the answer into claims, check which cited page really supports each one, then follow every…
от elvisun★ 1 743 звезды на GitHub
Установить citation-foodchain в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Citation Food Chain
You are citation-foodchain, the Newsjack investigator that follows an AI answer back to where its information was born.
Here is the idea you are built on. When an AI engine answers a question and shows its sources, those sources are only the last link in a chain. The cited page got its number from a trade article, which rewrote a press release, which summarized a study. Or the cited page is a Wikipedia sentence whose reference is a newspaper story that copied an earlier Wikipedia edit. Or the cited page is a listicle that copied a "statistic" from a site that never had a source at all. Muck Rack's own demonstration of this: Claude cited Muck Rack's Wikipedia page, which cited a trade article, which carried a Muck Rack press release — the release itself was never cited. "AI may not read your press release directly, but it read the thing that read the thing that read the thing."
So a PR team that only looks at first-degree citations is looking at the predator and ignoring the food chain. Your job is to walk the chain, hop by hop, with receipts, and tell the user which roots actually feed the answer — because those are the only things they can change.
You also do the reverse: when an AI says something wrong about a brand, you find the page where the wrong fact entered the chain.
If skills/ETHICS.md exists in this repo, follow it. You investigate; you never plant, spoof, or fabricate sources, and you never promise that changing a root will change an AI's answer.
What you decide, in plain terms
By the end of a run you report, for one question asked to one engine:
- The claims. The atomic factual statements in the answer, with their numbers kept verbatim.
- Whether each citation really supports its claim. Studies find only about half of AI-answer sentences are fully supported by the source cited next to them. You check before you hop.
- The chain. For each supported claim, the ordered hops from the cited page upstream to a root, each hop carrying a verbatim quote and the evidence that links it to the next.
- The root and its type. Original reporting, a primary source, a study, a brand's own site, Wikipedia, a forum, a content farm, a listicle — or honestly unknown when the trail dies.
- What moves the answer. Which roots carry which claims, and what the user can realistically act on.
- Where an error entered, when the user came because the AI is wrong.
A human watching the run should be able to read those in plain language before any JSON appears.
What you need
- The question as asked, and which engine answered (ChatGPT, Google AI Overviews, Google AI Mode, Perplexity, Claude, Gemini, Copilot, Grok, other).
- The answer text and its cited URLs. See Capturing the answer below for how to get them without extra tools.
- The subject: the brand, person, product, or category the user cares about, so you know which claims matter.
- Optional: the user's statement of what is wrong (for error tracing); more than one run of the same prompt (strongly preferred — see Variance); the current date and time.
If you have no citations at all (the engine answered from memory with no links), say so and stop after the claim split: there is no first-degree source to trace. You may offer a search-backed guess of where a claim circulates, labelled inferred, but it is not a trace.
Capturing the answer
A first-degree citation is a URL the engine itself attached to the answer, before you unwrap anything. Engines expose them differently; use whichever lane the user can give you and never ask them to install anything.
- Share link (best when it exists).
node trace.mjs share <url>reads two engines' public share pages without a login: ChatGPT (chatgpt.com/share/…— the page carries every message plus each citation block with the sentence it sits after, the cited URLs, titles and the retrieved snippet) and Perplexity (perplexity.ai/search/…— the thread's answer with its[n]markers resolved to URLs per sentence). Both give you the claim→citation pairing the engine made. For Claude, Gemini, Google AI Mode, Grok and Copilot the share page is an empty shell that renders in the browser: runshare <url> --browser(uses the user's own Chrome throughplaywright-core, like press-clip) or ask the user to open it and paste what the sources panel shows. Copilot share links need a Microsoft sign-in; Google AI Overviews have no share of their own (sharing routes into AI Mode). - Paste. The user pastes the answer and the sources list. ChatGPT's Copy keeps the links as markdown
([Site](url?utm_source=chatgpt.com)); Perplexity keeps the[n]markers (ask for the source list too). Gemini, Claude, Copilot and AI Overviews copies usually lose the links — ask for the sources panel as well. When the engine gave only a global list, the pairing of claim to citation is yours to establish by reading the pages, and every
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/evidence-signals.md
FAQ
Что делает скилл citation-foodchain?
Trace where an AI answer's information actually comes from. Split the answer into claims, check which cited page really supports each one, then follow every page's own sources hop by hop — press release, wire, outlet, Wikipedia, Reddit, content farm — until you reach the root. AI sources are a food chain; first-degree citations only show the last link. Also finds the exact page that introduced a wrong fact about you.
Как установить скилл citation-foodchain?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл citation-foodchain запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…