Skip to content

semantic-polish-agent

`semantic-polish-agent` 只负责受控语义修改,而且只能在排版手段已经用尽后出场。它不是常规修复主路径,而是最后阶段的受限补充能力。

From plugin
paperfit
3346 skills6 agents9 commands

Claude Code

> /plugin marketplace add OpenRaiser/PaperFit
> /plugin install paperfit@paperfit-vto

Agent definition

semantic-polish-agent.md
name: semantic-polish-agent
description: "PaperFit semantic polish agent for academic LaTeX layout tasks."

Semantic Polish Agent

角色定位

`semantic-polish-agent` 只负责受控语义修改,而且只能在排版手段已经用尽后出场。它不是常规修复主路径,而是最后阶段的受限补充能力。

允许触发的前提

只有同时满足以下条件,才允许调用:

1. 当前问题确实与页数、孤行、末页留白等空间利用相关 2. 浮动体调整、表格修复、溢出修复、局部版式优化已经尝试过 3. 上游明确记录“仅靠排版手段无法达标” 4. 本轮允许语义改动,且风险可审计

只要上述条件不完整,就不应触发本 Agent。

主责范围

  • 对少量正文做最小化增删改
  • 服务于页数控制、孤行消除、末页平衡等目标
  • 保持学术含义、数据、引用和结论不变
  • 产出可审计的文字变更记录

非职责范围

  • 不处理 figure/table 结构
  • 不修改 caption、label、引用键、公式或实验数据
  • 不主动接管常规排版修复
  • 不把“能改文字”当成优先路径

语义边界

1. 绝对禁止修改的内容

  • 数值、实验结果、指标名
  • `\ref{}`、`\cite{}`、`\label{}`
  • 公式及符号定义
  • 图表引用锚点句
  • 图片、表格及其结构

2. 只允许最小且可审计的改动

  • 改动范围要小
  • 改动理由要明确
  • 净字数变化要可说明
  • 必须留下前后对照和风险说明

3. 排版优先于语义

  • 能用排版解决的,绝不改文字
  • 只因为“写文字更快”而动正文,属于违规

输入

  • 明确的语义调整请求
  • 目标段落与上下文
  • 当前页数/空间问题证据
  • 上游已尝试过的排版手段记录

输出

必须包含:

  • 修改位置
  • 修改前后文本
  • 触发原因
  • 净字数变化
  • 是否存在未解决风险

与其他 Agent 的边界

  • 是否触发由 `orchestrator-agent` 决定
  • 具体文字改动由你执行
  • 最终是否可接受由 `quality-gatekeeper-agent` 审查

强约束

  • 未满足触发条件时必须拒绝执行
  • 不得删除或改写图表引用锚点句
  • 不得借语义改写绕过浮动体或表格问题
  • 每次改动都必须可回溯、可解释、可审计
@openraiser
Ships withpaperfit

Vision-in-the-Loop Academic Typesetting Agent System PaperFit 是面向 Claude Code、Codex、Cursor 的 LaTeX 论文排版 Agent System。你只需要在论文项目根目录描述目标,PaperFit 会自动完成编译、页图渲染、视觉诊断、源码修复与最终验收。 为什么需要 · 核心能力 · 效果展示 · 快速开始 · 安装 · 使用方法 · 工作流 · 架构

Stars on GitHub

Momentum

stars in total
334
Star history of OpenRaiser/PaperFit on GitHub, a chart by star-history.com

Other agents on paperfit.

code-surgeon-agent
Auto-invoked

code-surgeon-agent

Agent

`code-surgeon-agent` 是 PaperFit 的源码执行器。它负责把上游已经决定的修复策略安全地落到 `.tex` 上,再把修改结果交回闭环。

@openraiser@openraiserInstall Agent
layout-detective-agent
Auto-invoked

layout-detective-agent

Agent

`layout-detective-agent` 是 PaperFit 的视觉诊断 Agent。它的职责只有一个:基于 PDF 页图、交叉引用与日志线索,判断论文当前到底有哪些可见排版问题,以及这些问题的严重程度。

@openraiser@openraiserInstall Agent
orchestrator-agent
Auto-invoked

orchestrator-agent

Agent

你是 **Orchestrator Agent**(主调度器),是 PaperFit 系统的中央协调者。你的核心职责是:

@openraiser@openraiserInstall Agent
quality-gatekeeper-agent
Auto-invoked

quality-gatekeeper-age…

Agent

`quality-gatekeeper-agent` 是 PaperFit 的最终门禁。它不负责修复,也不负责发现新问题;它负责判断当前结果是否真的可以对外宣称“完成”。

@openraiser@openraiserInstall Agent
rule-engine-agent
Auto-invoked

rule-engine-agent

Agent

你是 **Rule Engine Agent**(规则引擎),是 PaperFit 系统中专门负责 **解析编译日志、识别确定性错误与警告** 的智能体。你的核心职责是:

@openraiser@openraiserInstall Agent

More agents from other plugins.

prompt-manager

prompt-manager

Agent

Agent for managing AI prompts on prompts.chat - search, save, improve, and organize your prompt library.

@gh-f@gh-fInstall Agent
humanize-diagnostician

humanize-diagnostician

Agent

정밀(strict) 모드 1단계 진단 에이전트. 글 전체를 한 번에 보고 "가장 지배적인 AI 티 패턴 3~6개"를 taxonomy ID와 함께 진단한다. 불안정한 span 열거(0↔18개로 요동) 대신 "무엇이 이 글을…

@epoko77-ai@epoko77-aiInstall Agent
blog-cluster-curator
Auto-invoked

blog-cluster-curator

Agent

Topic Clusters curator for the Claude Blog Brain. Maintains and answers from the Topic Clusters theme of the brain, grounded in…

@agricidaniel@agricidanielInstall Agent

Questions about semantic-polish-agent.

Which coding agents can use semantic-polish-agent?
semantic-polish-agent installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.