diataxis

diataxis is a skill for Claude Code, Codex from alunduil/alunduil-chezmoi. It costs 0 tokens per session (1,297 once invoked), scanned A, original, 0BSD.

Documentation guide based on Diátaxis, a framework that separates tutorials, how-to guides, reference material, and explanations. It chooses the right kind of document before editing files under docs/.

In plain words
What is it for?
Use it to create or review project documentation that teaches a task, explains a concept, gives instructions, or records technical details.
Why use it?
It prevents one document from trying to teach, instruct, specify, and explain at the same time. It also helps decide whether a comment, docstring, README, or larger document is the right place for information.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Good fit Use it to create or review project documentation that teaches a task, explains a concept, gives instructions, or records technical details.

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

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/alunduil/alunduil-chezmoi/diataxis/github.svg)](https://agentmods.dev/skills/alunduil/alunduil-chezmoi/diataxis)
Your own site
<a href="https://agentmods.dev/skills/alunduil/alunduil-chezmoi/diataxis"><img src="https://agentmods.dev/badge/skills/alunduil/alunduil-chezmoi/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/alunduil/alunduil-chezmoi/diataxis"><img src="https://agentmods.dev/badge/skills/alunduil/alunduil-chezmoi/diataxis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,297 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.00000 $0.01297
Opus 5 $0.00000 $0.00648
Sonnet 5 $0.00000 $0.00259
Haiku 4.5 $0.00000 $0.00130

Measured 11d ago against content hash ed03c00d4349, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 11d 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.

dot_claude/skills/diataxis/SKILL.md · 128 lines

How it starts

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

Diátaxis

Reference: https://diataxis.fr

The four modes are the meta-framework the artifact skills sit inside. This skill forces the mode pick the artifact skills assume. Pick one mode per document before writing; a doc that needs two modes is two documents.

Cheapest layer first

Doc work escalates up the user-CLAUDE.md ladder; reach for a Diátaxis doc only when the cheaper layer can't carry the knowledge:

inline comment → docstring → Diátaxis doc → repo-local CLAUDE.md~/.claude/CLAUDE.md.

A non-obvious why is a comment. An interface contract is a docstring. Reach a docs/ artifact only for knowledge shared across the project that no closer layer holds.

Defer to the artifact skills

readme, contributing, adr, changelog own their specific artifacts. This skill owns the meta-mode for everything else under docs/. When both could apply, the artifact skill wins — a README is a README, not a "reference doc."

Pick the mode

Two axes: action vs cognition (do something / understand something), acquisition vs application (studying / working).

Mode Axis Serves Reader
Tutorial action + acquisition learning by doing newcomer, no prior context
How-to action + application a goal at work practitioner who knows the goal
Reference cognition + application a fact at work practitioner who needs to look it up
Explanation cognition + acquisition understanding someone studying the why

Smell test before writing: is the reader learning, doing, looking up, or understanding? One answer. If two, split the doc.

Tutorial

  • Purpose — a lesson. The reader ends able to do the thing, having done it once under guidance.
  • Audience — a newcomer with no prior context; assume nothing.
  • Shape — a single guaranteed-success path, concrete and hand-held. Author owns every step; the reader only follows.
  • Anti-patterns
    • Over-explaining mechanics — why belongs in explanation; the tutorial just has the reader do it.
    • Assuming the reader will deviate or offering branches — one path, no choices.
    • Reference-style completeness — list only what this lesson touches, not every option.
    • Leaving a step that can fail on a clean machine — a tutorial that doesn't reproduce isn't a lesson.

Read the full file on GitHub · 128 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. 11d ago First seen · 128 lines · 0 tokens per session scan A ed03c00d4349

Subscribe to this mod's changes

diataxis is a skill published in the GitHub repository alunduil/alunduil-chezmoi (2 stars, last pushed today), licensed 0BSD. It costs nothing until one of its globs matches a file; then it loads 1,297 tokens. 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

Other skills, from other repositories

batch-grill-me

A relentless interview that asks every frontier question at once, round by round.

M0rtalPhe0nix/dotfiles · 20 tokens

dotfiles-bootstrap

Bootstrap a workstation with the dotfiles framework. Takes a GitHub user / owner+repo / explicit clone URL and runs dot init (which shells out to chezmoi) with the right safety prompts. Honors the active agent profile (ask / plan / apply / audit) so it defaults to dry-run in safer modes and full apply in apply.

sebastienrousseau/dotfiles · 88 tokens

vibe

Delegate a coding task to a cheap AI model (Mistral Vibe by default, but any provider Vibe knows about — DeepSeek, Gemini Flash, etc.) and supervise the result via git diff. Claude orchestrates, the cheap model codes. Claude consumes 500-1500 tokens per delegation regardless of how many file reads the delegate does…

sebastienrousseau/dotfiles · 137 tokens

aiq-research

Use when asked to run deep research or AI-Q research through a reachable NVIDIA AI-Q Blueprint backend.

laurigates/dotfiles · 25 tokens

telegram

Send notifications, interactive questions, or multiple-choice polls to the user via Telegram. Use when the user asks to be notified ("ping me", "notify me on Telegram", "ask me when..."), when a long-running task finishes and the user is likely away, when an irreversible action needs out-of-band confirmation, or when…

laurigates/dotfiles · 117 tokens

repo-activity

Scan all git repositories under /repos and report recent activity — last commit age, branch, uncommitted changes — in age-bucketed tables. Use when the user asks for a repo activity overview, "what have I been working on", portfolio status, or which repos are active/dormant.

laurigates/dotfiles · 65 tokens