본문으로 건너뛰기
Skillpedia
리서치20k · #10381

lumen-citations

하는 일

이 스킬은 법률 문서를 검토하는 도구인 Lumen에서 AI가 문서 구절을 어떻게 인용해야 하는지 설명합니다. 모든 주장을 출처와 연결해야 하는 변호사와 법무팀을 위한 스킬입니다.

사용하는 경우

  • ✓AI가 계약서나 다른 문서에 관한 주장을 쓰고 그 출처를 인용해야 할 때.
  • ✓Lumen 검토에서 인용이 찾을 수 없음으로 표시된 경우.
  • ✓각 인용문이 문서 원문과 한 글자도 다르지 않아야 할 때.

스킬 링크

https://github.com/kortix-ai/suna/blob/dev/apps/white-label/lumen/agent-kit/skills/lumen-citations/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/kortix-ai/suna/blob/dev/apps/white-label/lumen/agent-kit/skills/lumen-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분.

작동 방식

AI는 검색으로 문단을 찾고, 문맥 속에서 읽은 뒤, 근거가 되는 정확한 단어를 복사하고, 끝내기 전에 인용 검사를 실행합니다. 불일치는 먼저 고칩니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Citations

Lumen shows every citation to a lawyer next to the source passage, and checks it against the source before the lawyer sees it. A citation that fails the check is shown as "Citation not found". Get it right the first time.

The object

{ "doc_id": "<id from lumen docs>", "a": "p3.12", "quote": "verbatim text from that paragraph" }
  • a is the paragraph anchor: p<page>.<n>. Take it from lumen read or lumen search. Never compute it.
  • quote is copied character for character from ONE paragraph: at most 300 characters, no "..." inside, no paraphrase, case kept.
  • Quote the words that prove the claim, not the whole paragraph. 8 to 40 words is right.

Get anchors

lumen search --matter <matter_dir> --query "limitation of liability capped"   # hits: doc_id, a, snippet
lumen read --doc <doc_id> --anchor p3.12 --context 1                           # the paragraph and its neighbours
lumen read --doc <doc_id>                                                      # the whole document

Check before you finish

echo '{"citations": [{"doc_id": "...", "a": "p3.12", "quote": "..."}]}' | lumen cite check
Code Meaning Fix
not_found The quote is not in the document Copy the exact words from lumen read output
wrong_anchor The quote is in another paragraph (fixed_anchor) Use fixed_anchor
too_long Over 300 characters Quote fewer words
unknown_doc No such document Use a doc_id from lumen docs

lumen result write runs the same check on every citation in a result and refuses the file until each passes.

In chat answers

Write each citation as a Markdown link after the claim: [1](/cite?d=<doc_id>&a=p3.12&q=<url-encoded quote>). lumen cite check prints this link as link for every citation that passes: paste it, do not encode a quote by hand. A bare [1] with no link is not a citation, and Lumen marks the answer as unchecked. Number them in order. Lumen shows each link as a numbered chip that opens the quoted paragraph. Outside the links, name a document by its filename, never by its doc_id.

Examples

Good:

  • {"doc_id": "k17", "a": "p2.9", "quote": "Neither party's liability under or in connection with this Agreement"} - exact words, one paragraph.
  • {"doc_id": "k17", "a": "p1.4", "quote": "renews automatically for successive periods of one (1) year"}.
  • {"doc_id": "k22", "a": "p1.6", "quote": "the Customer is entitled to service credits"}.

Bad:

  • "quote": "liability is unlimited" - a paraphrase. The document says "shall be limited or capped in amount".
  • "quote": "shall not exceed ... twelve (12) months" - an ellipsis inside a quote.
  • "a": "3.12" - not an anchor. Anchors look like p3.12.
자주 묻는 질문

인용은 무엇 때문에 실패하나요?

문서에 없는 인용문이나, 앵커와 다른 문단에 있는 인용문은 검사에 실패합니다.

인용문은 얼마나 길어야 하나요?

주장을 증명하는 단어만 인용합니다. 보통 8~40단어이며 300자를 넘지 않습니다.

AI가 문단 번호를 지어내나요?

아니요. 앵커는 읽기나 검색 결과에서 가져와야 하며, 계산해서 만들면 안 된다고 스킬이 안내합니다.

상세 정보

작성자의 원본 설명

How Lumen cites a document - the citation object, how to get anchors, quote rules and `lumen cite check`. Load before writing any claim about a document.

repo: kortix-ai/suna

인기도

GitHub 스타
20k
순위
#10381
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬