claude-pilot: Skill for Claude Code

.claude/skills/three-tier-docs/SKILL.md

three-tier-docs is a skill for Claude Code from changoo89/claude-pilot. It costs 29 tokens per session (1,627 once invoked), scanned B, original, MIT.

A documentation workflow that keeps project guidance synchronized across three levels: a short entry guide, component notes, and detailed feature documentation. It updates files such as CLAUDE.md, CONTEXT.md, and docs/.

In plain words
What is it for?
Use it after code changes or through the /document command to update project, component, and feature documentation.
Why use it?
It reduces outdated or scattered instructions after features, refactoring, or components change. The structure helps an agent find the right amount of project context.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions CLAUDE.md.

This is changoo89/claude-pilot's own configuration. It tells Claude Code how to work on claude-pilot itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-pilot configures →

Part of the claude-pilot plugin — 32 skills, 11 commands, 14 agents, 2 MCP servers shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to changoo89/claude-pilot. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/changoo89/claude-pilot/main/.claude/skills/three-tier-docs/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/changoo89/claude-pilot

Made for: Claude Code.

Or install claude-pilot, the plugin that ships this one along with the rest of its 32 skills, 11 commands, 14 agents, 2 MCP servers.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/changoo89/claude-pilot/three-tier-docs.svg)](https://agentmods.dev/skills/changoo89/claude-pilot/three-tier-docs)
Your own site
<a href="https://agentmods.dev/skills/changoo89/claude-pilot/three-tier-docs"><img src="https://agentmods.dev/badge/skills/changoo89/claude-pilot/three-tier-docs.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,627 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00029 $0.01627
Opus 5 $0.00015 $0.00813
Sonnet 5 $0.00006 $0.00325
Haiku 4.5 $0.00003 $0.00163

Measured 8d ago against content hash 763fc7f75e78, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade B, and why

three-tier-docs scanned grade B with 1 finding 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 8d 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.

Enumerates other installed skillsmediumAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

for dir in src/ components/ lib/ .claude/commands/ .claude/skills/ .claude/agents/; do
.claude/skills/three-tier-docs/SKILL.md · 193 lines

How it starts

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

SKILL: Three-Tier Documentation

Purpose: Auto-sync documentation across 3 tiers (CLAUDE.md → CONTEXT.md → docs/) Target: Documenter agent after implementation


Quick Start

When to Use This Skill

  • After implementing features
  • After refactoring code
  • After creating new components
  • Run via /document command

Quick Reference

# Tier 1: Sync 3 Entry Point documents
# - CLAUDE.md (≤200 lines)
# - docs/ai-context/project-structure.md
# - docs/ai-context/docs-overview.md

# Tier 2: Component CONTEXT.md (≤200 lines)
# - Purpose, key files, patterns

# Tier 3: Feature CONTEXT.md (≤200 lines)
# - Implementation details

What This Skill Covers

In Scope

  • 3-tier documentation hierarchy (CLAUDE.md, CONTEXT.md, docs/)
  • Size limits and content organization
  • Auto-sync patterns after code changes

Out of Scope

  • Detailed templates → @.claude/skills/three-tier-docs/REFERENCE.md
  • Verification skills → docs-verify
  • Git documentation workflow → @.claude/skills/git-master/SKILL.md

Core Concepts

3-Tier Hierarchy

Tier 1: Entry Points (3 files only)

  • CLAUDE.md - Architecture, features, Quick Start (≤200 lines)
  • docs/ai-context/project-structure.md - Tech stack, file tree (≤200 lines)
  • docs/ai-context/docs-overview.md - Documentation navigation, Tier mapping (≤200 lines)
  • Required: CLAUDE.md top section must reference the other 2 files
  • Constraint: docs/ai-context/ folder must contain exactly 2 files

Tier 2: CONTEXT.md (Component Directory)

  • Purpose: Component context
  • Content: Purpose, key files, patterns
  • Size: ≤200 lines per file
  • Scope: Component-level context

Tier 3: CONTEXT.md (Feature Directory)

  • Purpose: Feature implementation details
  • Content: Implementation details, deep-dive
  • Size: ≤200 lines per file
  • Scope: Feature-level context

Content Organization

Tier Location Files Update Frequency
1 Root + docs/ai-context/ CLAUDE.md, project-structure.md, docs-overview.md Project changes
2 Component dirs CONTEXT.md Component changes
3 Feature dirs CONTEXT.md Feature changes

Read the full file on GitHub · 193 lines

Files

What ships with it

1 file 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. 8d ago First seen · 193 lines · 29 tokens per session scan B 763fc7f75e78

Subscribe to this mod's changes

three-tier-docs is a skill published in the GitHub repository changoo89/claude-pilot (20 stars, last pushed 7mo ago), licensed MIT. It adds 29 tokens to every session and 1,627 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

continuous-learning-v2

Instinct-based learning system that observes sessions via hooks, creates atomic instincts with confidence scoring, and evolves them into skills/commands/agents.

sangrokjung/claude-forge · 33 tokens

ai-ml-development

AI and machine learning development with PyTorch, TensorFlow, and LLM integration. Use when building ML models, training pipelines, fine-tuning LLMs, or implementing AI features.

travisjneuman/.claude · 43 tokens

case-interview-practice

Interactive consulting case interview practice with structured frameworks, feedback mechanisms, and progressive difficulty. Use when preparing for management consulting interviews, case competitions, or business problem-solving exercises.

travisjneuman/.claude · 39 tokens

i18n-localization

Internationalization and localization for global applications. Use when adding multi-language support, handling regional formats, or preparing apps for global markets.

travisjneuman/.claude · 32 tokens

electron-desktop

Desktop application development with Electron for Windows, macOS, and Linux. Use when building cross-platform desktop apps, implementing native OS features, or packaging web apps for desktop.

travisjneuman/.claude · 38 tokens

finance

Financial analysis expertise for financial modeling (DCF, LBO, M&A), valuation, financial statement analysis, capital allocation, treasury management, and corporate finance decisions. Use when building financial models, analyzing statements, or making investment decisions.

travisjneuman/.claude · 48 tokens