diataxis-docs

diataxis-docs is a skill for Claude Code, Codex from eSlider/2dph. It costs 61 tokens per session (415 once invoked), scanned A, original, MIT.

A documentation guide based on Diataxis, a method that separates tutorials, task instructions, factual references, and explanations. It also uses frontmatter so a knowledge-base index can classify documents.

In plain words
What is it for?
Use it when creating or reviewing Markdown documentation, choosing its document type, splitting mixed-content files, or marking outdated material as archived.
Why use it?
It prevents one document from serving several conflicting purposes and makes documentation easier to find and maintain.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when creating or reviewing Markdown documentation, choosing its document type, splitting mixed-content files, or marking outdated material as archived.

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

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-docs

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/eslider/2dph/diataxis-docs"><img src="https://agentmods.dev/badge/skills/eslider/2dph/diataxis-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 415 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.00061 $0.00415
Opus 5.5 $0.00024 $0.00166
Sonnet 5.5 $0.00012 $0.00083
Haiku 4.5 $0.00006 $0.00042

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

Security

Grade A, and why

diataxis-docs 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.

skills/diataxis-docs/SKILL.md · 54 lines

What it actually says

diataxis-docs

Every markdown file answers exactly one of four questions. A file that answers two should be split; that is the whole method.

Type Answers Reader is
tutorial "teach me by doing" learning
howto "help me do this task" working
reference "tell me the facts" looking up
explanation "help me understand why" studying

Frontmatter

---
type: reference          # one of the four above
status: current          # current | archive  (PARA)
related:
  - docs/OPS.md
---

bin/brain/index.go reads this. type becomes a searchable column. related: is frontmatter for humans; graph hops from it are not implemented yet.

bin/brain/search.go "deploy"

Audit checklist

  1. Does the title match the type? A reference that starts "first, open..." is a howto wearing a disguise.
  2. More than one H2 topic that a reader would search separately? Split the file. The indexer chunks on H2, so split files also search better.
  3. Is status: archive set on anything superseded? Archived files stay indexed but stop competing with current ones for a reader's attention.
  4. Does every explanation link the reference it explains, and vice versa?

Rule

Do not invent a fifth type. If a document does not fit, it is usually two documents.

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 First seen · 54 lines · 61 tokens per session scan A dea8895dabd5

Subscribe to this mod's changes

diataxis-docs is a skill published in the GitHub repository eSlider/2dph (3 stars, last pushed 24d ago), licensed MIT. It adds 61 tokens to every session and 415 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-31.

Related

Other skills, from other repositories

engrama-onboard

Build a personalized Engrama memory graph for any user through a conversational interview. Use this skill whenever someone says "set up Engrama", "create my graph", "onboard", "build my profile", "configure Engrama for me", or asks how to start using Engrama. Also use when the user mentions they have a different role…

scops/engrama · 104 tokens

accurate-code

Use when implementing or modifying code with Kontext Brain so each behavior-bearing logic unit is grounded in current provenance-backed decisions, domain terms, invariants, and Evidence.

hj1105/kontext-brain-ts · 36 tokens

fortemi-roadmap-skill

Advance the Fortemi delivery roadmap by one concrete increment and document the progress. Reads .aiwg/planning/roadmap.md, picks the next actionable item respecting phase gating, does or dispatches the work, then records progress back into the roadmap. Built for fresh sessions and simple loops.

Fortemi/fortemi · 65 tokens

fortemi-monthly-report

Author a Fortémi monthly report as a docsite blog post — gather what shipped that month from git history, CHANGELOG, and release announcements, then write it up FOR USERS in plain language and publish it to the Pagenary blog collection.

Fortemi/fortemi · 56 tokens

life-memory-mcp-connect

Set up an external AI agent to connect to the Life Memory System through MCP, including verified installation, retrieval, RawEvent writes, sync, diagnostics, and Working-Agent governance. Use when an agent needs to install or verify the Life Memory MCP bridge, onboard Codex/Claude/Cursor/Windsurf style clients, or…

234194027-cpu/aion-memory-nexus · 75 tokens

life-memory-media-ingestion

Teach an external agent how to send links, files, images, tables, audio, and video into the Life Memory System as reviewable media note artifacts through MCP.

234194027-cpu/aion-memory-nexus · 39 tokens