docs-architecture

docs-architecture is a skill for Claude Code from the-open-agent/oss-skills. It costs 116 tokens per session (1,862 once invoked), scanned A, original, Apache-2.0.

A set of practices for organizing project documentation so tutorials, task instructions, explanations, and technical reference are easy to find.

In plain words
What is it for?
It helps plan a documentation site, separate learning guides from task recipes and reference pages, and choose tools such as Docusaurus, MkDocs, VitePress, mdBook, or Sphinx.
Why use it?
It solves the problem of documentation becoming a confusing pile where different kinds of information interrupt each other.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the oss-skills plugin — 18 skills shipped together

Good fit It helps plan a documentation site, separate learning guides from task recipes and reference pages, and choose tools such as Docusaurus, MkDocs, VitePress, mdBook, or Sphinx.

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

Made for: Claude Code.

Or install oss-skills, the plugin that ships this one along with the rest of its 18 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/the-open-agent/oss-skills/docs-architecture"><img src="https://agentmods.dev/badge/skills/the-open-agent/oss-skills/docs-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,862 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.00116 $0.01862
Opus 5 $0.00058 $0.00931
Sonnet 5 $0.00023 $0.00372
Haiku 4.5 $0.00012 $0.00186

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

Security

Grade A, and why

docs-architecture 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 9d 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/docs-architecture/SKILL.md · 159 lines

How it starts

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

Documentation Architecture

Most bad documentation is not badly written — it is badly sorted. A tutorial with reference material interleaved fails at both jobs. Fix the structure first; the prose problem usually dissolves.

Diátaxis: the four modes

Every documentation page serves exactly one of four purposes. Mixing them is the root cause of most docs complaints.

Learning (study) Working (doing)
Practical steps Tutorial — a guided first success How-to — a recipe for a specific goal
Theoretical knowledge Explanation — why it works this way Reference — exhaustive, dry, accurate
  • Tutorial — "Build your first X in 10 minutes." One path, no choices, guaranteed to work. The reader is a beginner; every decision you offer them is a chance to fail. Optimize for finishing, not for teaching everything.
  • How-to — "How to deploy behind a proxy." Assumes competence. Starts at a goal, ends at the goal. Titled How to <verb> <object> so search finds it.
  • Reference — the API, the CLI flags, the config schema. Complete, consistent, boring. Generated from source wherever possible. No teaching, no opinions.
  • Explanation — "Why we use content-addressed storage." Read in an armchair, not at a keyboard. This is where design rationale, tradeoffs, and history belong.

Diagnostic: pick any page and name its quadrant. If you cannot, that page is the problem. Common failure — a "Getting Started" page that is 30% tutorial, 50% reference and 20% explanation, so a beginner drowns and an expert cannot find the flag list.

Minimum viable docs, in order of when to add them:

  1. README (see readme-that-converts)
  2. One tutorial — the 10-minute first success
  3. Reference — generated
  4. How-tos — one per recurring support question, written when it recurs
  5. Explanations — when "why is it like this?" gets asked twice

Let the issue tracker write your docs

The highest-leverage docs process there is: every question answered more than once becomes a how-to page.

Read the full file on GitHub · 159 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. 9d ago First seen · 159 lines · 116 tokens per session scan A 15a6b6058331

Subscribe to this mod's changes

docs-architecture is a skill published in the GitHub repository the-open-agent/oss-skills (5 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 116 tokens to every session and 1,862 once invoked, about $0.0006 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-08-31.

Related

Other skills, from other repositories

opentrons-dev-update

Guide users through setting up or updating a local development environment for the Opentrons opentrons/opentrons monorepo. Use this skill whenever a user mentions setting up or updating Opentrons development, cloning the Opentrons repo, installing or refreshing dev dependencies for Opentrons, getting started…

koji/opentrons-devenv-skill · 170 tokens

opentrons-dev-setup

Guide users through setting up a local development environment for the Opentrons opentrons/opentrons monorepo. Use this skill whenever a user mentions setting up Opentrons development, cloning the Opentrons repo, installing dev dependencies for Opentrons, getting started contributing to Opentrons, or hits errors…

koji/opentrons-devenv-skill · 164 tokens

cn-check

Install and run the Continue CLI (cn) to execute AI agent checks on local code changes. Use when asked to "run checks", "lint with AI", "review my changes with cn", or set up Continue CI locally.

continuedev/continue · 49 tokens

design-taste-frontend

Anti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check.

Leonxlnx/taste-skill · 61 tokens

image-to-code

Elite website image-to-code skill for Codex. For visually important web tasks, it must first generate the design image(s) itself, deeply analyze them, then implement the website to match them as closely as possible. In Codex, it must prefer large, readable, section-specific images instead of tiny compressed boards…

Leonxlnx/taste-skill · 116 tokens

brandkit

Premium brand-kit image generation skill for creating high-end brand-guidelines boards, logo systems, identity decks, and visual-world presentations. Trained for minimalist, cinematic, editorial, dark-tech, luxury, cultural, security, gaming, developer-tool, and consumer-app brand systems. Optimized for intentional…

Leonxlnx/taste-skill · 89 tokens