dewey

dewey is a skill for Claude Code from bestdeejay-design/agent-skills. It costs 57 tokens per session (607 once invoked), scanned A, original, MIT.

A document classifier that assigns each file to one of six levels, from contracts and product plans to engineering records and auxiliary files. It also checks whether the documents required for the project's maturity level exist.

In plain words
What is it for?
Use it to classify project documents, determine the detected project level, and report missing required documentation.
Why use it?
It makes a documentation structure easier to review and exposes required files that are missing.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Good fit Use it to classify project documents, determine the detected project level, and report missing required documentation.

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

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 dewey

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bestdeejay-design/agent-skills/dewey"><img src="https://agentmods.dev/badge/skills/bestdeejay-design/agent-skills/dewey.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 607 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.00057 $0.00607
Opus 5 $0.00028 $0.00303
Sonnet 5 $0.00011 $0.00121
Haiku 4.5 $0.00006 $0.00061

Measured 7d ago against content hash f19efc67da40, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

dewey 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 7d 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.

skills/dewey/SKILL.md · 69 lines

What it actually says

Dewey — Classifier

Assigns taxonomy level (L1-L6) to each document, enforces required documents per project level.

Document Hierarchy (L1–L6)

Level Type Examples
L1 Contracts contracts/openapi/*.yaml, contracts/asyncapi/*.yaml
L2 Product Canon docs/VISION.md, docs/PRD.md, docs/ROADMAP.md, docs/FEATURES.md
L3 Engineering Canon docs/ARCHITECTURE.md, docs/ADR/, docs/SAGA/, docs/TEST_CASES.md
L4 Derived docs/REFERENCE.md, docs/DEV_GUIDE.md, docs/STATUS.md
L5 Artifacts Generated files (API docs, changelogs, diagrams)
L6 Auxiliary README.md, CONTRIBUTING.md, LICENSE, templates

What it does

  • Classifies every document by type and level
  • Determines project maturity level (L1-L3 based on required docs present)
  • Validates required documents exist for detected level

Usage

# Via Chronos orchestrator
chronos --path . --preset standard

# Direct invocation
python -m chronos.agents.dewey --path .

Output Format

[warning] missing: Required L2 document missing — docs/ROADMAP.md
[info] classified: docs/ARCHITECTURE.md → L3 Engineering Canon
[info] project_level: L2 (Product Canon) — 3/4 required docs present

Required Documents per Level

Level Required
L1 At least 1 contract file (OpenAPI/AsyncAPI/JSON Schema)
L2 VISION.md, PRD.md, ROADMAP.md
L3 ARCHITECTURE.md, ADR/ directory

Triggers

  • classify docs / document classification
  • missing docs / required documents
  • document taxonomy / doc hierarchy
  • dewey

Integration

Loaded by Chronos as part of standard and full presets.

Files

What ships with it

1 file 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. 7d ago First seen · 69 lines · 57 tokens per session scan A f19efc67da40

Subscribe to this mod's changes

dewey is a skill published in the GitHub repository bestdeejay-design/agent-skills (5 stars, last pushed 3d ago), licensed MIT. It adds 57 tokens to every session and 607 once invoked, about $0.0003 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-09-03.