carloscape/octorato/knowledge-corpus

Claude Code and agent skill by carloscape/octorato

Trust tier 3
  • community
Source check pending

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-corpus

SKILL.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:

bash
# Find the relevant skills AND agents by need — SEEK the connectome (associative
# recall, deterministic, ~100x cheaper than scanning skills/). This is the seek;
# grep skills/ is a cold-start fallback only when this returns nothing above the floor.
python3 ~/.claude/scripts/query_connectome.py query "<need>"
# Structural neighbours of a known node (god nodes, shortest path, N-hop impact)
python3 ~/.claude/scripts/query_connectome.py impact "<skill-or-agent>" --hops 2
# Find in external refs (NOT brain memory — the connectome does not index ref
# repos, so a content grep is correct here)
grep -rl "keyword" ~/.claude/*-ref/ 2>/dev/null | head -10
Step 2: Build Corpus (targeted reads)

Read ONLY the relevant sources found in Step 1:

For each matching skill:
-> read_file SKILL.md (focus on Workflow + Lessons Learned)
For each matching agent:
-> read agent file (focus on triggers + cross-referenced skills)
For git history (if needed):
-> git log --all --oneline --grep="keyword" -10
-> git show SHA for the most relevant commits

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:

markdown
## Knowledge Corpus: [Topic]
### What We Know
-[Key findings from skills]
-[Patterns from Lessons Learned]
-[Decisions from git history]
### Available Tools
-Skills: [list of relevant skills]
-Agents: [list of matching agents]
-External refs: [patterns from *-ref/ repos]
### Gaps
-[What we DON'T know about this topic]
-[Suggested: create skill for X]
### Sources
-skill: [name] (section)
-agent: [name]
-commit: [SHA] ([date])

Corpus Types

TypeSourcesUse Case
DomainSkills + agents by keyword"What do we know about PostgreSQL?"
ProjectGit log + workspace files"Summarize this project's patterns"
DecisionGit log --grep + CHANGELOG"What architectural decisions were made?"
ErrorLessons Learned sections"What errors have we seen with X?"
Identityprofessional-identity + cv.ts"What's my experience with X?"

4D Integration

PhaseRole
1D DescribeState the knowledge question before building corpus
2D Delegateknowledge-corpus IS the delegate check for domain knowledge
3D DiligentVerify corpus is complete (check skill count, git range, gaps)
4D DiscloseCite 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/carloscape/octorato/knowledge-corpus/badge)](https://verified-skill.com/skills/carloscape/octorato/knowledge-corpus)

Something wrong with this skill or its page? Tell us.