Install
$ agentstack add skill-sawyer-middeleer-dot-claude-setting-up-knowledge-base ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Setting Up a Knowledge Base
A knowledge base Claude can maintain needs three things: a predictable folder structure, written conventions, and a CLAUDE.md that loads those conventions into every session. This skill creates all three.
Workflow
Step 1: Scope
Use AskUserQuestion:
- Starting point — new empty folder, or an existing folder of notes Claude should adopt?
- Primary use (multiSelect) — work notes and decisions / research and reading / journal and daily logs / mixed personal+professional
- Editor — Obsidian (or another
[[wikilink]]app) vs plain markdown. Determines link style.
Step 2a: New Knowledge Base
Create the minimal structure — sparse is fine, folders earn their existence:
/
├── CLAUDE.md # from templates/kb-claude-md.md
├── conventions.md # from templates/conventions.md
├── _inbox/ # unsorted captures land here
├── _daily/ # daily notes: _daily/YYYY/MM/YYYY-MM-DD.md
├── notes/ # the knowledge itself; topic subfolders as they earn existence
└── hubs/ # entity pages (people, orgs, projects) — create when first needed
- Copy both templates from
${CLAUDE_PLUGIN_ROOT}/skills/setting-up-knowledge-base/templates/into the KB root (conventions.mdandCLAUDE.md) - **Resolve every `
marker** — inconventions.md§ Links, delete the Internal line that doesn't match the editor chosen in Step 1, then delete the marker. Grep the copied files forSETUP:` afterward; none should remain. - Fill the folder map to match what was actually created
- Trim conventions the user won't use (e.g. drop the hubs section if they declined entity tracking)
Step 2b: Existing Folder
Survey before touching anything, and never overwrite an existing authority.
- Map the structure — list folders; sample 5–10 notes to read off the real patterns: where frontmatter sits and which keys recur, how files are named, how links are written (
[[wikilink]]vs markdown), whether daily notes exist and where. - Conventions authority:
- If a conventions document already exists (
conventions.md, a_meta/doc, etc.), make it the authority — the sibling skills read it. Don't generate a competing one. Fill only genuine gaps, and only with the user's OK. - If none exists, write
conventions.mdcodifying what the survey found — not the default template wholesale. Carry over the existing frontmatter keys, link style, and folder names verbatim so the skills match the vault instead of fighting it.
- CLAUDE.md:
- If one exists, append a short "Knowledge base" pointer section (read it first, merge — never clobber other project instructions).
- If none exists, add one pointing at the conventions.
- Reorganization is a separate, opt-in step — propose it, don't execute it. Adoption ≠ reorganization.
Step 3: Hand Off
Confirm what was created, then point at the sibling skills that do the ongoing work:
- capture a learning →
/second-brain:capturing-knowledge - keep notes consistent →
/second-brain:organizing-notes - clear
_inbox/→/second-brain:processing-inbox - daily notes →
/second-brain:managing-daily-notes
Principles
- Sparse is fine. Empty folders and incomplete conventions beat elaborate unused structure.
- The conventions file is the authority. Every sibling skill reads it first; changes to conventions happen there, once, not in five skills.
- When in doubt, leave it out. A knowledge base stays useful by exclusion.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: Sawyer-Middeleer
- Source: Sawyer-Middeleer/dot-claude
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.