writing:analyze

writing:analyze is a skill for Claude Code from bendrucker/claude. It costs 56 tokens per session (475 once invoked), scanned A, original, MIT.

A writing-analysis tool that examines past assistant sessions and compares their language with a preferred writing style. It proposes updates to word lists used for detecting common AI-writing patterns.

In plain words
What is it for?
It helps audit writing word lists, mine sessions for recurring phrases, and optionally judge the quality of candidate rules. It can limit analysis by date or model.
Why use it?
Writing rules can become outdated as new patterns appear or old ones stop being useful. This tool helps identify which phrases to add or remove from those rules.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

Part of the writing plugin — 4 skills, 3 agents shipped together

Good fit It helps audit writing word lists, mine sessions for recurring phrases, and optionally judge the quality of candidate rules. It can limit analysis by date or model.

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

Made for: Claude Code.

Or install writing, the plugin that ships this one along with the rest of its 4 skills, 3 agents.

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 writing:analyze

README.md
[![agentmods](https://agentmods.dev/badge/skills/bendrucker/claude/analyze/github.svg)](https://agentmods.dev/skills/bendrucker/claude/analyze)
Your own site
<a href="https://agentmods.dev/skills/bendrucker/claude/analyze"><img src="https://agentmods.dev/badge/skills/bendrucker/claude/analyze/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 writing:analyze

Your own site · 80×15
<a href="https://agentmods.dev/skills/bendrucker/claude/analyze"><img src="https://agentmods.dev/badge/skills/bendrucker/claude/analyze.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 475 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 49
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00056 $0.00475
Opus 5.5 $0.00022 $0.00190
Sonnet 5.5 $0.00011 $0.00095
Haiku 4.5 $0.00006 $0.00047

Measured 11d ago against content hash 2a734e70e604, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

writing:analyze 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 11d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/hook-health.test.ts, scripts/hook-health.ts), 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.

plugins/writing/skills/analyze/SKILL.md · 30 lines

What it actually says

Writing Analyze

The hook dispatcher (hooks/lint.ts) appends one JSONL line per run to ~/.claude/writing-hooks/log.jsonl (controlled by WRITING_HOOKS_LOG, see the plugin README). hook-health.ts reads it:

bun ${CLAUDE_SKILL_DIR}/scripts/hook-health.ts
bun ${CLAUDE_SKILL_DIR}/scripts/hook-health.ts --since 2026-07-01 --json
bun ${CLAUDE_SKILL_DIR}/scripts/hook-health.ts --log /path/to/log.jsonl

It reads the default log (plus its .1 rotation) and reports run count, outcomes, latency percentiles including the silent hot path, and per check its fire count, an acted-on column, and the alerts no whole-file re-lint reached.

The acted-on column pairs each shown alert with the next whole-file re-lint of the same file: a check that re-lint no longer raises was acted on, one it still raises was written past. Every file edit since the PostToolUse move lints the saved file. Older entries count only a Write as whole-file. Every shown alert no re-lint reached counts as unconfirmed, so the two columns account for all of them. The acted-on column reads n/a until pairs close. Recall is not measurable from this log, since a check that never fires leaves no line.

A check acted on less than half the time over 20 or more pairs reads prose wrong: sample those runs. A silent-run p95 above 100ms costs every file op. Fixes land as level overrides in .vale.ini or edits to styles/Writing/, and the next audit's log confirms or refutes them.

Files

What ships with it

2 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. 11d ago Changed · -149 lines · +1 tokens per session 2a734e70e604
  2. 23d ago Changed · -19 lines d3e4d08d2265
  3. 1mo ago Changed 732f5ac23464
  4. 1mo ago Changed · +18 lines c7ea773e060b
  5. 1mo ago Changed · +3 lines 49e34d3feef3
  6. 1mo ago Changed 22b75892a8e6
  7. 2mo ago Changed · +69 lines dc3bc095d20a
  8. 2mo ago First seen · 108 lines · 55 tokens per session scan A 37a10cd1759e

Subscribe to this mod's changes

writing:analyze is a skill published in the GitHub repository bendrucker/claude (18 stars, last pushed today), licensed MIT. It adds 56 tokens to every session and 475 once invoked, about $0.0002 per session on Opus 5.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-09-03.

Related

writing:analyze compared with skills from other repositories

writing:analyze next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
writing:analyzebendrucker/claudeSkill18todayMITA56Claude Code
reviewSethGammon/CitadelSkill9284d agoMITA17Claude Code
system-upgradealivecontext/aliveSkill132yesterdayMITA55Claude Code
wenlan-handoffwenlan-app/wenlanSkill94todayApache-2.0A43Claude Code, Codex
extract-resumesuxrobGM/jobpilotSkill111todayMITA32Claude Code
pr-reviewnitinjain999/platform-skillsSkill71yesterdayApache-2.0A81Claude Code
read-literaturefirecrawl/firecrawl-claude-pluginSkill2583d agoMITA101Claude Code