sn-prepare-citations SKILL.md skillA
sn-prepare-citations from opensensenova/sensenova-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add opensensenova/sensenova-skills/sn-prepare-citations@git:20260630.e4eeb3cPins git:20260630.e4eeb3c in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- opensensenova/sensenova-skills
- Path
skills/sn-prepare-citations/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260630.e4eeb3c, committed Jun 30, 2026
- Size
- 2,381 bytes
- Repository stars
- 6,031
- License
- MIT
用于终稿完成且脚注需要后处理时:去重 [^key] 引用,转换为 [N] 编号,并追加参考文献。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# sn-prepare-citations(引用渲染) 处理 sn-deep-research 的 `stitched.md`:从 evidence.json 收集 `sources[]`,将正文中的 `[^source_id]` 转换为 `[N]` 编号引用,插入 L0/TOC,并追加参考文献。 ## 推荐用法(sn-deep-research v2) ```bash python3 scripts/prepare_citations.py \ --report <report_dir>/stitched.md \ --evidence <report_dir>/sub_reports/d1.evidence.json <report_dir>/sub_reports/d2.evidence.json \ --outline <report_dir>/outline.json \ --output <report_dir>/report.md ``` ## 参数 | 参数 | 说明 | |---|---| | `--report` | 输入 markdown。sn-deep-research 中通常是 `stitched.md` | | `--evidence` | 全部 `d*.evidence.json`,用于收集 source 元数据和修复 claim-id 泄漏 | | `--outline` | 可选但推荐。提供 L0、TOC 和标题结构信息 | | `--output` | 输出 markdown。sn-deep-research 中通常是 `report.md` | | `--no-l0` | 关闭 L0 摘要层渲染 | | `--no-toc` | 关闭 TOC 渲染 | ## 处理逻辑 1. 从所有 evidence.json 的 `sources[]` 收集引用元数据。 2. 按 URL 归一化去重,同 URL source 合并为同一编号。 3. 检测 `[^dN.cM]` claim-id 引用泄漏;能映射到 claim evidence 时替换为对应 `source_id`,不能映射则报告 unresolved。 4. 扫描正文中的 `[^source_id]`,按首次出现顺序分配编号。 5. 替换 `[^source_id]` → `[N]`,移除脚注定义行。 6. 根据 outline 插入或校准 L0 / TOC。 7. 追加 `## 参考文献`。 8. 写出 `report.md` 和同目录 `citations.json`。 9. stdout 输出结构化 JSON,包含 orphan citations、claim-id leakage、TOC 和 L0 状态。 ## 控制器处理要求 …
Read the whole file at its exact version.
How to install
mdr add opensensenova/sensenova-skills/sn-prepare-citations@sha256:442ee2f695b53ad5The line at the top of this page pins the label git:20260630.e4eeb3c, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_lonwx2amsvckx6pf)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Jun 30, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (2381 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
opensensenova/sensenova-skills · 6,031 stars · license MIT · pushed 2026-11-03 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_lonwx2amsvckx6pf GET https://markdownregistry.com/api/v1/resolve?ref=opensensenova/sensenova-skills/sn-prepare-citations GET https://markdownregistry.com/api/v1/blob/442ee2f695b53ad524cb2e296a4bb7e7e6a851fb595447bed91c2101c0bdd309
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.