Main Site ↗

pkm

by lanej3711GitHub

A command-line tool for personal knowledge management that indexes and searches documents with quality filters, tracks relationships between notes, and integrates with Claude via MCP. It supports hybrid search, freshness tracking, and editor autocomplete.

Unlock Deep Analysis

Use AI to visualize the workflow and generate a realistic output preview for this skill.

Powered by Fastest LLM

Target Audience

Developers and technical writers who maintain personal knowledge bases and want to search notes efficiently with quality filters

10/10Security

Low security risk, safe to use

9
Clarity
9
Practicality
8
Quality
8
Maintainability
8
Innovation
Productivity
knowledge-managementsearch-enginedocument-indexingclaude-integration
Compatible Agents
Claude Code
Claude Code
~/.claude/skills/
Codex CLI
Codex CLI
~/.codex/skills/
Gemini CLI
Gemini CLI
~/.gemini/skills/
O
OpenCode
~/.opencode/skills/
O
OpenClaw
~/.openclaw/skills/
GitHub Copilot
GitHub Copilot
~/.copilot/skills/
Cursor
Cursor
~/.cursor/skills/
W
Windsurf
~/.codeium/windsurf/skills/
C
Cline
~/.cline/skills/
R
Roo Code
~/.roo/skills/
K
Kiro
~/.kiro/skills/
J
Junie
~/.junie/skills/
A
Augment Code
~/.augment/skills/
W
Warp
~/.warp/skills/
G
Goose
~/.config/goose/skills/
SKILL.md

Core Behavior

  • User sends anything: link, idea, quote, snippet, question, rambling thought
  • Capture first, organize second — never lose input while deciding where it goes
  • Create ~/kb/ as the workspace — flat folder of Markdown files initially
  • Inbox pattern: inbox.md for quick capture, process later into proper notes

When User Sends Content

  • Link → fetch title and summary, save with source URL and capture date
  • Idea/thought → save as atomic note with descriptive filename
  • Quote → save with attribution, link to source if available
  • Question → save as note, mark for future research
  • Long rambling → extract key points, save as separate atomic notes

File Naming Convention

  • Lowercase with hyphens: how-to-negotiate-salary.md
  • Descriptive over date-based — findable by topic, not when captured
  • No rigid hierarchy initially — flat folder with good names beats complex structure
  • Date prefix optional for journals: 2024-01-15-weekly-review.md

Note Structure

  • Title as H1 — matches filename concept
  • Tags at top or bottom — #productivity #career for filtering
  • Source/reference if applicable — where it came from
  • Related notes section — manual links build knowledge graph
  • Keep notes atomic — one concept per note, link between them

Inbox Processing

  • Periodically ask: "Want to process your inbox?"
  • For each item: create proper note, add tags, link to related notes
  • Delete from inbox once processed — inbox should trend toward empty
  • Don't force immediate organization — capture friction kills usage

When To Add Structure

  • 20+ notes: suggest consistent tagging system
  • 50+ notes: suggest index.md or MOC (Map of Content) for key topics
  • 100+ notes: suggest folder structure by domain if patterns emerge
  • Only add structure when navigation becomes painful

Tagging Strategy

  • Start with 5-10 broad tags maximum — too many defeats purpose
  • Tags are for retrieval, not categorization — "when would I search for this?"
  • Multi-tag allowed — note about salary negotiation: #career #communication
  • Review and consolidate tags periodically — synonyms fragment knowledge

Linking Between Notes

  • [[wiki-style]] links when supported, otherwise relative Markdown links
  • Link liberally — connections are the value of knowledge base
  • Backlinks show where note is referenced — surface hidden connections
  • Don't force links — some notes are standalone

What User Might Send

  • "Just learned that..." → atomic note with insight
  • "Interesting article: [URL]" → fetch, summarize, save with source
  • "Reminder: X" → capture with context, might become action or reference
  • "I keep forgetting how to..." → create or update how-to note
  • Random thought → inbox immediately, process later

Searching and Retrieval

  • Full-text search with grep or specialized tool — must be fast
  • Search by tag: find all notes with specific tag
  • Recent notes list — often want "that thing I saved last week"
  • Offer to search when user asks a question — might already have the answer

Progressive Enhancement

  • Week 1: inbox.md only, dump everything
  • Week 2: process inbox into atomic notes with tags
  • Week 3: start linking related notes
  • Month 2: create index/MOC for main topics
  • Month 3: folder structure if needed

What NOT To Suggest Early

  • Complex folder hierarchies — flat with good names first
  • Database or app — Markdown files work until they don't
  • Daily notes system — unless they specifically want journaling
  • Templates — organic structure emerges, then standardize

Sync and Backup

  • Cloud folder (Dropbox/iCloud) for multi-device access
  • Git repo for version history — see how thinking evolved
  • Plain Markdown ensures portability — not locked to any tool

Source: https://github.com/lanej/dotfiles#claude~skills~pkm

Content curated from original sources, copyright belongs to authors

Grade A
8.4AI Score
Best Practices
Checking...
Try this Skill

User Rating

USER RATING

0UP
0DOWN
Loading files...

WORKS WITH

Claude Code
Claude
Codex CLI
Codex
Gemini CLI
Gemini
O
OpenCode
O
OpenClaw
GitHub Copilot
Copilot
Cursor
Cursor
W
Windsurf
C
Cline
R
Roo
K
Kiro
J
Junie
A
Augment
W
Warp
G
Goose