doccraft-close

doccraft-close is a skill for Claude Code from alexpialetski/doccraft. It costs 161 tokens per session (2,423 once invoked), scanned A, original, MIT.

A workflow for closing a tracked work item and updating every planning record that refers to it.

In plain words
What is it for?
Use it when marking a specific story done, shipped, resolved, abandoned, or absorbed. It updates the related records and checks that they agree.
Why use it?
It prevents the story, backlog, queue, and parent epic from showing conflicting statuses after the work is finished.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it when marking a specific story done, shipped, resolved, abandoned, or absorbed. It updates the related records and checks that they agree.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alexpialetski/doccraft/doccraft-close
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-close
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-close

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/alexpialetski/doccraft/doccraft-close"><img src="https://agentmods.dev/badge/skills/alexpialetski/doccraft/doccraft-close.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 161 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,423 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.00161 $0.02423
Opus 5.5 $0.00064 $0.00969
Sonnet 5.5 $0.00032 $0.00485
Haiku 4.5 $0.00016 $0.00242

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

Security

Grade A, and why

doccraft-close 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-close/SKILL.md · 207 lines

How it starts

The opening of the file, as written. The whole thing — 207 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 — close a story (transactional)

When to use

  • The user wants to close / ship / finish / resolve a specific story and have the planning surface end up consistent — not just the story file.
  • Work is moving to any terminal state: done, or a non-promoting terminal like done-no-promote, abandoned, absorbed.
  • The user pastes "mark P1.30 done", "close audio-engine/STR-0042", "we shipped the retry flow", or similar.

Not for: authoring or re-scoping a story (use doccraft-story), a general "what's unblocked / fix the queue" sweep with no specific story to close (use doccraft-queue-audit), or recording a decision (use doccraft-adr).

Closing a story is a multi-file transaction. The story file is only step one; the backlog row, the queue row, and (with epics) the parent epic table all describe the same work and drift the moment one is updated without the others. This skill owns the whole transition so a close never lands halfway.

Configuration

Read doccraft.json at invocation. Every key below has a default in this body, so a missing config file is a soft fallback, not an error.

  • docsDir — root folder for all docs. Default: docs. Stories, queue, and backlog live at {docsDir}/stories/, {docsDir}/queue.md, {docsDir}/backlog.md.
  • story.status — the allowed status: values. The terminal values are whichever of these mean "no longer active work" — done always, plus any the project adds (done-no-promote, abandoned, absorbed). Read this list rather than assuming done is the only terminal state; a story closed as absorbed is just as closed as one marked done.
  • queue.tables.suggestedOrder, queue.tables.platformSpikes — heading text used to locate the queue tables. Defaults: Suggested order, Platform spikes. Matched on heading text, not row position.

Read the full file on GitHub · 207 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 · 207 lines · 161 tokens per session scan A cadae99d2158

Subscribe to this mod's changes

doccraft-close is a skill published in the GitHub repository alexpialetski/doccraft (4 stars, last pushed 5mo ago), licensed MIT. It adds 161 tokens to every session and 2,423 once invoked, about $0.0006 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-close compared with skills from other repositories

doccraft-close next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
doccraft-closealexpialetski/doccraftSkill45mo agoMITA161Claude 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