with one click
docs
// Access Claude Code documentation locally. Supports reading docs, viewing changes, and reading the changelog. Use when answering questions about Claude Code features, configuration, or usage.
// Access Claude Code documentation locally. Supports reading docs, viewing changes, and reading the changelog. Use when answering questions about Claude Code features, configuration, or usage.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | docs |
| description | Access Claude Code documentation locally. Supports reading docs, viewing changes, and reading the changelog. Use when answering questions about Claude Code features, configuration, or usage. |
| allowed-tools | Read, Bash, Grep, Glob |
This skill provides access to locally mirrored Claude Code documentation from the official docs site. Documentation is stored in the references/ directory and automatically syncs via GitHub Actions every 3 hours.
All documentation files are in the references/ subdirectory of this skill:
references/*.md (51 files total)docs_manifest.jsonThe manifest contains metadata for all documentation files including:
All file paths in this skill are relative to the skill directory.
Process $ARGUMENTS to determine what action to take:
<topic>: Read specific documentation file (e.g., hooks, mcp, skills, plugins)what's new or whats new: Show recent documentation changes from git historychangelog: Read the official Claude Code changelog (release notes)uninstall: Show uninstall instructionsThe following 51 topics are available (from docs_manifest.json):
Core Documentation:
Configuration:
Features:
Integrations:
Cloud Providers:
Enterprise:
Reference:
When $ARGUMENTS is empty or just whitespace:
docs_manifest.json (relative to skill directory)fetch_metadata.last_fetch_completedExample output format:
š Claude Code Documentation (Local Mirror)
š Official Docs: https://code.claude.com/docs
š Mirror Repo: https://github.com/mfreiwald/ccdocs
Available Topics (51 total):
Core Documentation:
overview, quickstart, features-overview, how-claude-code-works
setup, cli-reference, common-workflows, best-practices
interactive-mode, headless
[... other categories ...]
Last synced: [timestamp from manifest]
Usage:
/ccdocs:docs <topic> - Read specific documentation
/ccdocs:docs what's new - Show recent changes
/ccdocs:docs changelog - Read Claude Code release notes
When $ARGUMENTS contains a topic name (e.g., hooks, mcp, skills):
Sanitize the topic name:
Check if file exists:
references/<topic>.md (relative to skill directory)Read and display the documentation:
š Claude Code Documentation: <Title>
š Official: <URL from manifest>
[Full markdown content of the doc]
---
š Official page: <URL from manifest>
š Last updated: <timestamp from manifest>
When $ARGUMENTS contains "what's new" or "whats new":
Get recent changes from git log (from plugin root):
Navigate to plugin root (2 levels up from skill directory):
cd ../.. && git log --since="7 days ago" \
--pretty=format:"%h|%ar|%s" --name-status -- skills/docs/references/ | head -50
Parse and format the output:
š Recent Documentation Updates (Last 7 Days)
⢠[time ago]:
š Commit: https://github.com/mfreiwald/ccdocs/commit/[hash]
š [filename]: https://code.claude.com/docs/en/[filename without .md]
[Change description from commit message]
[Repeat for each commit]
---
š Full history: https://github.com/mfreiwald/ccdocs/commits/main/plugins/ccdocs/skills/docs/references
š Auto-updates run every 3 hours
If no changes in last 7 days:
š No documentation updates in the last 7 days
Last update: <most recent commit date>
Check full history: https://github.com/mfreiwald/ccdocs/commits/main/plugins/ccdocs/skills/docs/references
When $ARGUMENTS is "changelog":
Read the changelog file:
references/changelog.mdDisplay with proper attribution:
š Claude Code Changelog (Official Release Notes)
š Source: https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md
[Full changelog content]
---
š This changelog is from the official claude-code repository
š Last synced: <timestamp from manifest for changelog.md>
š” Tip: Run `/ccdocs:docs what's new` to see documentation updates
When $ARGUMENTS is "uninstall":
Display:
šļø Uninstalling ccdocs Plugin
To remove this plugin:
1. Remove the plugin directory:
rm -rf ~/.claude/plugins/ccdocs
2. Or if using --plugin-dir:
Simply stop using the --plugin-dir flag
The plugin can be reinstalled anytime from:
https://github.com/mfreiwald/ccdocs
When a requested topic doesn't exist:
ā Documentation topic not found: "<topic>"
Did you mean one of these?
⢠<similar-topic-1>
⢠<similar-topic-2>
⢠<similar-topic-3>
Run `/ccdocs:docs` to see all available topics.
If unable to read a documentation file:
ā Unable to read documentation file: references/<topic>.md
This might indicate a plugin installation issue.
Try reinstalling the plugin or check the GitHub repository.
If git commands fail (for what's new):
ā ļø Unable to check recent changes - git operation failed
This might happen if:
⢠You're offline
⢠The plugin directory is not a git repository
⢠Git is not installed
The documentation is still available locally.
.github/workflows/update-docs.yml at repository root)scripts/ at repository root (not part of the skill)references/<topic>.md)cd ../..)List topics:
User: /ccdocs:docs
Claude: [Shows categorized list of all 51 topics with descriptions]
Read specific doc:
User: /ccdocs:docs hooks
Claude: [Displays hooks.md content with official URL and timestamp]
See what changed:
User: /ccdocs:docs what's new
Claude: [Lists recent commits with changed files and links]
Read changelog:
User: /ccdocs:docs changelog
Claude: [Displays Claude Code release notes from changelog.md]
When executing this skill:
Path handling:
references/<topic>.md (relative to skill directory)docs_manifest.json (relative to skill directory)cd ../.. from skill directory)