doccraft-update

doccraft-update is a skill for Claude Code from alexpialetski/doccraft. It costs 82 tokens per session (1,689 once invoked), scanned A, original, MIT.

A tool for updating installed doccraft guidance and OpenSpec instructions to a newer release.

In plain words
What is it for?
Checking the installed version, fetching the latest migration information, and updating doccraft instructions when appropriate.
Why use it?
It keeps the project’s documentation workflow current and checks whether an update requires migration work or approval.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

Good fit Checking the installed version, fetching the latest migration information, and updating doccraft instructions when appropriate.

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

Made for: Claude Code.

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 doccraft-update

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/alexpialetski/doccraft/doccraft-update"><img src="https://agentmods.dev/badge/skills/alexpialetski/doccraft/doccraft-update.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,689 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.00082 $0.01689
Opus 5.5 $0.00033 $0.00676
Sonnet 5.5 $0.00016 $0.00338
Haiku 4.5 $0.00008 $0.00169

Measured 3mo ago against content hash 63555ea7c500, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

doccraft-update 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 3mo 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.

.claude/skills/doccraft-update/SKILL.md · 170 lines

How it starts

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

Managed by doccraft — doccraft update regenerates this file. Local edits will be overwritten. See doccraft.json to override project-specific vocabulary and paths without touching this file.

doccraft — update skills and openspec instructions

When to use

  • Periodically to keep doccraft skills and openspec instructions current.
  • After a teammate updates doccraft in a shared repo (check the version stamp in doccraft.json against the latest npm release).
  • When doccraft-config or other skills mention features that do not seem to work — you may be running an older skill body.

Configuration

Read doccraft.json at invocation. The version field is this skill's primary input — it determines which migration entries apply. If the file is missing, treat the local version as unknown, warn the user, and proceed.

Relevant keys:

  • version — the currently installed doccraft version. Used to filter the migration manifest. Default: none (required; treat as unknown if absent).
  • docsDir — root folder for all docs. Default: docs. Used post-update for context when checking extension fragments in installed skills.

Workflow

1. Read the local version

Read "version" from doccraft.json at the project root. If the file does not exist, treat the local version as unknown and warn the user — then proceed.

2. Fetch the manifest

Run exactly once:

npx doccraft@latest llm

Parse the JSON output. The relevant fields are:

  • version — the latest doccraft version.
  • migrations — array of { from, to, summary, steps[] } entries.

If the invocation fails (no network, npx error), report the error and stop. NEVER guess at migration steps.

3. Filter migrations

Filter migrations to entries where the local version falls within the from range and the latest version falls within the to range.

Treat from as a semver range (e.g. "0.x" covers 0.1.0, 0.9.3). If you cannot parse the range, surface it as a step the user MUST review manually rather than blocking the update.

Read the full file on GitHub · 170 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. 3mo ago First seen · 170 lines · 82 tokens per session scan A 63555ea7c500

Subscribe to this mod's changes

doccraft-update is a skill published in the GitHub repository alexpialetski/doccraft (4 stars, last pushed 5mo ago), licensed MIT. It adds 82 tokens to every session and 1,689 once invoked, about $0.0003 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-08-31.

Related

doccraft-update compared with skills from other repositories

doccraft-update next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
doccraft-updatealexpialetski/doccraftSkill45mo agoMITA82Claude Code
review-finished-adgooseworks-ai/goose-skillsSkill1.3k2d agoMITA200Claude Code, Codex
render-mosaic-grid-revealgooseworks-ai/goose-skillsSkill1.3k2d agoMITA132Claude Code, Codex
review-workcode-yeongyu/oh-my-openagentSkill71ktodaynoneA63Claude Code, Codex
remove-deadcodecode-yeongyu/oh-my-openagentSkill71ktodaynoneA41Claude Code, Codex
render-3d-character-explainergooseworks-ai/goose-skillsSkill1.3k2d agoMITA178Claude Code, Codex
render-vo-anchored-motion-listiclegooseworks-ai/goose-skillsSkill1.3k2d agoMITA170Claude Code, Codex