Brewdoc
Documentation toolkit plugin for Claude Code -- sync, generation, memory-sync generation, PDF conversion, publishing.
| Field | Value |
|---|---|
| Version | 4.10.0 |
| Skills | 6 |
| Agents | 0 |
| Hooks | 0 |
Install
Paste this into a Claude Code session:
Execute these commands in this session, one by one, show full output for each, do not skip any:
1. claude plugin marketplace add https://github.com/kochetkov-ma/claude-brewcode
2. claude plugin install brewdoc@claude-brewcode
After install, run `/reload-plugins` (or `exit` + `claude`).
Or install the whole suite
Execute these commands in this Claude Code session, one by one, show full output for each, do not skip any, do not summarize:
1. claude plugin marketplace add https://github.com/kochetkov-ma/claude-brewcode
2. claude plugin install brewcode@claude-brewcode
3. claude plugin install brewdoc@claude-brewcode
4. claude plugin install brewtools@claude-brewcode
5. claude plugin install brewui@claude-brewcode
After all commands succeed, run `/reload-plugins`. If `/reload-plugins` is unavailable, tell me to type `exit` and run `claude` again. Run the commands now.
Update anytime with /brewtools:plugin-update.
Overview
Brewdoc keeps documentation in sync with the codebase, optimizes content for LLM consumption, and exports documents to ready-made formats. Each skill is self-contained and independent of the others.
Installation
# Marketplace (recommended)
claude plugin marketplace add https://github.com/kochetkov-ma/claude-brewcode
claude plugin install brewdoc@claude-brewcode
# Already installed? Update
claude plugin marketplace update claude-brewcode
claude plugin update brewdoc@claude-brewcode
# Dev mode (no install)
claude --plugin-dir ./brewdoc
Quick Start
/brewdoc:docsync # First run -> init tracking; otherwise status
/brewdoc:docsync status # What is tracked and what is stale
/brewdoc:docsync sync # Sync stale docs (with confirmation)
/brewdoc:my-claude # Document your local Claude setup
/brewdoc:my-claude ext # Document Claude Code architecture
/brewdoc:my-claude r "how do hooks work" # Research any Claude topic
/brewdoc:memory-sync-init # Emit a project-tailored /memory-sync skill into this repo
/brewdoc:memory-sync-init status # Is it installed, and how stale are its surface tables
/brewdoc:md-to-pdf README.md # Convert markdown to PDF
/brewdoc:publish "Hello world" # Publish to brewpage.app -- returns URL
/brewdoc:guide # Interactive tutorial for the suite
Skills
| Skill | Purpose | Model | Arguments |
|---|---|---|---|
/brewdoc:docsync |
Installs project-local doc-staleness tracking (hooks) and reports/forces doc sync | sonnet | [status] | [sync [--all]] | [reread] | [frontmatter] | [uninstall] | free-text |
/brewdoc:my-claude |
Document your Claude Code installation -- setup, architecture, web research | opus | [ext [context]] | [r <query>] -- no args = internal installation docs |
/brewdoc:memory-sync-init |
Generator -- analyzes a target project and emits a project-tailored .claude/skills/memory-sync/ (batches, fact catalogue, non-growth sync, independent verify) |
opus | [status|init|upgrade] [fine-tune-prompt] |
/brewdoc:md-to-pdf |
Convert Markdown to PDF via reportlab or weasyprint engines | sonnet | <file.md> [--engine name] ["prompt"] | styles | test |
/brewdoc:publish |
Publish text/markdown/file/site to brewpage.app, returns URL | haiku | <text|file_path|directory_path|zip_path> [--ttl N] [--entry filename] |
/brewdoc:guide |
Interactive tutorial for the plugin suite | haiku | [topic] |
Need a portable, plugin-free version? See the standalone
brewpage-publish(Claude Code) andopenclaw/brewpage-publish(OpenClaw / AgentSkills) skills.
Architecture
brewdoc/
+-- .claude-plugin/plugin.json # Plugin manifest
+-- hooks/
| +-- hooks.json # no hooks ({"hooks":{}})
+-- skills/
+-- docsync/ # Doc-staleness tracker
+-- my-claude/ # Installation documentation
+-- memory-sync-init/ # Memory-sync generator (references/: SKILL.md.template, memory-guide, agent-audit, hard-sync)
+-- md-to-pdf/ # PDF conversion
+-- publish/ # brewpage.app publishing
+-- guide/ # Interactive tutorial
Brewdoc vs Brewcode: Brewdoc is a set of documentation utilities. Each skill is self-contained. Brewcode is a task execution engine with infinite context, 2 hooks, and session handoff. Both install from the same
claude-brewcodemarketplace but operate independently.
Documentation
Full docs: doc-claude.brewcode.app/brewdoc/overview
| Resource | Link |
|---|---|
| Docsync | Docsync |
| My-Claude | My-Claude |
| Memory-Sync-Init | Memory-Sync-Init |
| Release Notes | RELEASE-NOTES.md |
Author: Maksim Kochetkov | License: MIT