wiki-narrate
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWiki Narrate — Cited Narrative Readouts
Wiki Narrate — 带引用的叙事输出
Use this skill only for a topic-based Markdown readout. Do not add tag or page-list
selection, prior-query input, voice aliases, HTML, PDF, slides, renderer handoffs, or
new compiled knowledge pages.
此技能仅用于生成基于主题的Markdown输出。请勿添加标签或页面列表选择、历史查询输入、语音别名、HTML、PDF、幻灯片、渲染器移交或新的编译知识页面。
Command Contract
命令约定
/wiki-narrate <topic> [--voice briefing|plain-language|lecturer] [--save]- Require a non-empty .
<topic> - The default voice is .
briefing - Voice names are canonical and case-sensitive. Unsupported values must return an
error listing ,
briefing, andplain-languagewithout searching or writing.lecturer - is the only persistence switch.
--save - For a missing topic, malformed option, or unsupported voice, return a short usage
or validation error and do not search, write, append a log event, or change .
hot.md
/wiki-narrate <topic> [--voice briefing|plain-language|lecturer] [--save]- 要求不能为空。
<topic> - 默认语音模式为。
briefing - 语音模式名称为规范名称且区分大小写。若传入不支持的值,需返回错误信息,列出支持的、
briefing和plain-language,且不执行搜索或写入操作。lecturer - 是唯一的持久化开关。
--save - 若主题缺失、选项格式错误或语音模式不支持,返回简短的使用说明或验证错误,且不执行搜索、写入、追加日志事件或修改。
hot.md
Retrieval
检索规则
- Resolve configuration with the Config Resolution Protocol, including an inline
vault override, then read the target vault's
@namewhen it exists. LoadAGENTS.mdbefore drafting citations.OBSIDIAN_LINK_FORMAT - Read and
hot.mdfirst. Select candidates by frontmatter and summary before reading bodies.index.md - When configured, use QMD before ; if QMD is absent, unconfigured, or fails, continue with the index and
rgpath. Treat QMD output as candidate guidance, not evidence: establish each claim from the allowed vault page itself.rg - Honor filtered-mode phrases such as "public only", "user-facing", "no internal
content", "as a user would see it", and "exclude internal". Skip pages tagged
or
visibility/internalin that mode: never read, cite, or expose them.visibility/pii - Exclude ,
_readouts/,_raw/,_archives/,_meta/,index.md,log.md, andhot.mdfrom candidates._insights.md - Read matching sections before full pages, and read full pages only when a factual claim cannot otherwise be established. Preserve relevant lifecycle and freshness annotations; do not upgrade a page's trust.
- 通过配置解析协议解析配置,包括内联的库覆盖项,然后读取目标库中的
@name(如果存在)。在起草引用前加载AGENTS.md配置。OBSIDIAN_LINK_FORMAT - 优先读取和
hot.md。先通过前置元数据和摘要筛选候选页面,再读取页面内容。index.md - 若已配置,优先使用QMD;若QMD不存在、未配置或调用失败,则继续使用索引和路径。将QMD输出视为候选页面的参考指引,而非直接证据:每个主张必须从允许的库页面本身获取依据。
rg - 遵守过滤模式短语,如“仅公开内容”“面向用户”“无内部内容”“以用户视角呈现”“排除内部内容”。在此模式下,跳过标记为或
visibility/internal的页面:绝不读取、引用或暴露这些页面。visibility/pii - 排除以下路径和文件作为候选:、
_readouts/、_raw/、_archives/、_meta/、index.md、log.md和hot.md。_insights.md - 优先读取匹配的章节,仅当无法通过章节内容确认事实主张时才读取完整页面。保留相关的生命周期和新鲜度注释;不得提升页面的可信度。
Claim Ledger and Citation Audit
主张台账与引用审核
Draft a ledger before prose. Each item contains a claim, supporting
links, and one status: supported fact, inferred connection, or ambiguous conflict.
When , render the same supporting page as a standard
Markdown link; otherwise use the vault's form.
[[vault page]]OBSIDIAN_LINK_FORMAT=markdown[[wikilink]]Ensure every factual sentence has adjacent supporting citations. Mark inferred connections ; mark unresolved conflicts . Never use web knowledge, model memory, or invented examples to close a gap. Omit unsupported claims and name the gap in Coverage. An inference or ambiguity marker supplements, rather than replaces, adjacent citations.
^[inferred]^[ambiguous]在撰写正文前先起草主张台账。每个条目包含主张内容、支持性链接,以及一种状态:已证实事实、推断关联或模糊冲突。当时,将支持页面渲染为标准Markdown链接;否则使用库的格式。
[[vault page]]OBSIDIAN_LINK_FORMAT=markdown[[wikilink]]确保每个事实性句子都附带相邻的支持引用。将推断关联标记为;将未解决的冲突标记为。绝不能使用网络知识、模型记忆或虚构示例填补信息空白。省略无依据的主张,并在“覆盖范围”部分说明信息缺口。推断或模糊标记是对相邻引用的补充,而非替代。
^[inferred]^[ambiguous]Drafting and Output
起草与输出
Read and use exactly the requested voice skeleton. The selected
voice may change prose and ordering, but cannot change the ledger's factual boundary.
Return Markdown only, structured as:
references/voices.md- A title naming the topic and selected voice.
- The selected voice's sections, in its documented order.
- Adjacent citations for each factual sentence, rendered with
.
OBSIDIAN_LINK_FORMAT - A footer listing cited pages, the count of inferred statements, and known evidence gaps.
## Coverage
If evidence is weak or contradictory, produce only the supported portion. Mark each
unresolved conflict with citations to all conflicting pages, and list
the remaining gaps in .
^[ambiguous]## Coverage读取并严格使用请求的语音模式框架。所选语音模式可调整正文措辞和内容顺序,但不得突破主张台账的事实边界。仅返回Markdown格式内容,结构如下:
references/voices.md- 包含主题和所选语音模式的标题。
- 所选语音模式的章节,按其文档规定的顺序排列。
- 每个事实性句子附带的相邻引用,按照渲染。
OBSIDIAN_LINK_FORMAT - 页脚,列出引用的页面、推断语句的数量,以及已知的证据缺口。
## 覆盖范围
若证据不足或存在矛盾,仅生成已证实的内容部分。对每个未解决的冲突标记并引用所有冲突页面,在中明确列出剩余的信息缺口。
^[ambiguous]## 覆盖范围Persistence
持久化规则
Present the result by default. For , create if necessary and write
with , , , , , and
frontmatter. Use a deterministic, filesystem-safe derived from the
topic. Save the same completed Markdown readout that was returned in conversation.
--save_readouts/_readouts/<slug>.mdtitletopicvoicesourcescreatedupdated<slug>A readout is derived output: exclude from retrieval and must not update or . Do not create or a readout file without a successful result.
_readouts/index.md.manifest.json_readouts/--save默认情况下仅展示结果。若使用参数,必要时创建目录,并将内容写入,同时添加、、、、和前置元数据。使用基于主题生成的确定性、文件系统安全的。保存的内容需与对话中返回的完整Markdown输出一致。
--save_readouts/_readouts/<slug>.mdtitletopicvoicesourcescreatedupdated<slug>输出内容属于衍生产物:检索时需排除目录,且不得更新或。仅当操作成功时,才可创建目录或输出文件。
_readouts/index.md.manifest.json--save_readouts/Logging and Hot Cache
日志与热缓存
After a narration attempt that reaches retrieval, append one event to
:
WIKI_NARRATElog.md- [TIMESTAMP] WIKI_NARRATE topic="<topic>" voice=<voice> result_pages=N mode=normal|filtered saved=true|false outcome=success|no_match|write_failed- Without , append the event with
--saveafter returning the readout; do not create a readout or changesaved=false.hot.md - After a successful write, append the event with
--save, then refreshsaved=truewith the topic, voice, cited pages, inference count, evidence gaps, and saved readout path.hot.mdchanges only after a successful save.hot.md - If the readout write fails after drafting, return the completed readout in
conversation, report that saving failed, append a event with
WIKI_NARRATEwhensaved=false outcome=write_failedremains writable, and do not updatelog.md.hot.md - If appending fails, preserve the readout result and report the logging failure separately. Never represent a failed log or save as successful.
log.md
当检索步骤完成后,向追加一条事件:
log.mdWIKI_NARRATE- [TIMESTAMP] WIKI_NARRATE topic="<topic>" voice=<voice> result_pages=N mode=normal|filtered saved=true|false outcome=success|no_match|write_failed- 若未使用,返回输出内容后追加
--save的事件;不得创建输出文件或修改saved=false。hot.md - 若写入成功,追加
--save的事件,然后更新saved=true,添加主题、语音模式、引用页面、推断语句数量、证据缺口和保存的输出文件路径。仅在保存成功后才可修改hot.md。hot.md - 若起草完成后写入输出文件失败,仍需在对话中返回完整的输出内容,告知保存失败;若可写入,追加
log.md的saved=false outcome=write_failed事件;不得更新WIKI_NARRATE。hot.md - 若追加失败,需保留输出结果并单独告知日志记录失败。绝不能将日志或保存失败的情况伪装成成功。
log.md
Safe Failure Behavior
安全失败处理
- No matching pages: explain that the vault lacks material for the topic. Create
no readout file even if was requested, do not change
--save, and record ahot.mdevent withWIKI_NARRATEwhenoutcome=no_matchis writable.log.md - Weak evidence or source conflict: do not resolve it with outside knowledge.
Return only supported claims, label ambiguity where applicable, and make the gap
explicit in ; saving remains available for that successful partial readout.
## Coverage - QMD unavailable or unconfigured: state the fallback briefly in the working
update and continue safely through and
index.md; do not fail the narration merely because QMD is unavailable.rg - Write failure: never leave a partial readout presented as saved, never update
, and never update
hot.mdorindex.md..manifest.json
- 无匹配页面: 说明库中缺少该主题的相关资料。即使请求了,也不得创建输出文件,不得修改
--save;若hot.md可写入,记录log.md的outcome=no_match事件。WIKI_NARRATE - 证据不足或来源冲突: 不得使用外部知识解决冲突。仅返回已证实的主张,在适用处标记模糊性,并在中明确信息缺口;该部分成功生成的输出仍可执行保存操作。
## 覆盖范围 - QMD不可用或未配置: 在处理更新中简要说明回退方案,然后通过和
index.md继续安全执行;不得仅因QMD不可用而终止生成。rg - 写入失败: 绝不能将部分输出内容伪装成已保存状态,不得更新,也不得更新
hot.md或index.md。.manifest.json