academic-paper-writer-pro

academic-paper-writer-pro is a skill for Claude Code, Codex from TFboy1/academic-paper-writer. It costs 115 tokens per session (9,794 once invoked), scanned A, original, MIT.

A Chinese-language academic-paper formatting workflow for PDF, Word, Markdown, and other document inputs. It routes each input through OCR or document-reformatting steps and produces DOCX and bibliography files.

In plain words
What is it for?
Use it to convert papers into formatted Word documents, extract or crop figures, manage references, resume processing, and store intermediate and final files in a fixed structure.
Why use it?
It removes much of the manual work involved in extracting, restructuring, formatting, checking, and citing academic papers.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to convert papers into formatted Word documents, extract or crop figures, manage references, resume processing, and store intermediate and final files in a fixed structure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tfboy1/academic-paper-writer/academic-paper-writer
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 TFboy1/academic-paper-writer --skill academic-paper-writer
Clone the repo
git clone --depth 1 https://github.com/TFboy1/academic-paper-writer

Made for: Claude Code, Codex.

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 academic-paper-writer-pro

README.md
[![agentmods](https://agentmods.dev/badge/skills/tfboy1/academic-paper-writer/academic-paper-writer/github.svg)](https://agentmods.dev/skills/tfboy1/academic-paper-writer/academic-paper-writer)
Your own site
<a href="https://agentmods.dev/skills/tfboy1/academic-paper-writer/academic-paper-writer"><img src="https://agentmods.dev/badge/skills/tfboy1/academic-paper-writer/academic-paper-writer/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 academic-paper-writer-pro

Your own site · 80×15
<a href="https://agentmods.dev/skills/tfboy1/academic-paper-writer/academic-paper-writer"><img src="https://agentmods.dev/badge/skills/tfboy1/academic-paper-writer/academic-paper-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,794 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.
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.00115 $0.09794
Opus 5 $0.00057 $0.04897
Sonnet 5 $0.00023 $0.01959
Haiku 4.5 $0.00012 $0.00979

Measured 12d ago against content hash cd8fa605adb8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

academic-paper-writer-pro 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 12d 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.

SKILL.md · 580 lines

How it starts

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

学术论文专家(主路由)

[!IMPORTANT] 本文件是主路由入口 + Pipeline B/C 定义 + 排版格式规范库。Pipeline A(OCR 管道)的详细规范请参见 ocr_kb/SKILL.md。 所有管道的 DOCX 生成均使用 docx/SKILL.md 中定义的方法(docx-js 创建新文档 / unpack-edit-pack 编辑现有文档)。

0. 目录规范 (Directory Convention)

[!IMPORTANT] 所有中间文件和生成产物必须严格遵守以下目录结构,禁止在项目根目录下放置任何生成文件(包括 .md.py.docx 等)。

项目根目录/
├── resources/
│   ├── pages/          # Pipeline A: 切分出的单页 PNG 图片
│   ├── figures/        # 所有管道: 配图(裁剪的或提取的)
│   ├── md/             # 所有管道: 提取/拆分结果
│   │   ├── page_N.md       # Pipeline A 按页
│   │   └── section_N.md    # Pipeline B/C 按章节
│   ├── scripts/        # 所有 Python 辅助脚本(可跨任务复用,清理时不删除)
│   ├── compiled_paper.md  # 最终汇总的完整 Markdown
│   ├── config.json     # 任务配置(源文件、格式、管道类型),整个任务期间不变
│   └── checkpoint.json # 运行时进度(当前单元、计数器、失败项),随处理进度更新
├── outputs/            # 最终交付的 .docx / .bib 文件 + 核查点中间版本
├── ocr_kb/             # Pipeline A: OCR 工作流 Skill
│   └── SKILL.md
├── docx/               # Word 文档操作 Skill(DOCX 生成的技术实现基础)
│   └── SKILL.md
├── pdf/                # PDF 操作 Skill
│   └── SKILL.md
├── content_generation/ # Pipeline D: 论文内容智能生成 Skill
│   └── SKILL.md
├── SKILL.md            # 本文件(主入口路由 + Pipeline B/C + 排版规范库)
└── <source>.*          # 用户提供的原始文件 (.pdf / .doc / .docx / .md / 项目代码目录)

1. 新任务启动协议 (Step 0: Pre-flight)

[!CAUTION] 以下四项检查必须在执行任何写作或排版动作之前全部完成,不可跳过。

1.0 技能版本检查与自动更新 (Version Check & Auto Update)

在每次启动处理时,必须首先对比用户本地的 skill 版本和现在的最新版本:

  • 运行相应的命令(如 git fetch origin && git status -uno)检测本地仓库状态。
  • 如果本地版本与最新版本不一致:应当主动提示并帮助用户自动更新:

    "检测到 academic-paper-writer-pro 技能存在最新版本,是否需要帮您自动更新?回复 更新 进行升级,或 跳过 继续当前任务。"

  • 若用户选择更新,自动执行更新命令(如 git pullnpx skills add https://github.com/tfboy1/academic-paper-writer --skill academic-paper-writer-pro),待更新完成后再进入下一步。

1.1 环境清理确认

检测 resources/ 下的 pages/md/figures/ 以及 resources/checkpoint.json 是否存在旧文件。

  • 若存在旧文件:列出文件清单,明确询问用户:

    "检测到上次任务的中间文件(N 个页面/章节、M 个 Markdown、K 张配图)。是否删除以避免干扰?回复 删除 清空,或 保留 继续上次任务。"

  • 若不存在旧文件:跳过此步。
  • 用户选择"删除"时:删除 resources/pages/*resources/md/*resources/figures/*resources/checkpoint.jsonresources/config.jsonresources/scripts/ 不删除(脚本可复用)。
  • 用户选择"保留"时:读取 resources/checkpoint.json,进入断点恢复流程(见 §1.3)。

Read the full file on GitHub · 580 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. 12d ago First seen · 580 lines · 115 tokens per session scan A cd8fa605adb8

Subscribe to this mod's changes

academic-paper-writer-pro is a skill published in the GitHub repository TFboy1/academic-paper-writer (249 stars, last pushed 2mo ago), licensed MIT. It adds 115 tokens to every session and 9,794 once invoked, about $0.0006 per session on Opus 5. 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