Quick Start
Set Up Your Own Vault
1. Create the vault
mkdir -p ~/DocVault
cd ~/DocVault
git init
2. Create the index tree
# Root index
cat > INDEX.md << 'EOF'
# DocVault
| Section | Description |
|---------|-------------|
| [[Projects Index\|Projects]] | Project documentation |
| [[Infrastructure Index\|Infrastructure]] | Network, servers, services |
| [[Architecture Index\|Architecture]] | Cross-project patterns |
EOF
# Create folders with _Index.md files
for dir in Projects Infrastructure Architecture; do
mkdir -p "$dir"
echo -e "---\ntags: [index]\nupdated: $(date +%Y-%m-%d)\n---\n\n# $dir Index\n\n| Page | Summary |\n|------|---------|\n" > "$dir/_Index.md"
done
3. Add a CLAUDE.md
cat > CLAUDE.md << 'EOF'
# DocVault
Central knowledge base. Navigate from INDEX.md.
## Rules
- Use [[wikilinks]] for all internal references
- Every folder has _Index.md — update it when adding/removing pages
- Update frontmatter `updated:` timestamp when editing
- Commit directly to main (no PRs needed)
- No secrets — reference Infisical key names, never paste keys
EOF
4. Open in Obsidian
Open Obsidian, choose "Open folder as vault," and select your DocVault directory. Enable the Graph View core plugin to visualize your wikilink connections.
5. Tell Claude about it
Add a line to your global ~/.claude/CLAUDE.md:
## Knowledge Base
Read ~/DocVault/ for architecture, infrastructure, and design questions.
Start at INDEX.md and follow the index tree.
Prompt for Claude: Build vault skills
I have an Obsidian vault at
~/DocVault/ that I use as a knowledge base. Build me two Claude Code skills:
/vault-update: After I make code changes, identify which vault pages need updating, read them, update with current information, maintain the _Index.md tables, update frontmatter timestamps, and commit+push to main.
/docvault: An educational skill that explains what belongs in the vault vs in-repo docs. When I'm not sure where to put documentation, this skill should help me decide using the "does it change when the code changes?" test.
Save both as
~/.claude/skills/{name}/SKILL.md.