documentation-criteria

documentation-criteria is a skill for Codex from shinpr/codex-workflows. It costs 44 tokens per session (1,238 once invoked), scanned A, original, MIT.

A documentation-planning guide that determines whether a change needs a product requirements document, architecture decision record, UI specification, design document, or work plan.

In plain words
What is it for?
Use it when assessing the size of a change, deciding documentation scope, or planning frontend, full-stack, or architecture-related work.
Why use it?
It helps teams choose the right documents and create them in the required order before implementation.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when assessing the size of a change, deciding documentation scope, or planning frontend, full-stack, or architecture-related work.

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

Made for: 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 documentation-criteria

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/shinpr/codex-workflows/documentation-criteria"><img src="https://agentmods.dev/badge/skills/shinpr/codex-workflows/documentation-criteria.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,238 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 pass 7 Sept 2026
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.00044 $0.01238
Opus 5.5 $0.00018 $0.00495
Sonnet 5.5 $0.00009 $0.00248
Haiku 4.5 $0.00004 $0.00124

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

Security

Grade A, and why

documentation-criteria 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 1mo 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.

.agents/skills/documentation-criteria/SKILL.md · 90 lines

How it starts

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

Documentation Creation Criteria

Templates

Creation Decision Matrix [MANDATORY]

Structural Scale Base Documents Creation Order
Small None N/A
Medium Design Doc -> Work Plan Start with Design Doc
Large PRD* -> Design Doc -> Work Plan Continue after product-scope approval

Build one path in this order:

  1. Select the base path from Structural Scale.
  2. Frontend or fullstack scope inserts UI Spec immediately before the Design Doc.
  3. One or more qualifying ADR decision points insert an ADR batch immediately before the Design Doc. A qualifying decision point sets the scale floor to Medium.

* A design recipe that does not create PRDs may carry the convergence record directly only after the user explicitly authorizes proceeding without a PRD.

Structural Scale

Classify the decision burden, not repository layout. File count is supporting evidence only.

Scale Structural condition
Small One coherent outcome follows existing patterns within one responsibility boundary
Medium One coherent outcome coordinates across a boundary or requires a durable design decision
Large Multiple independently valuable outcomes require separate design decisions

A qualifying ADR decision point sets the floor at Medium because it creates a durable decision. Large applies when multiple independently valuable outcomes require separate design decisions; one coherent outcome remains Medium across multiple layers. ADR decision points come from the Choice and Durability filters independently of scale.

Read the full file on GitHub · 90 lines

Files

What ships with it

6 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. 1mo ago Changed · +2 lines b97bf26508b8
  2. 2mo ago Changed fe3923625b9d
  3. 3mo ago First seen · 88 lines · 44 tokens per session scan A 27bc66d56b6c

Subscribe to this mod's changes

documentation-criteria is a skill published in the GitHub repository shinpr/codex-workflows (42 stars, last pushed 3d ago), licensed MIT. It adds 44 tokens to every session and 1,238 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-08-30.

Related

documentation-criteria compared with skills from other repositories

documentation-criteria next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
documentation-criteriashinpr/codex-workflowsSkill423d agoMITA44Codex
csv-workbenchopenai/openai-agents-pythonSkill31ktodayMITA17Claude Code, Codex
powerpointthe-open-agent/openagentSkill5.8kyesterdayApache-2.0A48Claude Code, Codex
google-workspace-opshashgraph-online/awesome-codex-pluginsSkill1.6ktodayApache-2.0A59Claude Code, Codex
chat-complex-documentsvellum-ai/vellum-assistantSkill1.5k3d agoMITA90Claude Code, Codex
spreadsheet-authoringvellum-ai/vellum-assistantSkill1.5k3d agoMITA44Claude Code, Codex
documentsAstrBotDevs/AstrBotSkill48ktodayAGPL-3.0A70Claude Code, Codex