Skip to main content
reopt Handbook
reopt Handbook
Agentic Documentation

Paradigm Shift

Why Documentation Must ChangeAI-readable Design PrinciplesAI-assisted Writing Process

Practice by Document Type

Project Rule DocumentsFrom Docs to Skills, Plugins, and MCPAgent Documentation SecurityAPI Docs and SpecsREADME and OnboardingArchitecture Decision RecordsRunbooks and OperationsUser Guides and TutorialsKnowledge Bases and Internal Wikis

Operations

Maintenance StrategyTeam Documentation Culture

Appendix

TemplatesVerification ReportUpdates
Handbook›에이전틱 시대의 문서화 혁신›From Docs to Skills, Plugins, and MCP
한국어English

From Docs to Skills, Plugins, and MCP

Split rules, workflows, distribution units, and external context into the right agent surface.

Key takeaways

  • The goal is choosing the right surface for each kind of knowledge, not piling more text into one file.
  • Rules files (AGENTS.md, CLAUDE.md) are startup instructions; Skills are reusable procedures loaded on trigger; Plugins are versioned distribution units; MCP exposes Tools, Resources, and Prompts.
  • Promote a Skill to a Plugin only when it needs team distribution, packaged MCP config, hooks, and versioning, since a bad Plugin spreads faster than a bad local Skill.
  • A common pattern is a thin rule file that names which Skill to use, with the detailed procedure inside the Skill and current facts supplied by an MCP Resource.
  • Each surface carries security risks (prompt injection, Tool overreach, Skill drift, supply chain, Resource poisoning) with surface-specific mitigations.

Agentic documentation is not about putting more text into one file. It is about choosing the right surface for the right kind of knowledge.

Rules files are startup instructions. Skills are reusable procedures. Plugins are distribution units. MCP exposes tools, resources, and prompts from external systems.

Surface Selection

ContentRecommended surfaceReason
Always-needed project rulesAGENTS.md, CLAUDE.mdloaded at task start
Path-specific rulesnested AGENTS.md, .claude/rules/avoids global bloat
Repeatable procedureSkillloaded only when triggered
Team-distributed workflowsPlugininstallable and versioned
API docs, DB schemas, policy docsMCP Resourceexternal context
User-invoked workflowMCP Promptstructured task entry
External actionMCP Toolexplicit callable behavior

Skills

A Skill is usually a SKILL.md plus optional scripts, references, and assets.

.agents/skills/release-check/
├── SKILL.md
├── scripts/
└── references/

Use a Skill when:

  • the same prompt is repeated often
  • a checklist is too long for AGENTS.md
  • scripts or reference files are needed
  • the workflow is reusable across tasks
---
name: release-check
description: Use before release to summarize changes, detect risk, and list validation evidence.
---

1. Inspect the current diff and recent commits.
2. Classify user, operational, and migration impact.
3. Read `references/release-policy.md` only when needed.
4. Report validation commands and residual risk.

Plugins

Promote a Skill to a Plugin when the workflow needs team distribution, packaged MCP config, app integrations, hooks, versioning, and install policy.

docs-quality-plugin/
├── .codex-plugin/
│   └── plugin.json
├── skills/
├── .mcp.json
└── assets/

Do not package experimental workflows too early. A bad Plugin spreads faster than a bad local Skill.

MCP

MCP servers expose three major building blocks.

MCP featureMeaningDocumentation concern
Toolscallable actionsinput/output schema, auth, side effects
Resourcesread-only contextfreshness, owner, source URL
Promptsuser-invoked templatesarguments, workflow boundaries
docs://api/openapi.yaml
docs://adr/2026-05-billing.md
kb://support/refund-policy
schema://warehouse/orders

Common Patterns

Thin rule file, thick Skill

AGENTS.md says which Skill to use. The Skill contains the detailed procedure.

Skill plus MCP Resource

The Skill contains the workflow. The MCP Resource supplies current facts.

Plugin for distribution

Once a Skill and MCP setup are stable, bundle them as a Plugin with ownership, versioning, and review.

Security Boundaries

RiskExampleMitigation
Prompt injectionResource text says "ignore rules"treat Resource text as data
Tool overreachreview Skill calls deploy Toolapproval and per-tool policy
Skill driftold CI commandsmoke tests and freshness
Plugin supply chainunknown plugin sourcemanifest and owner review
Resource poisoningstale schemagenerated_at, source URL, checksum

References

  • OpenAI Codex: Skills
  • OpenAI Codex: Build plugins
  • Claude Code: Skills
  • Model Context Protocol: Understanding MCP servers

Related docs

Agent Documentation Security

Reduce prompt injection, MCP tool poisoning, Plugin supply chain risk, and excessive agency.

Custom commands and skills

Claude Code Command Master · Choose the commands for custom commands and skills and follow their availability rules and concrete examples.

Templates

Templates for AGENTS.md, CLAUDE.md, Skills, Plugins, MCP, llms.txt, runbooks, and KB docs.

Skills and Custom Commands

Claude Code Command Master · How to design reusable Claude Code skills and slash commands for team workflows.

Skills Ecosystem

Enterprise Project Architecture · Build reusable agent skills, commands, and documents for repeated engineering workflows.

Project Rule Documents

Design AGENTS.md, CLAUDE.md, and path-scoped rules without conflicts or drift.

Agent Documentation Security

Reduce prompt injection, MCP tool poisoning, Plugin supply chain risk, and excessive agency.

On this page

Surface SelectionSkillsPluginsMCPCommon PatternsThin rule file, thick SkillSkill plus MCP ResourcePlugin for distributionSecurity BoundariesReferences