grounded-citations

grounded-citations is a skill for Claude Code, Codex from androoAGI/starnet. It costs 40 tokens per session (1,074 once invoked), scanned A, original, MIT.

A research and writing method that attaches a numbered source and supporting sentence to every factual claim. It opens the original sources and saves the text so someone else can check the answer.

In plain words
What is it for?
Use it to research questions, break them into claims, find original papers, laws, filings, datasets, or official pages, and produce answers with checkable citations.
Why use it?
It reduces unsupported or misquoted statements and makes the evidence behind an answer easy to inspect. Search-result snippets and unreadable pages are not treated as sources.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to research questions, break them into claims, find original papers, laws, filings, datasets, or official pages, and produce answers with checkable citations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/androoagi/starnet/grounded-citations
About the project

StarNet is a local-first desktop harness for creating AI agents and arranging them in a pixel-art space station whose layout represents their capabilities, permissions, and workflow. It lets people run real model calls and tools through multiple bounded agents, using their own provider keys or accounts and optionally messaging the station through chat services. The catalogue entries are skills that extend or support work performed by StarNet agents.

androoAGI/starnet · 1,468 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add androoAGI/starnet --skill grounded-citations
Clone the repo
git clone --depth 1 https://github.com/androoAGI/starnet

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for grounded-citations

README.md
[![agentmods](https://agentmods.dev/badge/skills/androoagi/starnet/grounded-citations/github.svg)](https://agentmods.dev/skills/androoagi/starnet/grounded-citations)
Your own site
<a href="https://agentmods.dev/skills/androoagi/starnet/grounded-citations"><img src="https://agentmods.dev/badge/skills/androoagi/starnet/grounded-citations/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for grounded-citations

Your own site · 80×15
<a href="https://agentmods.dev/skills/androoagi/starnet/grounded-citations"><img src="https://agentmods.dev/badge/skills/androoagi/starnet/grounded-citations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,074 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.01074
Opus 5.5 $0.00016 $0.00430
Sonnet 5.5 $0.00008 $0.00215
Haiku 4.5 $0.00004 $0.00107

Measured 12d ago against content hash af9f75bbe3e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

grounded-citations scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills-catalog/skills/grounded-citations/SKILL.md · 39 lines

How it starts

The opening of the file, as written. The whole thing — 39 lines — stays where its author put it; the contents beside it link to each section on GitHub.

A citation is a promise that the source says what you say it says. Keep that promise mechanically: open every source, save its text, copy the supporting sentence, and prove by a literal search that the sentence is really there. The bar: the Commander can check any claim in under a minute.

Method

  1. List the claims the answer will need. Break the question into the facts that must be established: the numbers, dates, names, and who said what. This is your search plan, and later your checklist.
  2. Find sources and open each one. web_search finds candidates; web_fetch opens them. Prefer the original (the law, the paper, the filing, the official page, the dataset) over an article about it. A search-result snippet is not a source. A page that would not open, or showed only a login or paywall notice, was not read and cannot be cited. For a file the Commander gave you, read it with fs.read and cite its path and page or section.
  3. Save what you read. Write each opened text with fs.write to sources/<n>-<short-name>.txt, headed by its URL, title, publisher or author, the published date if the page shows one, and the date you read it (today's date from the run). Keep sources/index.md: the numbered list, one line per source.
  4. Draft claim by claim. For each factual sentence, copy from the saved text the one sentence that supports it, exactly as written, and tag the claim [n]. Collect these in citations.md: claim, source number, quote. Give a second, independent source for figures that matter and for anything contested.
  5. Check every quote literally. Search the saved file for the quote with fs.search (plain text match), or run one code.run pass that reads each saved file with await tool("fs.read", { path }) and tests every quote after collapsing runs of spaces and straightening curly quotes. A quote that is not found is not a quote: open the page again, find the real sentence, or drop the citation. Your memory of the page does not count.
  6. Check the quote says what the claim says. Same subject, same number and unit, same period, same scope. "May" in the source is not "does" in the answer. One country or one year does not support a general statement. Note who is speaking: the page asserting something is different from the page reporting someone else's view.
  7. Deal with what is left. A claim with no supporting quote is either marked [unverified] with the reason or removed. Your own working — arithmetic on cited figures, a conclusion drawn from two cited facts — is labelled as yours, with its inputs cited.
  8. Write the answer. Answer first, markers inline, then Sources: number, title, publisher, URL, published date, date read. Where sources disagree, show both and say so. Save citations.md with the quotes and name it with deliverable_note.

Read the full file on GitHub · 39 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 39 lines · 40 tokens per session scan A af9f75bbe3e9

Subscribe to this mod's changes

grounded-citations is a skill published in the GitHub repository androoAGI/starnet (1,468 stars, last pushed 3d ago), licensed MIT. It adds 40 tokens to every session and 1,074 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-04.