Back to skills
SKILL.md
Collection
ASecurityAccess cached codebase documentation via MCP. Use when searching for project architecture, agent definitions, skill documentation, or deployment procedures. Provides 90% token savings vs. reading files directly.
- 24 stars
- 0 votes
- 0 copies
- 7 views
- Added September 8, 2026
Works with
Security analysis
100/100Pro scans all 21 files and shows the line behind each finding
npx -y skills add mattnigh/skills_collection --skill collection --agent claude-codeAre you the author of Collection?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/mattnigh-collection-ec93a602)---
name: mcp-documentation-skill
description: "Access cached codebase documentation via MCP. Use when searching for project architecture, agent definitions, skill documentation, or deployment procedures. Provides 90% token savings vs. reading files directly."
tags: [mcp, documentation, architecture, reference]
---
# MCP Documentation Skill
**Purpose:** High-speed documentation lookups using the CodebaseDocumentation MCP server, reducing token usage by 90% per request.
**When to Use:**
- User asks: "What's the deployment process?"
- User asks: "How does the KSC flow work?"
- User asks: "What agents are available?"
- User asks: "Show me the CLAUDE.md instructions"
- Any documentation or reference lookup
**Token Savings:** 90-95% per request (vs. reading 40KB+ files)
## Capabilities
### 1. Search Documentation
```
method: search_docs
params: {query: string}
Example: Search for "deployment"
Returns: Matching documentation sections with context
```
### 2. Get Full Documentation
```
method: get_docs
params: {section: string}
Example: Get CLAUDE.md or agents/m3-migration-architect.md
Returns: Full section content with metadata
```
### 3. List Available Agents
```
method: get_agents
Returns: All 16 agent definitions with descriptions
```
### 4. List Available Skills
```
method: get_skills
Returns: All 21 skill definitions with descriptions
```
### 5. Full Index
```
method: index
Returns: Complete documentation index with statistics
```
## Implementation Details
**Server:** CodebaseDocumentation MCP (documentation-server.py)
**Startup:** <500ms | Response: <50ms | 42 files cached
**Cached Resources:**
- CLAUDE.md (40 KB, main instructions)
- 16 agent definitions (.claude/agents/\*.md)
- 21 skill definitions (.claude/skills/\*/SKILL.md)
- Documentation files (.claude/docs/\*.md)
**Indexing:** Full-text search with inverted word index
## Real-World Example
**Without MCP (Token Cost: 5,000):**
```
User: "What's the deployment process?"
Claude reads: CLAUDE.md (40KB, 5,000 tokens)
Claude reads: Deployment scripts (15 files, 3,000 tokens)
Claude responds (2,000 tokens)
Total: 10,000 tokens
```
**With Documentation MCP (Token Cost: 500):**
```
User: "What's the deployment process?"
Claude: Calls search_docs("deployment")
Claude receives: Indexed results (500 tokens)
Claude responds (500 tokens)
Total: 1,000 tokens
Savings: 90% ✅
```
## Cache Performance
- **Cache Hit Rate:** 95%+ (after first query)
- **Response Time:** <50ms (vs. 3000ms file reads)
- **Memory Efficient:** 1.5 MB total index size
## Integration Points
Works seamlessly with:
- `mcp-configuration-skill` - For automation scripts
- `mcp-genkit-flows-skill` - For flow documentation
- Any agent or subagent needing reference material
Files in this skill
- 0Chan-smc__claude-code-workflow-lab__claude__skills__frontend-dev-guidelines__SKILL.md
- 17hz__nextjs-template__claude__skills__example-skill__SKILL.md
- 1ambda__dataops-platform__claude__skills__context-synthesis__SKILL.md
- 1natsu172__dotfiles__claude__skills__git-analysis__SKILL.md
- 1natsu172__dotfiles__claude__skills__github-pr-best-practices__SKILL.md
- 23Maestro__prospect-pipeline__claude__skills__npid-fastapi-skill.md
- 360AYA25__ClaudeN8N__claude__skills__n8n-code-javascript__SKILL.md
- 360AYA25__ClaudeN8N__claude__skills__n8n-code-python__SKILL.md
- 360AYA25__ClaudeN8N__claude__skills__n8n-expression-syntax__SKILL.md
- 360AYA25__ClaudeN8N__claude__skills__n8n-mcp-tools-expert__SKILL.md
- 360AYA25__ClaudeN8N__claude__skills__n8n-node-configuration__SKILL.md
- 360AYA25__ClaudeN8N__claude__skills__n8n-workflow-patterns__SKILL.md
- 3x-Projetos__claude-memory-framework__claude__skills__scientist__SKILL.md
- 5MinFutures__futures-arena__claude__skills__migration-tracker__SKILL.md
- 5MinFutures__futures-arena__claude__skills__planning-guidelines__SKILL.md
- 92Bilal26__TaskPilotAI__claude__skills__assessment-builder__SKILL.md
- 92Bilal26__TaskPilotAI__claude__skills__book-scaffolding__SKILL.md
- 92Bilal26__TaskPilotAI__claude__skills__code-validation-sandbox__SKILL.md
- 92Bilal26__TaskPilotAI__claude__skills__exercise-designer__SKILL.md
- 92Bilal26__TaskPilotAI__claude__skills__learning-objectives__SKILL.md
Attribution
Related skills
View all in devops →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.