docx-comment-reply

docx-comment-reply is a skill for Claude Code, Codex from foryourhealth111-pixel/Vibe-Skills. It costs 39 tokens per session (704 once invoked), scanned A, original, Apache-2.0.

A document tool for reviewing and replying to comments in Microsoft Word files. It gathers each comment with the nearby text, prepares reply templates, and writes threaded replies into a new document.

In plain words
What is it for?
Use it for patents, papers, contracts, and internal reviews that require a response to each Word comment, followed by document validation.
Why use it?
It removes the need to find every comment manually and preserves the original file while creating a replied-to copy. It can also handle older .doc files by converting them to .docx when LibreOffice is available.

Skill for Claude CodeCodex

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

Good fit Use it for patents, papers, contracts, and internal reviews that require a response to each Word comment, followed by document validation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/foryourhealth111-pixel/vibe-skills/docx-comment-reply
About the project

Vibe-Skills is a collection and routing system that helps AI agents discover, select, and coordinate specialized skills for completing tasks. It is intended for agents that need to organize workflows across many installed capabilities. The catalogue entries are skills and an agent belonging to this system.

foryourhealth111-pixel/Vibe-Skills · 3,252 stars · on GitHub

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 foryourhealth111-pixel/Vibe-Skills --skill docx-comment-reply
Clone the repo
git clone --depth 1 https://github.com/foryourhealth111-pixel/Vibe-Skills

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 docx-comment-reply

README.md
[![agentmods](https://agentmods.dev/badge/skills/foryourhealth111-pixel/vibe-skills/docx-comment-reply/github.svg)](https://agentmods.dev/skills/foryourhealth111-pixel/vibe-skills/docx-comment-reply)
Your own site
<a href="https://agentmods.dev/skills/foryourhealth111-pixel/vibe-skills/docx-comment-reply"><img src="https://agentmods.dev/badge/skills/foryourhealth111-pixel/vibe-skills/docx-comment-reply/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 docx-comment-reply

Your own site · 80×15
<a href="https://agentmods.dev/skills/foryourhealth111-pixel/vibe-skills/docx-comment-reply"><img src="https://agentmods.dev/badge/skills/foryourhealth111-pixel/vibe-skills/docx-comment-reply.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 704 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00039 $0.00704
Opus 5 $0.00019 $0.00352
Sonnet 5 $0.00008 $0.00141
Haiku 4.5 $0.00004 $0.00070

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

Security

Grade A, and why

docx-comment-reply 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 13d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/apply_comment_replies.py, scripts/extract_comment_context.py, scripts/lint_replies.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

bundled/skills/docx-comment-reply/SKILL.md · 65 lines

What it actually says

Word 批注回复(.docx/.doc)

这个 skill 解决的问题:把 Word 文档里的批注(comments)按“原文锚点上下文”整理出来,生成待回复清单,然后把回复以 threaded replies 的方式写回到新的 .docx 文件里(不改原文件)。

适用场景:专利/论文/合同/内部评审等需要“逐条回复批注”的文档。

输出物(约定)

在当前工作目录的 outputs/ 下生成:

  • *_批注定位与上下文_*.md:人可读的批注+锚点上下文报告
  • *_comment_context_*.json:机器可读上下文(用于并行写回复/自动化)
  • *_replies_todo_*.json:待回复模板(键=comment_id,值=空字符串)
  • *_批注已回复_*.docx:写回批注回复后的最终交付文件

工作流(推荐)

1) 提取批注上下文

python scripts/extract_comment_context.py --input "path\\to\\file.docx"

如果输入是 .doc,脚本会尝试用 LibreOffice soffice 转成 .docx 后继续。

2) 生成回复(由你/Claude 来写)

  • 打开 outputs\\*_批注定位与上下文_*.md,逐条写回复。
  • 把回复填进 outputs\\*_replies_todo_*.json(保持 JSON 结构不变)。

回复口径(强约束)

  • 直接回答问题(别写“后续补充”但不说补什么)
  • 必须贴合锚点原文(避免泛泛而谈)
  • 不要用“老师您好/您好”类开头;口语化但专业

3) 写回批注回复并生成新 docx

python scripts/apply_comment_replies.py `
  --unpacked "outputs\\<xxx>_unpacked_<timestamp>" `
  --replies "outputs\\<xxx>_replies_todo_<timestamp>.json" `
  --author "YourName" `
  --initials "YN"

4) 校验(必须)

脚本默认会在保存时做 schema + redlining 校验;如需单独验证:

python ..\\docx\\ooxml\\scripts\\validate.py "outputs\\<unpacked_dir>" --original "outputs\\<out>.docx"

并行(XL 可选)

当批注数量较多(例如 ≥20 条):

  1. 先跑提取脚本得到 comment_context.json
  2. 以 comment_id 分片给子代理写回复(每个子代理 prompt 末尾加 $vibe
  3. 合并为一个 replies JSON,再执行 apply_comment_replies.py
Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 13d ago First seen · 65 lines · 39 tokens per session scan A 4a50d5b1ed8f

Subscribe to this mod's changes

docx-comment-reply is a skill published in the GitHub repository foryourhealth111-pixel/Vibe-Skills (3,252 stars, last pushed 12d ago), licensed Apache-2.0. It adds 39 tokens to every session and 704 once invoked, about $0.0002 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

ai-provider-claude-vision

Image understanding and document analysis with Claude's multimodal capabilities -- image input formats, PDF processing, multi-image patterns, structured extraction, and token cost estimation.

agents-inc/skills · 38 tokens

board-deck-builder

Assembles board and investor update decks by pulling perspectives from all C-suite roles. Use when preparing board meetings, investor updates, quarterly business reviews, or fundraising narratives.

borghei/Claude-Skills · 39 tokens

knowledge-ops

Audit and repair an internal knowledge base — staleness, ownership gaps, orphans, duplication, and findability. Use when the wiki is untrusted, docs are out of date, nobody owns pages, or search returns the wrong answer.

borghei/Claude-Skills · 53 tokens

docx-toolkit

Audit Microsoft Word (.docx) documents for heading hierarchy, comments, tracked changes, broken cross-references, and style consistency. Use when reviewing a contract draft, preparing a document for handoff, or enforcing a style guide.

borghei/Claude-Skills · 51 tokens

pdf-toolkit

Audit PDF files for metadata leakage, page count, encryption, JavaScript, embedded files, and version. Use before sending a PDF externally, when redacting sensitive metadata, or running a PDF security review.

borghei/Claude-Skills · 45 tokens

pptx-toolkit

Audit PowerPoint (.pptx) decks for slide count, text density, embedded images and fonts, hidden slides, speaker notes, and animation density. Use when reviewing a board deck, sales deck, or conference talk before sending.

borghei/Claude-Skills · 51 tokens