diataxis

diataxis is a skill for Claude Code, Codex from pproenca/dot-skills. It costs 190 tokens per session (1,845 once invoked), scanned A, original, MIT.

A framework for organizing technical documentation into tutorials, task guides, reference material, and explanations. Each type answers a different reader need.

In plain words
What is it for?
Use it when writing or reviewing READMEs, API documentation, onboarding material, tutorials, or architecture docs.
Why use it?
It prevents documents from mixing incompatible purposes and becoming confusing or difficult to use.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: names the AskUserQuestion tool.

Good fit Use it when writing or reviewing READMEs, API documentation, onboarding material, tutorials, or architecture docs.

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

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 diataxis

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/pproenca/dot-skills/diataxis"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/diataxis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 190 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,845 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.00190 $0.01845
Opus 5.5 $0.00076 $0.00738
Sonnet 5.5 $0.00038 $0.00369
Haiku 4.5 $0.00019 $0.00185

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

Security

Grade A, and why

diataxis 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (references/queries/scan-docs.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/.experimental/diataxis/SKILL.md · 86 lines

How it starts

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

Diátaxis

A runbook for producing and fixing technical documentation with the Diátaxis framework. Diátaxis splits documentation into four modes — tutorials, how-to guides, reference, explanation — because they answer four different user needs that pull in opposite directions. The single idea that makes it work:

Most documentation problems are a single thing: content that tries to serve more than one need at once. Separate the four modes and most confusion dissolves.

Diátaxis is descriptive, not prescriptive — a way to understand documentation, not a template to fill in. Don't wait to understand the whole framework before applying it: pick one small thing, classify it, improve it, publish, repeat.

When to Apply

Use this skill when:

  • Writing or generating new documentation of any kind (README, API docs, guide, onboarding, developer docs) — decide which mode(s) the content needs before writing it.
  • A page is confusing, bloated, or "tries to do everything" — diagnose the type-mixing and split it.
  • Users can't get started, can't complete a task, can't find a fact, or don't understand why — locate the missing or weak mode.
  • Restructuring or auditing an existing doc set — apply the small-step workflow instead of a big rewrite.
  • You're unsure whether something is a tutorial, how-to, reference, or explanation — run the compass.

Do not reach for this skill for pure prose/copy-editing within an already-correct mode (use a copywriting skill), or for design/spec/proposal documents — those are mostly explanation and are better served by dev-rfc or feature-spec.

The four modes

Each mode serves a different user, in a different situation, with a different content style. The quickest way to keep them straight:

Mode Serves Oriented to Analogy Answers
Tutorial a beginner learning learning, study teaching a child to cook "teach me, by doing"
How-to guide a user working a goal, a task a recipe in a cookbook "how do I achieve X?"
Reference a user working information an encyclopaedia entry "what is X exactly?"
Explanation a user studying understanding an article about cooking "why is X this way?"

Read the full file on GitHub · 86 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. 2mo ago First seen · 86 lines · 190 tokens per session scan A e867a75ada73

Subscribe to this mod's changes

diataxis is a skill published in the GitHub repository pproenca/dot-skills (231 stars, last pushed 3mo ago), licensed MIT. It adds 190 tokens to every session and 1,845 once invoked, about $0.0008 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-09-03.

Related

diataxis compared with skills from other repositories

diataxis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
diataxispproenca/dot-skillsSkill2313mo agoMITA190Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code