全部技能

docx (anthropics/skills)

docx:对照组 5.0、装 skill 4.7(0–5 分,Codex 实测,n=2/任务/组)。结论:视情况而定,相对不装 skill -0.30。

看情况安全

21.4 / 30

相对不装 skill 的提升:-0.30

视情况而定:总分 21.4/30 低于 22,并且提升 -0.30 低于 +1.0。推荐要求总分 22/30、产出质量 3.5、提升 +1.0。

前沿

通过

使用 Codex 测试。

覆盖 Codex, Claude Code

Codex CLI 0.166(SOTA 档):12 次评分运行。按我们的分档规则,这档通过同时覆盖 Claude Code;它不代表第二档的结果。

分数

每一维 0 到 5 分,六维相加是满分 30 的总分。每一维都是 5 更好。成本 5 表示又便宜又快。安装 5 表示容易。

触发可靠性
5.0
相对不装的提升
1.7
产出质量
4.7
令牌与时间成本
3.0
安装与可移植性
3.0
安全
4.0

安全审查

安全

静态扫描:0 CRITICAL / 1 HIGH / 7 MEDIUM。人工审查:可在断网沙箱中运行。扫描没有命中不等于绝对安全。

安装

npx skills@latest add anthropics/skills --skill docx

来源

固定提交: ca45fc496a3436251f191354091d557da31c15b5

测试日期: 2026-11-02

我们测了什么

  • Create a memo — Create memo.docx: a Word memo titled 'Project Falcon status update' on US Letter paper with three headed sections (Summary, Risks, Next steps), a bulleted list of at least four next steps, and a 3-column table (Task, Owner, Due) with three rows. Use real Word…
  • Tracked change + comment — In contract.docx change the payment term in clause 2 from 30 days to 45 days as a tracked change authored by 'Reviewer', and attach a comment to that clause saying 'Confirmed with finance'. Do not change anything else. Save the result as contract.docx (edit in…
  • Extract table and outline — From report.docx write table.csv (the table, with its header row) and outline.txt (the document's headings, one per line, in order). Do not modify report.docx.

优点

  • 不点名也会被触发:Skill file read in 6/6 treatment runs.
  • 装 skill 后绝对质量高:4.7 / 5。

缺点

  • 相对不装 skill 没有可测量的提升(-0.30,在噪声范围内)。
  • 对照组已经 5.0 分:触到天花板,这个测试看不出提升。
  • 测试说明:只做了两组对比(不装 vs 装,12 次)。一句话提示组没有跑,因为它需要 LibreOffice,我们不在测试机上运行它。
  • 每个任务每组 n=2,差距在 1 分以内属于噪声。

评测

在 Codex CLI(SOTA 档)上跑 3 个任务、对照、装 skill 两组,共 12 次运行,由规则脚本打分(没有 LLM 评委),断网沙箱、每次运行独立临时目录。具体做法见下方英文评测原文。

三组对比

组别平均分(0–5)每次 token
不装 skill5.091k
装了 skill4.7120k

Codex CLI 实测,12 次运行,规则脚本打分,没有 LLM 评委。总分 21.4 / 30,结论 视情况而定。

测试披露: 只做了两组对比(不装 vs 装,12 次)。一句话提示组没有跑,因为它需要 LibreOffice,我们不在测试机上运行它。

下面是评测原文,英文。

Verdict: Situational (21.4 / 30). Source: anthropics/skills, skills/docx, pinned at commit ca45fc4. Install: npx skills@latest add anthropics/skills --skill docx. Licence: Proprietary (LICENSE.txt in skill dir): evaluated read-only, not redistributed.

What it is

The docx skill from Anthropic's skills repo. It tells the agent to create Word files with the docx npm library, edit existing ones by unzipping the XML, and read them with pandoc, and it ships helper scripts for tracked changes and comments (comment.py, accept_changes.py), an XSD validator (office/validate.py) and a LibreOffice wrapper (office/soffice.py). SKILL.md says the libraries are "preinstalled".

How we tested

Codex CLI 0.166 (gpt-6-astra, low reasoning) on a Mac test machine, a fresh temporary project and temporary HOME/TMPDIR/caches per run, skill installed (treatment) or absent (control), 2 runs per group per task, network off, /tmp writes blocked. The prompts never mention the skill (except the wording noted below).

Environment: both groups got the same offline toolkit copied into the run (the npm docx package, python lxml/defusedxml/openpyxl, and a python shim for python3), because the skill assumes these are preinstalled. LibreOffice exists on the Mac but aborts (exit 134) inside the Codex sandbox, so nobody could render a preview.

  1. Create a memo — Create memo.docx: a Word memo titled 'Project Falcon status update' on US Letter paper with three headed sections (Summary, Risks, Next steps), a bulleted list of at least four next steps, and a 3-column table (Task, Owner, Due) with three rows. Use real Word…
  2. Tracked change + comment — In contract.docx change the payment term in clause 2 from 30 days to 45 days as a tracked change authored by 'Reviewer', and attach a comment to that clause saying 'Confirmed with finance'. Do not change anything else. Save the result as contract.docx (edit in…
  3. Extract table and outline — From report.docx write table.csv (the table, with its header row) and outline.txt (the document's headings, one per line, in order). Do not modify report.docx.

Scoring is programmatic (hidden tests / planted-issue recall / constraint checks / render+OCR where relevant), 0–5 per run. No LLM judge decided any score.

Results

TaskControl scoreWith skillControl tokensWith-skill tokensSkill read
t1-new5.04.92118k107k2/2
t2-redline5.04.1786k162k2/2
t3-extract5.05.068k90k2/2

Mean score: 5.0 without vs 4.7 with the skill (delta -0.3). Tokens per run: 91k vs 120k (1.32x); time 60s vs 54s.

What happened

  • No measurable lift: every run of both groups scored full marks on our structural checks (new memo: US Letter, 3 real headings, 4+ list items, 3-column table, opens in LibreOffice; tracked change by 'Reviewer' plus comment with the other clauses intact; table extracted and outline correct; source untouched).
  • The skill is read in 6/6 treatment runs. In the redline task one treatment run used the skill's comment.py to add the comment and tried its XSD validator (the call failed, exit 1); the other only read comment.py --help and edited the XML itself. The control runs edited the XML directly and got the same result.
  • Side effect: both treatment redline runs left their working tree in the project (.edit/ or .docx-edit/ with the original copy and about 22 unpacked XML files); control runs left nothing. We count that as clutter (small penalty in the score).
  • Cost: about 1.3x the tokens per run overall; the redline task was about 1.9x (the agent reads the skill and the helper scripts first).
  • The preview step the skill recommends (convert to PDF with soffice.py, then look at the pages) failed with exit 134 in the sandbox in both treatment tasks that tried it, so its main verification loop did not actually run.

Dimension scores

DimensionScoreWhy
1_output_quality4.7

Mean score 4.70/5 with the skill (programmatic checks, see per-task table).

2_lift_vs_no_skill1.7

-0.30 points vs 5.00 without the skill (n=2 per task; under ~1 point is noise).

3_trigger5.0Skill file read in 6/6 treatment runs.
4_instructions_portability3
5_efficiency31.32x tokens (120k vs 91k per run) and 0.90x time (54s vs 60s).
6_safety_hygiene4

Limits of this test

  • Three tasks that a baseline agent with Python's zipfile can already do; complex layouts (tables of contents, headers/footers, images) and visual quality were not tested.
  • We checked structure, not how the page looks in Word.
  • Tracked-change correctness was checked with regexes on the XML, not by opening in Word.
  • The skill is proprietary (see licence), so only its behaviour is described.
  • n = 2 per group per task: differences under about 1 point are noise.
  • Rule-based scoring measures what the checks can see; it cannot judge taste or whether a result is the best possible.

Security

See security.md. Scan: 0 CRITICAL / 1 HIGH / 7 MEDIUM. Verdict: safe to run (no-network sandbox). A clean scan does not prove a skill safe.

Bottom line

No measurable gain over an unaided agent on three ordinary Word tasks, at about 1.3x the tokens and with leftover working files; the skill's own preview step does not run in a sandboxed agent. Its validator and comment helper may still help on harder editing jobs.

记录

Run log for docx: Codex CLI, network off, per-run temp HOME/TMPDIR, one row per graded run.
Columns: task, arm-run, score (0-5), tokens, seconds, checks passed, skill files the agent opened.

t1-new control-1: score 5.0, tokens 117370, secs 96.2, checks 2/2, opened nothing
t1-new control-2: score 5.0, tokens 118677, secs 116.6, checks 2/2, opened nothing
t1-new treatment-1: score 4.92, tokens 107319, secs 59.6, checks 1/2, opened docx
t1-new treatment-2: score 4.92, tokens 108005, secs 66.9, checks 1/2, opened docx
t2-redline control-1: score 5.0, tokens 91990, secs 43.3, checks 2/2, opened nothing
t2-redline control-2: score 5.0, tokens 81049, secs 42.9, checks 2/2, opened nothing
t2-redline treatment-1: score 4.17, tokens 151502, secs 54.2, checks 1/2, opened docx
t2-redline treatment-2: score 4.17, tokens 174205, secs 75.4, checks 1/2, opened docx
t3-extract control-1: score 5.0, tokens 68934, secs 30.3, checks 3/3, opened nothing

12 次运行、3 个产物

样例产物

前沿 · 装了 skill:final message(t1-new,第 1 次,Codex)

Created [memo.docx](memo.docx) with US Letter pages, three Word headings, four real bullets, and a three-column table with three task rows. Document structure verified; visual preview was unavailable.

查看 Pro