日本語

docx-redline-ja

A skill that writes AI proofreading results for Japanese text into a Word document as tracked changes. It diffs character by character, so each tracked change covers only the characters that changed.

Three rows: the original sentence, docx-cli, and this skill. docx-cli strikes out whole phrases and reinserts them; this skill marks only the deleted の, で and 画像上 and the lowercased C and R.
The same two findings applied with docx-cli, which diffs by word, and with this skill. Both rows are drawn from real output.

The problem with Japanese

Ask an AI such as Claude to proofread a manuscript and the suggestions come back as chat text. Applying them by hand in Word takes a while, and afterward nobody can tell what was changed.

Tools that write suggestions as Word tracked changes exist, but most assume a language with spaces between words. Japanese has none, so everything up to the next punctuation mark is treated as one word, and fixing a single character deletes and reinserts all of it. The reviewer cannot see what was actually fixed.

docx-redline-ja diffs character by character. Each tracked change covers only the characters that changed, so the author can check and accept or reject each correction in Word's review pane.

What it does

Benchmark: cost and tokens

Claude Code (Sonnet 5.5) was given a 40-paragraph document and 20 edit instructions and asked to produce the redlined .docx. Means of 3 runs.

LanguageToolCost (USD)Input tokensMarked-up chars
JapaneseThis skill0.06051,9331.0x minimum
JapaneseNone (model alone)0.06870,3701.0x
JapaneseAnthropic's docx skill0.07974,0551.0x
Japanesedocx-cli0.08092,50828.1x
EnglishThis skill0.06056,7261.0x
EnglishNone (model alone)0.09686,1131.1x

In both languages this skill used the least money and tokens of the four. Against the model alone it cost 12% less in Japanese and 37% less in English. The full table and method are in the README.

Install

Claude Code

/plugin marketplace add akchan/docx-redline-ja
/plugin install docx-redline-ja@docx-redline-ja

Codex CLI

codex plugin marketplace add akchan/docx-redline-ja
codex plugin add docx-redline-ja@docx-redline-ja

Claude Desktop (Cowork)

Open Customize in the sidebar, then Plugins. Select Add marketplace, enter akchan/docx-redline-ja, and install docx-redline-ja.

Usage

Once installed, ask the agent something like:

Proofread manuscript.docx, collect the findings in findings.jsonl, and apply
them with docx-redline-ja as tracked changes.

Findings are JSONL, one per line. The script also runs on its own:

{"old_text":"所見がみられか?","new_text":"所見がみられるか?"}

python3 plugins/docx-redline-ja/skills/docx-redline-ja/scripts/apply_redline.py \
  --docx manuscript.docx --findings findings.jsonl --out reviewed.docx

What it does not do