x0c

Agent Doc Skills — Documentation skill for Claude Code

Documentation community

Navigable project documentation for Claude Code, Cursor, and Codex — a knowledge base your coding agent can pick up cold, instead of rediscovering the repo every session.

How to install Agent Doc Skills

This entry records only its repository, not the path inside it, so there is no exact command to give. Open x0c/agent-doc-skills and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agent Doc Skills does

Navigable project documentation for Claude Code, Cursor, and Codex — a knowledge base your coding agent can pick up cold, instead of rediscovering the repo every session.

Alternatives in Documentation

README

agent-doc-skills

Every new coding-agent session, your agent forgets the project and rediscovers it from scratch. These skills build a small, navigable project documentation system — a knowledge base the next agent can pick up cold.

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) [![Agent Skills](https://img.shields.io/badge/Agent_Skills-Cursor%20%7C%20Claude%20Code%20%7C%20Codex-5A67D8)](https://agentskills.io) [![Python 3.8+](https://img.shields.io/badge/Python-3.8+-3776AB?logo=python&logoColor=white)](https://python.org)

**Languages:** [English](#english) | [中文](#中文)


English

Why this exists

AI coding agents waste time (and make mistakes) re-discovering the same project context every session: which module owns what, which fields lie, which side effects aren't visible in the code. `agent-doc-skills` turns that tribal knowledge into a small, navigable documentation system that any agent can pick up cold — and keeps it from rotting as the codebase changes.

Quick Install

macOS, Linux, and Windows. Needs [Node.js](https://nodejs.org/) for the one-liner, and Python 3.8+ when the skills run.

npx skills add x0c/agent-doc-skills -g

That installs `doc-init`, `doc-compact`, and `doc-update` for the Agent Skills hosts on this machine (Cursor, Claude Code, Codex, and others). Start a new chat afterwards.

Without Node.js, copy the three skill folders into your host’s skills directory:

git clone https://github.com/x0c/agent-doc-skills.git
cp -r agent-doc-skills/doc-init agent-doc-skills/doc-compact agent-doc-skills/doc-update ~/.cursor/skills/

Use `~/.claude/skills/` or `~/.codex/skills/` instead if that is the host you run.


Skills

`doc-init` — Documentation System Initialization

Bootstraps a full documentation system for a project from scratch. The overall design follows a two-phase approach: **fix the global AI instruction file first, then build the proje