carloscape/octorato/knowledge-corpus
Claude Code and agent skill by carloscape/octorato
- community
Checking that the SKILL.md file is still in the repository.
Build and query focused knowledge corpora from brain skills, git history, and workspace files. Use when users want to compile expertise on a specific topic, ask "what do we know about X?", build a domain briefing, or synthesize knowledge from multiple sources into an actionable summary. No external dependencies.
Install
npx vskill@latest install carloscape/octorato/knowledge-corpusSKILL.md
Knowledge Corpus
Build and query focused knowledge corpora from the Octopus brain without external infrastructure. Skills, agents, git history, and workspace files ARE the corpus.
When to Use
- "What do we know about X?"
- "Build me a briefing on topic Y"
- "Compile everything about Z"
- "What skills/patterns do we have for this domain?"
- Before starting work in an unfamiliar domain
- When onboarding to a new client/project
Concept: Skills as Pre-Built Corpora
Each ~/.claude/skills/<name>/SKILL.md is already a focused corpus:
- Purpose - what it solves
- Triggers - when it activates
- Workflow - step-by-step procedures
- Lessons Learned - error patterns and fixes from real usage
The neural map (~/.claude/neural_map.json) provides:
- Skill clusters - related skills that co-occur (793 edges)
- Agent-skill connections - which agents use which skills (1,744 edges)
- TF-IDF vocabulary - 17,378 terms for similarity matching
3-Step Workflow
Step 1: Discover Sources (cheap)
Identify what the brain knows about the topic:
Step 2: Build Corpus (targeted reads)
Read ONLY the relevant sources found in Step 1:
Token budget per corpus: aim for 2,000-5,000 tokens total. If corpus exceeds 5,000 tokens, summarize each source into 1-3 key findings.
Step 3: Synthesize Answer
Combine corpus sources into a structured response:
Corpus Types
| Type | Sources | Use Case | |
|---|---|---|---|
| Domain | Skills + agents by keyword | "What do we know about PostgreSQL?" | |
| Project | Git log + workspace files | "Summarize this project's patterns" | |
| Decision | Git log --grep + CHANGELOG | "What architectural decisions were made?" | |
| Error | Lessons Learned sections | "What errors have we seen with X?" | |
| Identity | professional-identity + cv.ts | "What's my experience with X?" |
4D Integration
| Phase | Role | |
|---|---|---|
| 1D Describe | State the knowledge question before building corpus | |
| 2D Delegate | knowledge-corpus IS the delegate check for domain knowledge | |
| 3D Diligent | Verify corpus is complete (check skill count, git range, gaps) | |
| 4D Disclose | Cite every source (skill name, commit SHA, file path) |
Anti-Patterns
- Reading ALL skills to answer one question (use grep first)
- Building a corpus without checking the neural map for clusters
- Returning raw skill text instead of synthesized findings
- Ignoring Lessons Learned sections (highest-value content)
- Creating a new skill for something already covered by existing corpus
Lessons Learned
<!-- Append new patterns as they emerge -->
Adapted from claude-mem knowledge-agent skill. Uses brain skills + neural map as corpus instead of SQLite/Chroma/worker.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/knowledge-corpus/SKILL.md
Popularity
- Repository stars
- 17
- Repository forks
- 7
- 7-day trend score
- 14
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/carloscape/octorato/knowledge-corpus)