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 agentmods add commands/openraiser/paperfit/adjust-lengthgit 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/commands/openraiser/paperfit/adjust-length)<a href="https://agentmods.dev/commands/openraiser/paperfit/adjust-length"><img src="https://agentmods.dev/badge/commands/openraiser/paperfit/adjust-length.svg" alt="Measured on agentmods" height="20"></a>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 | $0.00000 | $0.00405 |
| Opus 5 | $0.00000 | $0.00202 |
| Sonnet 5 | $0.00000 | $0.00081 |
| Haiku 4.5 | $0.00000 | $0.00040 |
Grade A, and why
adjust-length 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 3d 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.
What it actually says
/adjust-length — 调整页数
作用: 尝试通过排版微调或受控语义改写逼近目标页数。它是专家快捷入口;普通自然语言如“把正文压到 8 页,尽量不要改语义”也应能触发同类任务。
用户入口说明:
- 用户表达目标页数与约束即可,不需要手动执行内部命令。
- 长度调整仍然属于视觉闭环任务,不能只看字数或页数数字。
- 语义改写只能在排版手段用尽后受控触发。
工具调用约定
编译、渲染、日志解析等统一见 CLAUDE.md「系统架构与运行时边界」:paperfit render、paperfit run scripts/…。
用法
/adjust-length
也可以由自然语言触发,例如:
用 PaperFit 把正文压到 9 页
把这篇论文扩到满 8 页,但不要破坏结论与结果表达
执行流程
- 分析当前页数与目标页数的偏差
- 若超页:优先压缩浮动体、优化版面结构、精炼表述
- 若不满页:优先做版面与结构补强,必要时受控扩写结论/讨论
- 每轮都回到视觉验收,确认页数变化没有破坏整体版面
- 语义干预仅在排版手段用尽后使用
调度
- 语义润色:
agents/semantic-polish-agent.md - 技能:
skills/space-util-fixer/、skills/writing-polish/
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.
- 3d ago First seen · 39 lines · 0 tokens per session scan A 7ef926a61611
adjust-length is a command published in the GitHub repository OpenRaiser/PaperFit (331 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 405 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 commands, from other repositories
bump-plugin
Bump changed plugin and marketplace version.
pre-pr-check
Pre-PR quality gate for PromptPit. Run this on your feature branch after implementation is complete, before opening a PR. Chains three checks: code review, adapter correctness verification, and code simplification.
typescript
Apply TypeScript best practices and coding standards.
vue3
Apply Vue 3 with TypeScript and Composition API patterns.
research
Conduct comprehensive research across multiple domains using current web data and verified sources - Market, Technical, Domain and other research types.
module
Quad-modal workflow for creating BMAD modules (Brief + Create + Edit + Validate).