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.
npx skills add OpenRaiser/PaperFit --skill overflow-repairgit clone --depth 1 https://github.com/OpenRaiser/PaperFitWrote 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.
[](https://agentmods.dev/skills/openraiser/paperfit/overflow-repair)<a href="https://agentmods.dev/skills/openraiser/paperfit/overflow-repair"><img src="https://agentmods.dev/badge/skills/openraiser/paperfit/overflow-repair/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.
<a href="https://agentmods.dev/skills/openraiser/paperfit/overflow-repair"><img src="https://agentmods.dev/badge/skills/openraiser/paperfit/overflow-repair.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.02931 |
| Opus 5 | $0.00000 | $0.01465 |
| Sonnet 5 | $0.00000 | $0.00586 |
| Haiku 4.5 | $0.00000 | $0.00293 |
Grade A, and why
overflow-repair 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 305 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Overflow Repair Skill
概述
本技能专门处理 Category D:溢出与对齐缺陷,包括:
- D1:Overfull hbox(段落文本、表格单元格、公式溢出栏宽)
- D2:长公式未合理断行
- D3:URL/长标识符溢出
该技能由 code-surgeon-agent 调用,执行对 .tex 源码的精确修改,以消除或缓解溢出问题。所有修复遵循 最小修改原则,不改变学术内容。
适用场景
当 layout-detective-agent 或 rule-engine-agent 报告中出现以下缺陷 ID 时,路由至本技能:
| 缺陷 ID | 描述 | 优先级 |
|---|---|---|
| D1 | Overfull hbox(段落/表格/公式) | High |
| D2 | 长公式未断行 | High |
| D3 | URL/长标识符溢出 | Medium |
输入规范
| 输入项 | 来源 | 说明 |
|---|---|---|
主 .tex 文件路径 |
项目上下文 | 需修改的源文件 |
| 规则引擎报告 | rule-engine-agent 输出 |
包含溢出位置(行号)、溢出量、对象 |
| 排版侦探报告 | layout-detective-agent 输出 |
包含视觉确认的溢出页面和对象 |
| 当前编译日志 | .log 文件 |
用于验证修复后溢出是否消除 |
输出规范
修改完成后,必须返回以下信息:
{
"skill": "overflow-repair",
"status": "success | partial | failed",
"modified_files": ["main.tex", "tables/table1.tex"],
"changes": [
{
"defect_id": "D1",
"object": "Table 2",
"action": "替换 tabular 为 tabularx,设置列宽比例",
"before": "\\begin{tabular}{|l|c|c|}",
"after": "\\begin{tabularx}{\\linewidth}{|l|X|X|}"
}
],
"unresolved": []
}
修复策略
策略选择流程
- 根据日志和视觉报告定位溢出位置与类型(段落/表格/公式/URL)。
- 按照下文各类型的修复策略依次尝试,从最不侵入的方案开始。
- 每次修改后,通知
orchestrator-agent触发重新编译以验证效果。 - 若当前策略无效,回退并尝试下一策略。
D1:段落文本溢出
问题特征:
- 日志:
Overfull \hbox (Xpt too wide) in paragraph at lines A--B - 视觉:某行文本伸出右边界
修复策略(按优先级):
-
引入断词点
在溢出单词的合适位置添加\-连字符,使 LaTeX 能在该处断行。% 修改前 This is a verylongwordthatdoesnotbreak. % 修改后 This is a very\-long\-word\-that\-does\-not\-break. -
调整段落级容差
在段落前临时增加\emergencystretch或调整\tolerance。{\emergencystretch=1em % 允许额外拉伸 1em This is the problematic paragraph content... }注意:修改后需恢复默认值,避免影响全局。
-
局部微调措辞(需
semantic-polish-agent介入)
若排版手段无法解决,可替换为稍短的近义词或调整语序。% 修改前 the implementation of the proposed methodology % 修改后 the implementation of our method
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.
- 9d ago First seen · 305 lines · 0 tokens per session scan A 6debe42611c8
overflow-repair is a skill published in the GitHub repository OpenRaiser/PaperFit (333 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,931 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.
Other skills, from other repositories
hive.pdf
Read, write, merge, split, rotate, watermark, encrypt, and OCR PDF files using Python (pypdf, pdfplumber, reportlab, pypdfium2) and command-line tools (poppler-utils, qpdf). Use when the user asks to extract text/tables/images from a PDF, create or modify a PDF, combine or split PDFs, OCR a scanned PDF…
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.
youdaonote
A command-line skill for managing Youdao Cloud Notes, a Chinese note-taking service. It supports notes, to-do items, saved web pages, searches, and folders.
meeting-minutes-taker
Turn meeting transcripts into accurate minutes with decisions, actions, owners, and source evidence; also review or merge minutes and resolve speaker ambiguity.
obsidian
Read, search, create, or edit notes in an authorized Obsidian vault while preserving frontmatter, wikilinks, and unrelated notes.
lark-doc
A Feishu (Lark) document tool for reading, creating, editing, and managing online documents, images, attachments, whiteboards, and mind maps.