consistency-polisher

consistency-polisher is a skill for Claude Code from OpenRaiser/PaperFit. It costs 0 tokens per session (3,356 once invoked), scanned A, original, MIT.

A LaTeX layout helper that makes tables, figures, and captions follow consistent formatting throughout a research paper. LaTeX is a system often used to typeset academic documents.

In plain words
What is it for?
Use it to standardize table sizing and caption formatting, and to identify inconsistent image resolution or visual style for manual review.
Why use it?
It removes visible style differences, such as tables using different text sizes or captions following different formats.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the paperfit plugin — 8 skills, 9 commands shipped together

Good fit Use it to standardize table sizing and caption formatting, and to identify inconsistent image resolution or visual style for manual review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openraiser/paperfit/consistency-polisher
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add OpenRaiser/PaperFit --skill consistency-polisher
Clone the repo
git clone --depth 1 https://github.com/OpenRaiser/PaperFit

Made for: Claude Code.

Or install paperfit, the plugin that ships this one along with the rest of its 8 skills, 9 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for consistency-polisher

README.md
[![agentmods](https://agentmods.dev/badge/skills/openraiser/paperfit/consistency-polisher/github.svg)](https://agentmods.dev/skills/openraiser/paperfit/consistency-polisher)
Your own site
<a href="https://agentmods.dev/skills/openraiser/paperfit/consistency-polisher"><img src="https://agentmods.dev/badge/skills/openraiser/paperfit/consistency-polisher/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for consistency-polisher

Your own site · 80×15
<a href="https://agentmods.dev/skills/openraiser/paperfit/consistency-polisher"><img src="https://agentmods.dev/badge/skills/openraiser/paperfit/consistency-polisher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,356 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.03356
Opus 5.5 $0.00000 $0.01342
Sonnet 5.5 $0.00000 $0.00671
Haiku 4.5 $0.00000 $0.00336

Measured 1mo ago against content hash 7aa98552c64a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

consistency-polisher scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/consistency-polisher/SKILL.md · 340 lines

How it starts

The opening of the file, as written. The whole thing — 340 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Consistency Polisher Skill

概述

本技能专门处理 Category C:排版一致性缺陷,包括:

  • C1:表格字号不统一(\resizebox 滥用导致字号参差)
  • C2:图片分辨率/风格不一致
  • C3:Caption 格式不统一

该技能由 code-surgeon-agent 调用,通过对表格字号、图片尺寸策略、标题格式的统一化处理,消除全篇排版风格割裂,使论文呈现出专业、一致的视觉形象。

一致性缺陷通常不致命,但严重影响审稿人对论文专业度的第一印象。本技能的目标是建立并强制执行全篇统一的排版规范。

Source-changing 边界:本技能默认只生成一致性 repair plan、风险和 approval 状态;只有显式 --apply 或宿主等价授权存在时才写回 .tex。多轮一致性修复必须同时显式启用 --apply --max-rounds N,并由 runtime 的 carry-forward、freshness、candidate gate、round lineage 和 gatekeeper 决策放行。


适用场景

缺陷 ID 描述 优先级 是否自动修复
C1 表格字号不统一 Medium 是
C2 图片分辨率/风格不一致 Low 否(仅诊断并建议)
C3 Caption 格式不统一 Medium 是

输入规范

输入项 来源 说明
主 .tex 文件路径 项目上下文 需修改的源文件
排版侦探报告 layout-detective-agent 输出 包含 C 类缺陷的具体描述
模板信息 templates.yaml 或上下文 会议/期刊模板的字号、栏宽等默认参数

输出规范

{
  "skill": "consistency-polisher",
  "status": "success | partial | failed",
  "modified_files": ["main.tex", "tables/experiments.tex"],
  "changes": [
    {
      "defect_id": "C1",
      "object": "Table 2",
      "action": "移除 \\resizebox,改用 tabularx 并统一使用 \\small",
      "before_snippet": "\\resizebox{\\linewidth}{!}{\\begin{tabular}{...}",
      "after_snippet": "{\\small\\begin{tabularx}{\\linewidth}{...}}"
    }
  ],
  "suggestions": [
    {
      "defect_id": "C2",
      "object": "Figure 5",
      "message": "图片分辨率过低(72 DPI),建议替换为至少 300 DPI 的矢量图或高分辨率位图"
    }
  ],
  "unresolved": []
}

修复策略

通用原则

  1. 建立风格锚点:从全篇中自动识别或由用户指定一个“最佳实践”表格/图片/Caption 作为模板,其余向它看齐。
  2. 最小破坏:修改仅限于样式层面,不改变表格内容、图片信息或标题文本。
  3. 模板优先:若会议/期刊模板提供了官方样式文件,优先遵循模板预设,而非自定义样式。

C1:表格字号不统一

问题特征:

  • 不同表格使用了差异明显的字号(如一个 \small,另一个 \tiny)。
  • 使用 \resizebox{\linewidth}{!}{...} 整体缩放表格,导致文字被非线性缩放而变形,且与其他表格字号不一致。

修复策略(按优先级):

策略 1:移除 \resizebox,改用 tabularx 自适应宽度

\resizebox 是表格一致性的头号杀手,必须无条件移除。

% 修改前
\begin{table}
\centering
\resizebox{\linewidth}{!}{
  \begin{tabular}{|l|c|c|c|}
  \hline
  Method & Metric1 & Metric2 & Metric3 \\
  \hline
  Ours & 95.2 & 87.3 & 78.1 \\
  \hline
  \end{tabular}
}
\caption{Results}
\end{table}

% 修改后
\begin{table}
\centering
\small  % 统一字号
\begin{tabularx}{\linewidth}{|l|X|X|X|}
\hline
Method & Metric1 & Metric2 & Metric3 \\
\hline
Ours & 95.2 & 87.3 & 78.1 \\
\hline
\end{tabularx}
\caption{Results}
\end{table}

Read the full file on GitHub · 340 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +3 lines 7aa98552c64a
  2. 1mo ago First seen · 337 lines · 0 tokens per session scan A 8d9eefa491c1

Subscribe to this mod's changes

consistency-polisher is a skill published in the GitHub repository OpenRaiser/PaperFit (333 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,356 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

figures

Makes publication-quality plots from data with matplotlib, learning curves, scaling laws, benchmark and ablation comparisons, Pareto trade-offs, heatmaps and confusion matrices, sized for the page, vector, with uncertainty shown. Use whenever results are plotted, charted or visualized for a paper, report or answer, or…

synthetic-sciences/openscience · 99 tokens

paper-length-gate

Deterministic artifact-backed manuscript readiness gate for meta-paper-write. Validates the workspace LaTeX artifact before compilation while leaving final page-count enforcement to compilepdf.

opensquilla/opensquilla · 38 tokens

paper-plot-stub

Plot a results CSV (x, ybaseline, yours) as a two-line matplotlib chart and write a PDF. Demo-only.

opensquilla/opensquilla · 35 tokens

speech-to-text

Transcribe audio to text using ElevenLabs Scribe v2. Use when converting audio/video to text, generating subtitles, transcribing meetings, or processing spoken content.

calesthio/OpenMontage · 37 tokens

manimce-best-practices

Trigger when: (1) User mentions "manim" or "Manim Community" or "ManimCE", (2) Code contains from manim import , (3) User runs manim CLI commands, (4) Working with Scene, MathTex, Create(), or ManimCE-specific classes. Best practices for Manim Community Edition - the community-maintained Python animation engine.…

calesthio/OpenMontage · 149 tokens

6verity

A final-checking workflow for mathematical modelling competition papers, using either Typst or LaTeX to build the document. It checks the finished paper and its supporting files before submission.

jihe520/MathModelAgent · 76 tokens