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 space-util-fixergit 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/space-util-fixer)<a href="https://agentmods.dev/skills/openraiser/paperfit/space-util-fixer"><img src="https://agentmods.dev/badge/skills/openraiser/paperfit/space-util-fixer/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/space-util-fixer"><img src="https://agentmods.dev/badge/skills/openraiser/paperfit/space-util-fixer.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.03446 |
| Opus 5.5 | $0.00000 | $0.01378 |
| Sonnet 5.5 | $0.00000 | $0.00689 |
| Haiku 4.5 | $0.00000 | $0.00345 |
Grade A, and why
space-util-fixer 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.
How it starts
The opening of the file, as written. The whole thing — 327 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Space Utilization Fixer Skill
概述
本技能专门处理 Category A:空间利用缺陷,包括:
- A1:孤行/寡行(Widow/Orphan Lines)
- A2:末页大面积留白(Excessive Trailing Whitespace)
- A3:页数预算违反(Page Budget Violation)
- A4:双栏末页左右栏高度不齐(Unbalanced Column Heights)
- A5:双栏页内列竖向空洞(栏内中段大块无图无表空白,常与
figure*/[H]/不当断页有关)
该技能由 code-surgeon-agent 或 semantic-polish-agent 调用,通过对段落级排版控制、浮动体调度和最小语义改写的组合运用,优化页面空间分配,使文档达到专业级的视觉均衡。
空间利用问题的修复常常需要多轮迭代,因为局部调整会影响全局分页。因此,每次修改后必须重新编译并审查页图。
Source-changing 边界:本技能默认只生成空间利用 repair plan、风险和 approval 状态;只有显式 --apply 或宿主等价授权存在时才写回源码。多轮写回必须同时显式启用 --apply --max-rounds N,并由 runtime 的 second_round_apply_readiness、approval carry-forward、artifact freshness、candidate approval scope gate 和 gatekeeper CONTINUE 控制。
适用场景
| 缺陷 ID | 描述 | 优先级 | 是否允许语义修改 |
|---|---|---|---|
| A1 | 孤行/寡行 | High | 是(最后手段) |
| A2 | 末页大面积留白 | High | 是(最后手段) |
| A3 | 页数预算违反 | Critical | 是(最后手段) |
| A4 | 双栏末页左右栏高度不齐 | Medium | 否 |
| A5 | 双栏页内列竖向空洞(非末页、栏内大块无正文空白) | High | 视情况 |
输入规范
| 输入项 | 来源 | 说明 |
|---|---|---|
主 .tex 文件路径 |
项目上下文 | 需修改的源文件 |
| 排版侦探报告 | layout-detective-agent 输出 |
包含 A 类缺陷的页码和描述 |
| 目标页数(若适用) | 用户约束 | A3 修复必须提供 |
| 模板类型 | templates.yaml 或上下文 |
单栏/双栏 |
输出规范
{
"skill": "space-util-fixer",
"status": "success | partial | failed",
"modified_files": ["main.tex"],
"changes": [
{
"defect_id": "A1",
"object": "第4页顶部孤行",
"action": "在段落前添加 \\looseness=-1",
"before_snippet": "The proposed method achieves...",
"after_snippet": "{\\looseness=-1 The proposed method achieves...}"
}
],
"unresolved": []
}
修复策略
通用原则
- 先排版,后语义:优先使用 LaTeX 原生的排版控制命令,仅在无效时才考虑语义级改写。
- 局部修改,全局验证:改动一段可能影响后续多页分页,必须完整编译并检查全文档。
- 避免硬性分页:禁止滥用
\newpage或\clearpage来“凑页数”,这会破坏文档结构的自然性。
A1:孤行/寡行修复
问题特征:
- 段落最后一行单独出现在下一页顶部(孤行)。
- 段落第一行单独留在上一页底部(寡行)。
- 段落末尾仅含 1-3 个单词的短行(段尾小尾巴)。
修复策略(严格按优先级顺序尝试):
策略 1:段落级收紧 (\looseness=-1)
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.
- 1mo ago Changed · +3 lines 4e2e79f565a6
- 1mo ago First seen · 324 lines · 0 tokens per session scan A 842866c1f0d0
space-util-fixer 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,446 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
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…
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.
paper-plot-stub
Plot a results CSV (x, ybaseline, yours) as a two-line matplotlib chart and write a PDF. Demo-only.
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.
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.…
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.