본문으로 건너뛰기
Skillpedia
리서치260k · #617

grounded-citations

하는 일

이 스킬은 AI가 웹이나 다른 외부 자료에서 가져온 모든 사실에 번호 붙은 출처를 달고, 끝에 그 출처 목록을 적도록 합니다. 검증 가능한 답변이 필요한 연구자, 작가, 그리고 모든 사람을 위한 스킬입니다.

사용하는 경우

  • ✓최신 웹 정보에 의존하는 조사나 비교를 요청할 때.
  • ✓외부 사실을 인용하거나 보고하는 보고서, 요약, 문서가 필요할 때.
  • ✓중요한 답변을 확인하면서 인용문과 주장이 검증되었는지 표시하고 싶을 때.

스킬 링크

https://github.com/NousResearch/hermes-agent/blob/main/skills/research/grounded-citations/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/NousResearch/hermes-agent/blob/main/skills/research/grounded-citations/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

📦 이 스킬이 포함된 팩

AI에게 요청하는 예시

“태양광 배터리 가격의 현재 상황을 조사해서, 제가 확인할 수 있도록 번호가 붙은 출처와 함께 답해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 스킬은 작은 원장 스크립트로 각 출처 URL과 번호를 기록합니다. AI는 그 스크립트가 준 번호만 사용하므로, 인용이 실제로 가져온 출처와 일치합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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

add is idempotent and URL-normalized: the same page always returns the same id within a ledger, so ids stay stable across many search/extract rounds.

Quick Reference

Action Command
Fresh ledger for a new task sources.py reset
Register a source, get its id sources.py add <url> [--title T]
Register several at once sources.py add <url1> <url2> ...
Register from JSON tool output sources.py ingest results.json
Attach verbatim evidence to a source sources.py quote <id> --text "exact wording" --from page.txt
Show ledger sources.py list [--json]
Render the Sources block sources.py render [--style markdown|plain|footnotes|bibtex|evidence] [--only 1,3]
Render only what a draft cites sources.py render --cited-in draft.md
Rewrite a draft's Sources block in place sources.py render --replace-in draft.md
Check a draft's citations sources.py verify draft.md [--strict] [--min-coverage 0.6] [--evidence]

Procedure

① Reset the ledger at the start of a task that will produce a grounded answer or document. Skip the reset when continuing work whose ids are already in a draft — reusing the ledger keeps the numbering stable.

② Register every source at retrieval time. After each web_search / web_extract / browser_exec / fetch, pass the URLs to sources.py add (or pipe the raw JSON through sources.py ingest). Do this before writing prose. Registering later, from memory, is the failure mode this skill exists to prevent.

③ Write cite-while-drafting. Place the bracketed id(s) immediately after each sentence the source supports:

Ice floats because it is less dense than liquid water.[1][2]
  • No space before the bracket; each id in its own brackets.
  • Max 3 ids per sentence. Cite per sentence, not one dump at the end.
  • Only ids the ledger returned. Never invent an id or a URL.
  • Claims from your own knowledge get no citation.
  • Conflicting sources: present both readings, each with its own id.
  • Quote exact figures, dates, and names as the sou
자주 묻는 질문

AI가 출처를 지어내나요?

아니요. 스킬에 따르면 출처 번호와 URL은 기억이 아니라 검색에서 나옵니다.

중요도가 높은 작업에는 무엇을 하나요?

스킬은 출처에 원문 그대로의 인용문을 붙이고, 모델 지식에서 나온 주장은 미검증으로 표시합니다.

학술 BibTeX 인용도 다루나요?

아니요. 스킬은 학회 논문 인용에는 arxiv 스킬을 쓰라고 합니다.

상세 정보

작성자의 원본 설명

Ground answers and documents in cited, verifiable sources.

repo: NousResearch/hermes-agent

인기도

GitHub 스타
260k
순위
#617
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬