本文へ移動
cccskills
無料GitHub で公開日本語紹介

lumen-citations

Lumenで文書について回答するときに、根拠となる段落から正確な引用を付け、引用文と位置の一致を検証して、該当箇所を開けるリンクを添えるスキル。

原文原文の説明を見る

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.

kortix-ai/sunaスター 20,332(GitHub 20,332 + cccskills 0)

実行スコア 未検証

インストール方法を見る

こんなときに便利

  • 文書についての回答に出典を付けたいとき
  • 主張を裏付ける段落の検索
  • 引用文と段落位置の照合
  • 引用元を開けるリンクの作成

日本語での紹介

できること

Lumenで文書に関する回答を作る際に、根拠となる段落と正確な引用文を結び付けます。文書ID、段落の位置を示すアンカー、引用文をそろえ、lumen cite checkで原文との一致を検証します。検証済みのリンクを回答に添えると、引用元の段落を開いて確認できます。

こんなときに便利

契約書などの内容を説明するときや、判断の根拠を原文と照合できる形で示したいときに向いています。引用が見つからない、段落の位置が違う、引用が長すぎる、文書IDが存在しないといったエラーを確認し、修正する手順も定めています。

使い方の例

  • 「責任上限の説明に、根拠となる段落の引用を付けて」
  • 「この引用文と段落の位置が正しいか検証して」
  • 「検証済みの引用リンクを回答に添えて」

注意点

Lumenのコマンドを使う環境が必要です。アンカーはlumen readやlumen searchの出力から取得します。引用は1つの段落から原文どおりに取り、300文字以内に収めます。引用内の省略記号や言い換えは使えません。lumen result writeも引用を検証し、すべて合格するまでファイルの書き込みを拒否します。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

資料チェック

SKILL.md の記述から、注意が要る操作と導入の前提を AI が確認しました。点数は実際に動かした結果(実行検証)だけで付けています。

安全面送信・削除・コマンド実行などの扱いが明示されているか
A良好検証前の引用は不合格表示となり、書き込みも全件合格まで拒否される。
導入のしやすさ必要なツールや API キーが少ないか、書かれているか
B一部不足Lumenコマンド環境が必要だが、その導入方法は資料にない。

点数には入れていません。 2026年10月28日 時点で AI(OpenAI Codex)が判定しました。目安なので、入れる前に原文も確認してください。

評価が違うと思ったら、見直しを依頼する

どの項目が、なぜ違うと思うかを書いてください。ログインは不要です。内容を SKILL.md と照らし合わせて評価を作り直し、この欄に反映します。

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

含まれるファイル(1)

  • SKILL.md2.9 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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
CodeMeaningFix
not_foundThe quote is not in the documentCopy the exact words from lumen read output
wrong_anchorThe quote is in another paragraph (fixed_anchor)Use fixed_anchor
too_longOver 300 charactersQuote fewer words
unknown_docNo such documentUse 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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

access-policy

無料概要あり

Slackのアクセス申請をOktaの役職・所属情報と照合し、GitHubやAWS IAMで必要な範囲の権限を準備します。有資格者の承認後に適用し、履歴を記録します。

  • SlackからGitHub権限の申請を確認
  • 作業に必要なAWS IAM権限の準備
  • 慎重な審査が必要な申請の振り分け
kortix-ai/suna2万2026年10月30日 更新

account-research

無料概要あり

営業連絡や商談の前に企業・人物を調べ、事業概要、直近のニュース、採用動向、主要人物を整理します。情報源を添えて、会話の切り口や確認すべき質問までまとめます。

  • 営業連絡前の見込み客調査
  • 商談参加者の背景を知りたいとき
  • 競合の製品や立ち位置の比較
kortix-ai/suna2万2026年10月30日 更新

ad-performance-review

無料概要あり

Google AdsとMeta Adsの広告実績を読み取り、予算消化の偏りや成果の悪化、異常値を確認し、数値と優先順位を添えた改善提案にまとめます。

  • 広告予算の消化ペースを確認したいとき
  • 獲得単価や広告収益の悪化を調べたいとき
  • 成果のない広告やキーワードの洗い出し
kortix-ai/suna2万2026年10月30日 更新

agent-browser

無料概要あり

Webサイトの移動やフォーム入力、クリック、画像保存、データ抽出をエージェントに任せるスキルです。画面操作の自動化やWebアプリの動作確認に使えます。

  • フォーム入力やページ移動の自動化
  • 画面保存とページ内データの抽出
  • Webアプリの不具合を探したいとき
kortix-ai/suna2万2026年10月30日 更新

ap-invoice-match

無料概要あり

メールで届く請求書を発注書・台帳と照合し、重複や過大請求、発注書の欠落を記録するスキル。確認理由を添えてSlackにまとめ、人の承認につなげます。

  • 新着請求書を発注書と照合したいとき
  • 請求書の重複や再送を調べたいとき
  • 単価や発注残額の超過を確認したいとき
kortix-ai/suna2万2026年10月30日 更新

billing

無料概要あり

Kortixの料金プラン、クレジット、試用、法人契約の仕様と関連コードの場所を整理し、課金処理や管理画面、料金表示を変更する際の実装ルールを示します。

  • 課金ロジックと仕様の更新
  • 試用や法人契約の扱いを確認したいとき
  • 料金や利用枠の定義元の確認
kortix-ai/suna2万2026年10月30日 更新

kortix-ai のスキルをすべて見る

このスキルの問題を報告する