Agent Skillsopensquilla/opensquilla › paper-latex-sanitizer

paper-latex-sanitizer

GitHub

作为论文写入前的确定性预处理工具,规范化LaTeX标点符号,替换未提供的预测数值为占位符,并清理冗余的图表模板输入行。

src/opensquilla/skills/bundled/paper-latex-sanitizer/SKILL.md opensquilla/opensquilla

Trigger Scenarios

执行 meta-paper-write 流程前 需要标准化 LaTeX 文档内容时

Install

npx skills add opensquilla/opensquilla --skill paper-latex-sanitizer -g -y
More Options

Non-standard path

npx skills add https://github.com/opensquilla/opensquilla/tree/main/src/opensquilla/skills/bundled/paper-latex-sanitizer -g -y

Use without installing

npx skills use opensquilla/opensquilla@paper-latex-sanitizer

指定 Agent (Claude Code)

npx skills add opensquilla/opensquilla --skill paper-latex-sanitizer -a claude-code -g -y

安装 repo 全部 skill

npx skills add opensquilla/opensquilla --all -g -y

预览 repo 内 skill

npx skills add opensquilla/opensquilla --list

SKILL.md

Frontmatter
{
    "name": "paper-latex-sanitizer",
    "metadata": {
        "requires": {
            "anyBins": [
                "python",
                "python3"
            ]
        }
    },
    "entrypoint": {
        "parse": "text",
        "stdin": "{{ with.payload }}",
        "command": "python {baseDir}\/scripts\/sanitize.py",
        "timeout": 30
    },
    "provenance": {
        "origin": "opensquilla-original",
        "license": "Apache-2.0"
    },
    "description": "Deterministically normalize safe LaTeX punctuation and replace unsupported forecast magnitudes with explicit placeholders before meta-paper-write publication gates run.",
    "user-invocable": false,
    "disable-model-invocation": true
}

Paper LaTeX sanitizer

Internal deterministic pre-publication sanitizer for meta-paper-write. It runs before the length, citation, and publication-quality gates.

The sanitizer performs only two bounded repairs:

  • normalize U+2011, U+2013, and isolated U+2014 punctuation to LaTeX-safe ASCII equivalents while preserving paired Chinese em dashes (——);
  • when EVIDENCE_STATUS: not_supplied, replace concrete forecast magnitudes in results-facing sections with TBD / 待实验确定. Planned setup values remain intact. A declared result threshold remains intact only when the same magnitude is present in the authoritative user request/paper contract; labeling an invented number as a target or hypothesis does not preserve it;
  • remove only the known generated figure_placeholder_template or table_placeholder_template input line when the same manuscript already contains the corresponding inlined figure/table environment. Arbitrary user \input{...} commands and non-redundant template inputs remain untouched.

For an artifact-backed package, the referenced MANUSCRIPT_PATH is replaced atomically and the compact manifest is returned. Inline manuscript packages are normalized in the returned package. This step is not a quality gate: the independent paper-quality-gate must still run afterwards and block any unsupported semantic claims that remain.

Version History

  • 95673be Current 2026-08-07 00:58

Same Skill Collection

src/opensquilla/skills/bundled/advanced-dubbing-studio/SKILL.md
src/opensquilla/skills/bundled/ai-video-script/SKILL.md
src/opensquilla/skills/bundled/audio-cog/SKILL.md
src/opensquilla/skills/bundled/awesome-webpage-image-download/SKILL.md
src/opensquilla/skills/bundled/awesome-webpage-research/SKILL.md
src/opensquilla/skills/bundled/AwesomeWebpageMetaSkill/SKILL.md
src/opensquilla/skills/bundled/cron/SKILL.md
src/opensquilla/skills/bundled/docx/SKILL.md
src/opensquilla/skills/bundled/filesystem/SKILL.md
src/opensquilla/skills/bundled/git-diff/SKILL.md
src/opensquilla/skills/bundled/github/SKILL.md
src/opensquilla/skills/bundled/history-explorer/SKILL.md
src/opensquilla/skills/bundled/html-coder/SKILL.md
src/opensquilla/skills/bundled/html-to-pdf/SKILL.md
src/opensquilla/skills/bundled/http-fetch/SKILL.md
src/opensquilla/skills/bundled/latex-compile/SKILL.md
src/opensquilla/skills/bundled/memory/SKILL.md
src/opensquilla/skills/bundled/meta-kid-project-planner/SKILL.md
src/opensquilla/skills/bundled/multi-search-engine/SKILL.md
src/opensquilla/skills/bundled/music-and-singing-studio/SKILL.md
src/opensquilla/skills/bundled/nano-banana-pro-openrouter/SKILL.md
src/opensquilla/skills/bundled/nano-banana-pro/SKILL.md
src/opensquilla/skills/bundled/nano-pdf/SKILL.md
src/opensquilla/skills/bundled/openrouter-video-generator/SKILL.md
src/opensquilla/skills/bundled/paper-abstract-author/SKILL.md
src/opensquilla/skills/bundled/paper-artifact-runtime/SKILL.md
src/opensquilla/skills/bundled/paper-citation-integrity-gate/SKILL.md
src/opensquilla/skills/bundled/paper-citation-planner/SKILL.md
src/opensquilla/skills/bundled/paper-delivery-summary/SKILL.md
src/opensquilla/skills/bundled/paper-experiment-stub/SKILL.md
src/opensquilla/skills/bundled/paper-length-gate/SKILL.md
src/opensquilla/skills/bundled/paper-outline-author/SKILL.md
src/opensquilla/skills/bundled/paper-preference-planner/SKILL.md
src/opensquilla/skills/bundled/paper-quality-gate/SKILL.md
src/opensquilla/skills/bundled/paper-refbib-stub/SKILL.md
src/opensquilla/skills/bundled/paper-revision-author/SKILL.md
src/opensquilla/skills/bundled/paper-section-author/SKILL.md
src/opensquilla/skills/bundled/paper-source-curator/SKILL.md
src/opensquilla/skills/bundled/paper-source-readiness-gate/SKILL.md
src/opensquilla/skills/bundled/pptx/SKILL.md
src/opensquilla/skills/bundled/seedance-2-prompt/SKILL.md
src/opensquilla/skills/bundled/short-drama-delivery-audit/SKILL.md
src/opensquilla/skills/bundled/short-drama-review-normalizer/SKILL.md
src/opensquilla/skills/bundled/skill-creator-linter/SKILL.md
src/opensquilla/skills/bundled/skill-creator-proposals/SKILL.md
src/opensquilla/skills/bundled/skill-creator-smoke-test/SKILL.md
src/opensquilla/skills/bundled/srt-from-script/SKILL.md
src/opensquilla/skills/bundled/stack-trace-generic-probe/SKILL.md
src/opensquilla/skills/bundled/stack-trace-go-probe/SKILL.md

Metadata

Files
0
Version
95673be
Hash
61161303
Indexed
2026-08-07 00:58

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-07 02:15
浙ICP备14020137号-1 $방문자$