lumen-citations
यह क्या करती है
यह स्किल बताती है कि AI को Lumen में दस्तावेज़ के किसी अंश का हवाला कैसे देना चाहिए। Lumen कानूनी दस्तावेज़ों की समीक्षा का टूल है। यह वकीलों और कानूनी टीमों के लिए है जिन्हें हर दावे को उसके स्रोत से जोड़ना होता है।
कब इस्तेमाल करें
- ✓जब AI किसी अनुबंध या दूसरे दस्तावेज़ के बारे में दावा लिखे और उसका स्रोत देना हो।
- ✓जब Lumen समीक्षा में कोई हवाला not found दिखे।
- ✓जब आपको चाहिए कि हर उद्धरण शब्द-दर-शब्द दस्तावेज़ से मेल खाए।
Skill का लिंक
https://github.com/kortix-ai/suna/blob/dev/apps/white-label/lumen/agent-kit/skills/lumen-citations/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे सवाल का जवाब दीजिए कि देनदारी की सीमा क्या है, और ठीक वह धारा बताइए जहाँ से यह आता है।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
AI खोज से पैराग्राफ़ ढूँढता है, उसे संदर्भ में पढ़ता है, जिन शब्दों पर वह निर्भर है उन्हें हूबहू कॉपी करता है, और समाप्त करने से पहले citation जाँच चलाता है। कोई भी गड़बड़ी पहले ठीक की जाती है।
तकनीकी सामग्री (मूल 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.
अक्सर पूछे जाने वाले सवाल
कौन-सी बात citation को विफल करती है?
ऐसा उद्धरण जो दस्तावेज़ में न हो, या जो अपने एंकर से अलग पैराग्राफ़ में हो, वह जाँच में फ़ेल होता है।
उद्धरण कितना लंबा होना चाहिए?
केवल उतने शब्द जो दावे को साबित करें, आमतौर पर 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
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
claude-code
20kआपके एजेंट को कोडिंग, समीक्षा या योजना का काम Anthropic के Claude Code CLI को सौंपने देती है, और नतीजा जाँच के लिए वापस लेती है।
codex-cli
20kआपके एजेंट को कोडिंग या समीक्षा का काम OpenAI के Codex CLI को सौंपने और नतीजा वापस लेने देती है, ताकि दूसरा मॉडल काम की जाँच कर सके।
commit-dis
20kआपके एजेंट को इस चैट में किए गए बदलावों को आपकी मौजूदा Git branch पर एक commit में सहेजने देती है, बिना push किए या नई branch बनाए।
composio
20kआपके एजेंट को Composio से Gmail, Slack, GitHub और Notion जैसे ऐप्स जोड़ने में मदद करती है, चाहे वह आपका अपना एजेंट हो या आपका बनाया प्रोडक्ट।
मिलती-जुलती skills
graincrawl
394kयह आपके एजेंट को सेव की गई Granola मीटिंग नोट्स और ट्रांसक्रिप्ट में खोजने, उनकी ताज़गी जांचने और किसी अवधि के हिसाब से गिनती करने देती है।
notcrawl
394kयह आपके एजेंट को Notion वर्कस्पेस की सेव की गई कॉपी में खोजने, पेज और डेटाबेस देखने और पेजों को Markdown फ़ाइलों में निर्यात करने देती है।
knowledge-entities
394kयह आपके एजेंट को लोगों, कंपनियों और प्रोजेक्ट्स की पहचान करने और आपके Knowledge vault में स्रोत-आधारित प्रोफ़ाइल पेज लिखने देती है।