一键导入
rag
Use when the user has already provided source material and needs a cited, evidence-constrained answer from that material. Not for external retrieval.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when the user has already provided source material and needs a cited, evidence-constrained answer from that material. Not for external retrieval.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | rag |
| description | Use when the user has already provided source material and needs a cited, evidence-constrained answer from that material. Not for external retrieval. |
Skill invocation remains $rag.
Use this skill only when the relevant material is already in context:
Do not use this skill for:
Use this when the user provides unstructured source material.
[CONTEXT]
Source A:
...
Source B:
...
[TASK]
What should be answered or extracted?
[OUTPUT_MODE]
answer | extract | compare | audit
First package the material into Evidence Units, then answer from those units.
Use this when the user already provides labeled evidence.
[E1] Source: ...
Section: ...
Content: ...
[E2] Source: ...
Section: ...
Content: ...
Skip packaging and move directly to localization, reconciliation, and answering.
An Evidence Unit is a citation container, not a retrieval chunk.
Required fields:
ID (E1, E2, ...)SourceSectionContentNotes for date, scope, version, or jurisdictionExecute these stages in order.
Purpose: turn raw material into stable, referenceable Evidence Units.
Rules:
Deliverable:
Evidence Register: the numbered evidence list (E1, E2, E3, ...)Purpose: define what must be proven before answering.
Rules:
fact, rule, comparison, extraction, or audit.Deliverable:
Coverage Table: each sub-question mapped to the evidence needed to support itPurpose: identify the smallest sufficient evidence set.
Rules:
Deliverable:
Evidence Ledger: direct support, indirect support, and unresolved gaps for each sub-questionPurpose: prevent unsupported synthesis and hidden contradictions.
Rules:
SHALL, SHALL NOT, SHOULD, SHOULD NOT, MAY).Deliverable:
Conflict Ledger: scope, date, version, exception, and contradiction notes used in the final responseBefore drafting, run one explicit omission check:
except, unless, however, only if, and notwithstanding.If the sweep finds a missing constraint, add it to the ledgers before answering.
Purpose: produce a stable, reviewable output.
Rules:
not specified in the provided evidence instead of inferring from terminology, category, or common practice.Deliverable:
When the source uses modal or normative language:
SHALL, SHALL NOT, SHOULD, SHOULD NOT, and MAY exactly in meaning.SHOULD or MAY as if they were mandatory.SHALL NOT or SHOULD NOT as softer preference language.Evidence Register, Coverage Table, Evidence Ledger, and Conflict Ledger are internal work products by default.
Do not emit them as extra top-level sections unless the user explicitly asks to see the intermediate reasoning artifacts. Do not emit TODO lists, planning notes, or scratch reasoning.
OUTPUT_MODE changes the structure inside the Answer section.
answerUse for direct conclusions.
extractUse for field extraction or direct pull-through.
not found where evidence is missing.compareUse for side-by-side source comparison.
Answer section as Shared Ground, Differences, Conflicts, then Bottom Line.Shared Ground only when both scope and normative force match across the cited evidence.SHALL and another says SHOULD or MAY, that belongs in Differences, not Shared Ground.Shared Ground = None. instead of a vague common denominator.require, must, or prohibit in Shared Ground unless all cited evidence support the same mandatory force.Differences should name the force explicitly, such as Passwords [SHALL]: ....Bottom Line may restate only already-cited differences; do not introduce new rankings, causes, or unstated rationale.auditUse for policy, controls, and compliance-style reviews.
Answer section as Requirements, Exceptions, Gaps, then Risks when relevant.Use these top-level sections in this exact order:
AnswerEvidence MapConflicts or GapsNeed More Material (only when partial or refused)Rules:
Answer.Answer must end with one or more evidence IDs such as [E3] or [E2][E5].Evidence Map must map each major conclusion to the exact evidence IDs that support it.Answer.Need More Material when the answer is complete.None. inside Need More Material.If the provided material does not support the core question:
Answer to INSUFFICIENT_EVIDENCE.When evidence conflicts:
Preferred patterns:
If E2 governs, then ...If E5 is the current version, then ...The sources conflict and do not support a single unconditional conclusion.Use these bundled references as needed:
references/protocol.md for the detailed operating procedurereferences/templates.md for copy-paste templatesreferences/failure-modes.md for failure handlingreferences/methodology.md for positioning and limitsSee the examples/ and evals/ folders for worked examples and test cases.