论文审计
- 作者仓库星标 1,919
- 作者更新于 实时读取
- 作者仓库 PaperSpine
- 领域
- 通用
- 兼容 Agent
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- 信任分
- 88 / 100 · 社区维护
- 作者 / 版本 / 许可
- @WUBING2023 · 未声明 license
- Token 消耗评级
- 低消耗
- 接入复杂程度
- 需简单配置
- 是否需要外部 API Key
- 不需要
- 兼容的系统
- 未声明(默认跨平台)
- 底层运行要求
- Python
- 文件与系统权限
-
- 只读
- 允许写入 / 修改
- Shell 执行
- 网络行为
- 仅限本地
- 安装命令数
- 26 条
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: paper-spine
description: Internal orchestrator — users should use /paperspine to start a full workflow. Use this skill as…
category: 通用
runtime: Python
---
# paper-spine 输出预览
## PART A: 任务判断
- 适用问题:通用任务拆解、检查和交付。
- 输入要求:目标材料、限制条件、期望输出和验收方式。
- 证据边界:围绕“Operating Principle / Required Configuration / Non-Negotiable Route”读取原文规则,不把推断写成作者承诺。
## PART B: 执行结果
- **01** 任务判断:确认你的需求是否属于通用任务拆解、检查和交付,并标出输入、限制和预期结果。
- **02** 执行计划:优先按“Operating Principle / Required Configuration / Non-Negotiable Route”拆成步骤,说明每一步会读取什么、修改什么、产出什么。
- **03** 交付结果:给出可复制的命令、文件改动、检查清单或内容草稿,并说明如何继续迭代。
- **04** 风险边界:结合 读取文件、写入/修改文件、执行终端命令、主要在本地完成、通常不需要额外 API Key 给出执行前确认项。
## Running Rules
- 读取文件、写入/修改文件、执行终端命令;主要在本地完成;通常不需要额外 API Key。
- 先小样例验证,再放大到真实任务。
- 交付时同时给结果、检查口径和下一步迭代建议。 原文出现了 `/paperspine` 这类斜杠命令;如果你的 Agent 支持命令触发,优先用命令开场,再补充目标和边界。
告诉 Agent 目标文件或材料、期望结果、不可改范围、是否允许联网或执行命令。本 Skill 的权限画像是:读取文件、写入/修改文件、执行终端命令。
先用一个小任务确认它会围绕“Operating Principle / Required Configuration / Non-Negotiable Route”工作;涉及文件或命令时,先看 diff、日志、预览或测试结果。
检查最终产物是否包含明确结果、必要证据和下一步动作;如果输出泛泛而谈,就补充输入、边界和验收标准后重跑。
---
name: paper-spine
description: Internal orchestrator — users should use /paperspine to start a full workflow. Use this skill as…
category: 通用
source: WUBING2023/PaperSpine
---
# paper-spine
## 什么时候使用
- 把通用方向的常用动作沉淀成 Agent 可调用的技能 适合处理通用任务拆解、检查、交付和复盘,核心价值是把输入、判断、执行、验证和交付边界固定下来,避免 Agent 泛泛回答。 把任务拆成可执行、可检查、可继续迭代的步骤;通常不需要额外…
- 面向通用任务拆解、检查和交付,优先处理能明确输入、步骤和验收标准的工作。
## 需要提供什么
- 目标材料、目录范围、期望结果和不可改动内容。
- 是否允许联网、执行命令、读写文件或调用外部服务。
## 执行规则
- 围绕「Operating Principle / Required Configuration / Non-Negotiable Route」组织步骤,不把推断写成作者事实。
- 读取文件、写入/修改文件、执行终端命令;主要在本地完成;通常不需要额外 API Key。
- 先跑小样例,确认结果可检查后再扩大任务范围。
## 输出要求
- 给出最终产物、关键证据、验证方式和下一步动作。
- 信息不足时标记 unknown,不编造命令、平台或依赖。 作者原文负责流程事实;仓库文件负责来源和命令;流狐只补充适用场景、限制和质量判断。
skill "paper-spine" {
输入层 -> 用户目标 + 目标文件 + 禁止范围 + 验收标准
上下文层 -> Operating Principle / Required Configuration / Non-Negotiable Route
规则层 -> SKILL.md 触发条件 / 执行顺序 / 输出格式
运行层 -> Python | 读取文件、写入/修改文件、执行终端命令 | 主要在本地完成
安全层 -> 通常不需要额外 API Key + 小任务验证 + diff / 日志复核
输出层 -> 可复制结果 + 检查清单 + 下一步迭代
} PaperSpine Orchestrator
Use this skill as the suite entrypoint. It is the main orchestrator: it routes the user to UI, intake, research, citation, rewrite, build, LaTeX, translate, audit, and update branch skills.
Operating Principle
PaperSpine is a research-writing workflow, not a prose patcher. Its job is to learn the target scene and strong examples first, force a user-confirmed motivation, design the paper row by row, and only then write or rebuild the manuscript.
Never fabricate data, metrics, p-values, datasets, citations, figures, or experimental claims. User materials are authoritative for this paper's results. External examples teach structure and rhetoric only.
Required Configuration
Prefer reading paper_rewriting_output/paper_spine_config.json. If it is
missing, route to paper-spine-intake or ask the same fields directly.
Required fields:
| Field | Allowed Values |
|---|---|
workflow |
rewrite_existing, build_from_materials |
scene |
journal, conference, report_review, competition |
tier |
flash, pro |
output_language |
en, zh |
target_name |
free text |
materials_dir |
path or empty |
draft_path |
path or empty |
user_motivation |
free text or empty |
official_urls |
list |
special_requirements |
list |
word_output |
none, docx |
translation_package |
none, zh |
reference_mode |
local_first, specified_paths, web |
reference_paths |
list of local reference folders/files; default ["."] |
citation_target_count |
integer; default 20 |
Non-Negotiable Route
- If configuration is missing or incomplete, run the terminal wizard from
paper-spine-ui, thenpaper-spine-intake; do not ask the user to hand-write JSON or answer a long plain chat checklist when a terminal is available. The wizard is the supported Claude Code/Codex command-line UI. In Claude Code,/paperspineis the preferred entry: it launches the external intake window automatically when configuration is missing. - Always create or verify
source_map.md. - Always use
paper-spine-researchbefore choosing the final motivation. Research must first index local/default references according toreference_modeandreference_paths; web collection supplements this index but does not replace it. - Research must create
reference_materials/,research_dossier.md,exemplar_learning_dossier.md,style_profile.md,sota_gap_map.md, andmotivation_options_after_research.md. - Use
paper-spine-citationto createcitation_support_bank.md. This bank is separate from exemplar learning: it supports Introduction, Related Work, Discussion, background, limitation, and application claims. Generate at leastcitation_target_count * 3candidates; default target is 20, so the default candidate pool is 60. About 80% should be recent, usingcurrent_year - 3as the simple threshold. - Stop for user confirmation of the controlling motivation. Do not write or
rewrite until
confirmed_motivation.mdrecords the user's chosen motivation. The final motivation should be concise and specific. Do not inflate one narrow contribution into a multi-claim motivation. - If
workflowisrewrite_existing, usepaper-spine-rewrite. - If
workflowisbuild_from_materials, usepaper-spine-build. - Before drafting, both workflows must create
section_blueprints.mdandwriting_rationale_matrix.md. The matrix is the execution plan, not a post-hoc summary. - Run the integrity audit:
python scripts/integrity_audit.py paper_rewriting_output --markdown --write. This producesintegrity_audit.md— a teaching report where every finding includes root cause, fix action, downstream impact, and a teaching note. The report must show no BLOCKED findings before LaTeX compilation can proceed. - Use
paper-spine-latexfor final LaTeX structure, figure placement, citation safety, and compile-oriented cleanup. - Always produce final LaTeX source. Compile PDF when a TeX engine is available. Markdown alone is not a final PaperSpine output.
- If
word_outputisdocx, produce and check a Word version. - If
output_languageisenandtranslation_packageiszh, usepaper-spine-translateto produce the completetranslation_zh/package. Runpython scripts/translate_guard.py paper_rewriting_output --markdown --writeand require PASS. The translation package must cover every required intermediate and final artifact with row-by-row translation of large tabular files. Summaries are not acceptable. - Use
paper-spine-auditbefore declaring the work complete.
If another skill is unavailable, follow the referenced workflow locally and produce the same artifacts.
Standard Artifacts
Write workflow artifacts under paper_rewriting_output/ unless the user asks
otherwise.
Common required artifacts:
paper_spine_config.jsonpaper_spine_config.mdsource_map.mdreference_materials/source_index.mdresearch_dossier.mdexemplar_learning_dossier.mdstyle_profile.mdsota_gap_map.mdmotivation_options_after_research.mdcitation_support_bank.mdconfirmed_motivation.mdsection_blueprints.mdwriting_rationale_matrix.md
Rewrite existing:
original_logic_map.mdevidence_bank.mdrewrite_matrix.mdlogic_transfer_audit.md- revised manuscript
Build from materials:
source_inventory.mdevidence_bank.mdfigure_asset_map.mdclaim_register.md- manuscript draft as an intermediate artifact
Final artifacts:
latex_report.mdfinal_artifact_manifest.mdfinal_paper/main.texfinal_paper/paper.pdfwhen a TeX compiler is availablefinal_paper/paper.docxandword_report.mdwhen Word output is requestedtranslation_zh/when English output requests a Chinese translation package
Writing Rationale Matrix Requirement
writing_rationale_matrix.md must be created before final writing in both
rewrite_existing and build_from_materials. It must be a Markdown table used
as the execution plan:
| Row ID | Manuscript Unit | Current/Planned Function | Motivation Link | Reference/SOTA Pattern Learned | Target Scene or Venue Norm | User Evidence or Citation Anchor | Planned Change | Final Text Check |
|---|
The first data row must justify the whole-work framework, structure, or main throughline in depth: why this controlling structure is chosen, how SOTA/target examples informed it, how it follows the confirmed motivation, which user evidence anchors it, and how the final manuscript will be checked against it. Subsequent rows must follow the target document in order and split it into the smallest useful writing units: paragraph-level moves, paragraph groups, model steps, assumptions, result/claim units, review synthesis units, competition solution blocks, headings, captions, and other argument-bearing fragments.
This is flexible by scene. A journal paper may naturally use abstract, introduction, methods, results, and discussion units. A competition paper may use problem restatement, assumptions, model construction, solving process, validation, sensitivity, strengths/weaknesses, and recommendations. A report or review may use executive summary, background, taxonomy, comparison, synthesis, and recommendation units. Do not force all tasks into a fixed IMRaD template.
Each row must explain concrete anchors across multiple dimensions: it advances or narrows the confirmed motivation, transfers a structural pattern learned from SOTA/example work, matches a target-scene norm, uses a user-provided evidence item, creates a front/back echo, fixes an original logic failure, and/or constrains a claim to available evidence. For important rows, write enough reasoning that the user can learn why this writing move is better.
A shallow matrix is a failure. If most rows say only "improve clarity" or "polish wording", stop and redo the research/blueprint stage.
Branch Map
Read references/orchestrator-branch-map.md when the workflow needs to be
debugged or when a branch output fails audit. The rule is simple: route back to
the branch that owns the weak artifact instead of patching the final paper
directly.
Command-Line UI
Claude Code and Codex do not guarantee a native graphical picker for skills.
The supported UI is the bundled terminal wizard. When configuration is missing,
run paper-spine-intake. In Claude Code, /paperspine must launch the intake
UI automatically; do not ask the user to call a separate UI command. The launcher
opens the bundled terminal TUI, which supports Up/Down for option values,
Left/Right for fields, Enter for edit or confirm, and S to save. Claude Code
does not currently provide third-party skills with an API for embedding a custom
keyboard UI directly inside the chat input box, so the real terminal TUI is the
supported interactive path. Use native structured questions only when the host
exposes them reliably in the current session. Use chat fallback only when
terminal execution is impossible.
先判断是否适合
作者设计意图
作者的方法与取舍
边界和复核