doccraft-queue-audit

doccraft-queue-audit is a skill for Claude Code, Codex from alexpialetski/doccraft. It costs 161 tokens per session (5,301 once invoked), scanned A, original, MIT.

A guide for reconciling a dependency graph, which shows which work items rely on others, with the project queue and backlog.

In plain words
What is it for?
Checking what to work on next, finding unblocked items, validating queue changes, and identifying work that can proceed in parallel.
Why use it?
It helps reveal what work is unblocked and keeps priorities, statuses, dependencies, and parallel work batches in agreement.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/alexpialetski/doccraft/doccraft-queue-audit
Any agent
npx skills add alexpialetski/doccraft --skill doccraft-queue-audit
Clone the repo
git clone --depth 1 https://github.com/alexpialetski/doccraft

Made for: Claude Code, Codex.

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-queue-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/alexpialetski/doccraft/doccraft-queue-audit.svg)](https://agentmods.dev/skills/alexpialetski/doccraft/doccraft-queue-audit)
Your own site
<a href="https://agentmods.dev/skills/alexpialetski/doccraft/doccraft-queue-audit"><img src="https://agentmods.dev/badge/skills/alexpialetski/doccraft/doccraft-queue-audit.svg" alt="Measured on agentmods" 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 5,301 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00161 $0.05301
Opus 5 $0.00081 $0.02651
Sonnet 5 $0.00032 $0.01060
Haiku 4.5 $0.00016 $0.00530

Measured 3d ago against content hash c69f02ec2b92, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

doccraft-queue-audit 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 3d 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-queue-audit/SKILL.md · 461 lines

How it starts

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

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

doccraft — queue, dependency audit, and parallel waves

When to use

  • After adding a story, changing depends_on / id, or reshuffling priorities and you want a sanity check on docs/queue.md.
  • The user asks "what can I work on next", "what's unblocked", "sanity-check the queue", or similar pick-next / dependency questions.
  • The user asks for parallel-ready batches ("what can I run in parallel?") — see Parallel waves below.
  • The user pastes the suggested follow-up block from doccraft-story.

Not for: authoring a new story (use doccraft-story), recording a decision (use doccraft-adr), proposing artifacts from a chat thread (use doccraft-session-wrap), or closing one specific story end-to-end (use doccraft-close — it does the status/backlog/queue/epic transition, then defers to this skill's reconcile invariants).

Configuration

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

Relevant keys:

  • docsDir — root folder for all docs. Default: docs. Stories, queue, and backlog are at {docsDir}/stories/, {docsDir}/queue.md, {docsDir}/backlog.md.
  • queue.tables.suggestedOrder, queue.tables.platformSpikes — the heading text this skill uses to find the two tables in the queue file. Defaults: Suggested order, Platform spikes. Rename in config if the project uses different headings; the skill matches on heading text, not row position.
  • story.id.pattern — regex for valid story ids. Used when listing unknown-id errors and when normalising obvious typos.
  • queueAudit.laneFrom — tag-prefix priority list for the lane heuristic in the parallel-waves pass. Default: [area, slice]. Set to [slice, area] for projects that group work primarily by product surface. May also include epic — when present (and an epics extension defines the epic: story field), the queue groups by epic, which is the primary ordering for milestone/epic projects (ADR 016).
  • story.status — the project's allowed status values. Whichever of these mean "no longer active work" are terminal (done always, plus any the project adds: done-no-promote, abandoned, absorbed). Wherever this skill says a story is done / shipped, it means any terminal status — read the vocabulary rather than matching the literal done, or a story closed as absorbed will wrongly look unfinished and never satisfy its dependents.
  • queueAudit.scale.maxStoryFiles, queueAudit.scale.maxQueueReorderPct — thresholds that trigger stop-and-confirm in Agent mode. Defaults: 5, 50. See Containment below.

Read the full file on GitHub · 461 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. 3d ago First seen · 461 lines · 161 tokens per session scan A c69f02ec2b92

Subscribe to this mod's changes

doccraft-queue-audit is a skill published in the GitHub repository alexpialetski/doccraft (4 stars, last pushed 2mo ago), licensed MIT. It adds 161 tokens to every session and 5,301 once invoked, about $0.0008 per session on Opus 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.