grounded-citations

grounded-citations is a skill for Claude Code, Codex from jozrftamson/hermes-figma-prompt-hub. It costs 16 tokens per session (3,036 once invoked), scanned A, a copy of grounded-citations, MIT.

A source-checking tool that attaches numbered citations and a source list to claims taken from retrieved web pages or other outside material. It can also keep quotes and evidence linked to each source.

In plain words
What is it for?
Use it for cited answers, research reports, comparisons, briefs, and documents that quote or summarize outside information.
Why use it?
It reduces unsupported statements and makes it possible for readers to verify where information came from. It can flag claims that were not confirmed by a retrieved source.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it for cited answers, research reports, comparisons, briefs, and documents that quote or summarize outside information.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jozrftamson/hermes-figma-prompt-hub/grounded-citations
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 jozrftamson/hermes-figma-prompt-hub --skill grounded-citations
Clone the repo
git clone --depth 1 https://github.com/jozrftamson/hermes-figma-prompt-hub

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/jozrftamson/hermes-figma-prompt-hub/grounded-citations/github.svg)](https://agentmods.dev/skills/jozrftamson/hermes-figma-prompt-hub/grounded-citations)
Your own site
<a href="https://agentmods.dev/skills/jozrftamson/hermes-figma-prompt-hub/grounded-citations"><img src="https://agentmods.dev/badge/skills/jozrftamson/hermes-figma-prompt-hub/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/jozrftamson/hermes-figma-prompt-hub/grounded-citations"><img src="https://agentmods.dev/badge/skills/jozrftamson/hermes-figma-prompt-hub/grounded-citations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,036 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 89% copy Near-identical to another mod 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.00016 $0.03036
Opus 5.5 $0.00006 $0.01214
Sonnet 5.5 $0.00003 $0.00607
Haiku 4.5 $0.00002 $0.00304

Measured 12d ago against content hash 1e022ba6244f, 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 1 finding 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.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/_hermes_home.py, scripts/sources.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`browser_exec`, or `terminal` (curl, CLIs).
Origin

This is a copy

89% identical to grounded-citations — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/research/grounded-citations/SKILL.md · 258 lines

How it starts

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

Grounded Citations

Every claim taken from an outside source gets an inline numbered citation and a Sources: list, Perplexity-style. A ledger script owns the url → [n] mapping so the numbers and URLs come from retrieval, never from memory — the model only ever emits small integers it was handed.

For high-stakes work the same ledger doubles as a fact-checking chain: verbatim quotes are attached to each source (rejected unless they literally appear in the fetched page text), claims from model knowledge are flagged [unverified], and verify --evidence fails any draft whose cited sources carry no evidence.

This skill covers answers in chat, written documents (markdown, PDF, docx, slides), and research reports. It does not cover academic BibTeX pipelines — for conference papers use the arxiv skill, which this skill feeds (see references/citation-formats.md).

When to Use

Use whenever an answer or artifact rests on information you fetched rather than knew:

  • Research, comparisons, news summaries, "what is the current state of X"
  • Any deliverable you write to disk that quotes, paraphrases, or reports outside facts — reports, briefs, docs, decks, wiki pages
  • Fact-finding where the user will want to check your work
  • Multi-source synthesis where conflicting sources must be attributed

Skip inline citations when the retrieval is incidental to another task — a quick syntax/version lookup mid-coding, casual conversation, creative writing. Mention a URL only if the user would plausibly want the link.

Prerequisites

None beyond the standard toolset. scripts/sources.py is stdlib-only Python 3. Retrieval comes from whatever is configured: web_search, web_extract, browser_exec, or terminal (curl, CLIs).

Ledger location: $HERMES_HOME/cache/citations/ledger.json (profile-aware). Override per task with --ledger <path> or HERMES_CITATION_LEDGER.

How to Run

S=~/.hermes/skills/research/grounded-citations/scripts/sources.py

python "$S" reset                                  # start a clean ledger
python "$S" add https://example.com/a --title "A"  # prints: [1]
python "$S" add https://example.com/b --title "B"  # prints: [2]
python "$S" list                                   # ledger table
python "$S" render                                 # Sources: block
python "$S" verify draft.md                        # catch bad citations

Read the full file on GitHub · 258 lines

Files

What ships with it

4 files 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 · 258 lines · 16 tokens per session scan A 1e022ba6244f

Subscribe to this mod's changes

grounded-citations is a skill published in the GitHub repository jozrftamson/hermes-figma-prompt-hub (1 stars, last pushed 13d ago), licensed MIT. It adds 16 tokens to every session and 3,036 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 89% identical to grounded-citations, differing in 0 lines, and is treated as a copy.

Related

grounded-citations compared with skills from other repositories

grounded-citations next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
grounded-citationsjozrftamson/hermes-figma-prompt-hubSkill113d agoMITA16Claude Code, Codex
design-token-generationalvinindra/figma-mcp-rustSkill909d agoMITA60Claude Code
design-strategyalvinindra/figma-mcp-rustSkill909d agoMITA57Claude Code
generate-color-palettealvinindra/figma-mcp-rustSkill909d agoMITA61Claude Code
generate-component-variantsalvinindra/figma-mcp-rustSkill909d agoMITA63Claude Code
generate-type-scalealvinindra/figma-mcp-rustSkill909d agoMITA59Claude Code
text-replacementalvinindra/figma-mcp-rustSkill909d agoMITA57Claude Code