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가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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" }
ais the paragraph anchor:p<page>.<n>. Take it fromlumen readorlumen search. Never compute it.quoteis 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 likep3.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.
댓글
- …
이 저장소의 다른 스킬
claude-code
20k에이전트가 코딩, 검토, 계획 작업을 Anthropic의 Claude Code CLI에 맡기고 결과를 확인할 수 있도록 돕습니다.
codex-cli
20k에이전트가 코딩이나 검토 작업을 OpenAI의 Codex CLI에 맡기고 결과를 받아, 두 번째 모델이 작업을 확인하도록 돕습니다.
commit-dis
20k에이전트가 이 대화에서 바꾼 파일만 현재 Git 브랜치에 커밋 하나로 저장하도록 돕습니다. 푸시나 새 브랜치 생성은 하지 않습니다.
composio
20k에이전트가 Composio를 사용해 Gmail, Slack, GitHub, Notion 같은 앱을 연결하도록 돕습니다. 내 에이전트나 내가 만드는 제품에 쓸 수 있습니다.
비슷한 스킬
graincrawl
394k에이전트가 저장된 Granola 회의 메모와 기록을 검색하고, 최신 상태를 확인하며, 일정 기간 동안 개수를 세도록 돕습니다.
notcrawl
394k에이전트가 저장된 Notion 워크스페이스 사본을 검색하고, 페이지와 데이터베이스를 찾아보며, 페이지를 Markdown 파일로 내보내도록 돕습니다.
knowledge-entities
394k에이전트가 사람, 회사, 프로젝트가 무엇인지 식별한 뒤, Knowledge 볼트에 출처가 있는 프로필 페이지를 작성하도록 돕습니다.