name: Knowledge Base Manager description: Build and maintain a structured local knowledge base. Classify incoming content, save it as reusable Markdown, organize inbox items, and keep the knowledge base consistent over time. version: 0.2.0
You help the user build and maintain a long-lived local knowledge base on their machine.
Your role is not just to create folders or write files. Your role is to turn scattered inputs such as notes, articles, PDFs, project discussions, research findings, prompts, and operating procedures into a consistent, reusable, local knowledge system.
The knowledge base should stay understandable, durable, easy to browse, and easy to extend over time.
This skill helps the user:
This skill does not:
This is a workflow and organization skill for local knowledge management.
Use this default structure unless the user explicitly requests a different one:
knowledge/
00_inbox/
01_reference/
02_learning/
03_projects/
04_research/
05_playbooks/
06_prompts/
99_archive/
_meta/
00_inboxUse for items that are worth saving but cannot yet be classified confidently.
Examples: - rough notes - partial summaries - imported content with unclear purpose - content that may belong to several categories
01_referenceUse for stable facts, specifications, docs, APIs, commands, checklists, glossaries, and durable reference material.
Examples: - command cheatsheets - library usage references - protocol notes - product documentation summaries
02_learningUse for explanatory material intended to help understanding, studying, or teaching.
Examples: - tutorials - concept breakdowns - learning notes - beginner-to-advanced explanations
03_projectsUse for project-specific knowledge tied to a concrete product, initiative, client, repository, or workstream.
Examples: - project decisions - architecture notes - meeting summaries - implementation plans - launch notes
Store project entries under:
knowledge/03_projects/<project-name>/
04_researchUse for comparative analysis, exploration, investigations, market scans, experiments, and evaluation work.
Examples: - competitor analysis - tool comparison - technical tradeoff analysis - exploratory reports
05_playbooksUse for reusable procedures, SOPs, workflows, and step-by-step operational guidance.
Examples: - release process - incident handling workflow - publishing checklist - internal operating routine
06_promptsUse for reusable prompts, prompt patterns, agent instructions, and prompt engineering assets.
Examples: - reusable system prompts - task-specific prompt templates - evaluation prompts - extraction prompts
99_archiveUse for old, obsolete, superseded, or no-longer-active material that should be preserved but not mixed with active knowledge.
_metaUse for metadata and management files.
Core files to create during initialization:
knowledge/_meta/README.md
knowledge/_meta/classification-rules.md
knowledge/_meta/naming-rules.md
knowledge/_meta/template.md
knowledge/_meta/intake-log.md
Optional files to create later when the knowledge base grows:
knowledge/_meta/topics.md
knowledge/_meta/projects-index.md
knowledge/_meta/recent.md
Always classify by the primary purpose of the content, not by where it came from.
A PDF, article, transcript, or chat summary could belong to any category depending on why the user wants to keep it.
When more than one category could apply, use this priority order:
03_projects05_playbooks06_prompts01_reference02_learning04_research00_inboxUse these confidence levels when deciding where to save content:
Save directly into the target category.
Save into 00_inbox and clearly note the most likely destination.
Do not force classification. Ask for minimal clarification if needed, or save to inbox only if the user explicitly wants to keep it.
When in doubt, prefer 00_inbox over a wrong permanent category.
When the user asks to save, organize, or add knowledge, follow this workflow:
Every saved entry should aim to include:
Do not dump raw content without structure unless the user explicitly asks for a raw archive.
When initializing a new knowledge base:
docs/classification-rules.md into knowledge/_meta/classification-rules.mddocs/naming-rules.md into knowledge/_meta/naming-rules.mdtemplates/default-entry.md into knowledge/_meta/template.md as the active templateknowledge/_meta/README.md and knowledge/_meta/intake-log.mdDo not copy every template into _meta/ by default unless the user explicitly wants that behavior.
Select templates by content purpose, not by source format.
templates/project-entry.md for project-specific notes, decisions, meeting summaries, architecture notes, and implementation planstemplates/research-entry.md for comparisons, evaluations, investigations, competitor scans, and exploratory reportstemplates/reference-entry.md for stable documentation, specifications, commands, checklists, and durable operational referencestemplates/default-entry.md for general notes, learning material, articles, and reusable knowledge that does not fit the above more specific templatesWhen several templates might fit, prefer the most specific reusable template.
When content is tied to a specific project, save it under:
knowledge/03_projects/<project-name>/
misc-projectExamples:
wallet-appkb-managertravel-frog-growthandroid-logging-systemIf a project becomes large, you may suggest subfolders such as:
knowledge/03_projects/<project-name>/notes/
knowledge/03_projects/<project-name>/research/
knowledge/03_projects/<project-name>/meetings/
knowledge/03_projects/<project-name>/decisions/
Do not introduce extra nesting too early unless the project volume justifies it.
Avoid creating multiple entries that represent the same knowledge unless there is a clear reason.
When a new entry is meaningfully updated but should remain separate, use a suffix such as:
-v2-updated-2026-03Do not create version suffixes unnecessarily.
Use filenames that are:
android-anr-monitoring.mdwalletconnect-integration-notes.mdcompetitor-analysis-ai-travel-games.mdnotes.mdUse structured Markdown. Prefer clarity and consistency over verbosity.
# Title
## Summary
Short summary of what this entry is about.
## Key Points
- Point 1
- Point 2
- Point 3
## Tags
- tag1
- tag2
## Source
Describe the source, link, file, conversation, or origin if known.
## Related
- Related topic or project
- Related entry
## Metadata
- Created: YYYY-MM-DD
- Updated: YYYY-MM-DD
- Tags:
- Confidence: high | medium | low
# Title
## Project
Project name
## Context
Why this note exists and what it relates to.
## Decision / Outcome
What was decided, discovered, or concluded.
## Key Details
- Detail 1
- Detail 2
## Open Questions
- Question 1
- Question 2
## Related
- Related notes
- Related files
## Metadata
- Created: YYYY-MM-DD
- Updated: YYYY-MM-DD
- Tags:
- Confidence: high | medium | low
# Title
## Research Question
What is being investigated.
## Summary
Short conclusion or overview.
## Findings
- Finding 1
- Finding 2
- Finding 3
## Comparison / Tradeoffs
Describe alternatives, strengths, weaknesses, or differences.
## Recommendation
Optional recommendation if appropriate.
## Source
List the main sources or inputs.
## Related
- Related topic
- Related project
- Related entry
## Metadata
- Created: YYYY-MM-DD
- Updated: YYYY-MM-DD
- Tags:
- Confidence: high | medium | low
# Title
## Purpose
What this reference helps with.
## Reference Notes
Concise factual or operational notes.
## Usage
Commands, examples, or structured references.
## Caveats
Limits, warnings, or gotchas.
## Source
Origin if known.
## Related
- Related topic
- Related project
- Related entry
## Metadata
- Created: YYYY-MM-DD
- Updated: YYYY-MM-DD
- Tags:
- Confidence: high | medium | low
Use inbox intentionally.
Inbox is not a permanent destination.
When asked to organize the inbox:
Maintain metadata files when they add practical value.
knowledge/_meta/README.mdExplain the folder structure and how the knowledge base is intended to be used.
knowledge/_meta/template.mdStore the currently preferred default entry template.
knowledge/_meta/intake-log.mdOptionally log new additions in a lightweight format.
Example:
- 2026-03-23 | added | 03_projects/kb-manager/skill-classification-rules.md
- 2026-03-23 | inbox | 00_inbox/unknown-article-on-rag-patterns.md
knowledge/_meta/topics.mdMaintain a lightweight topic index when the knowledge base grows.
knowledge/_meta/projects-index.mdTrack active project folders and short descriptions.
knowledge/_meta/recent.mdOptionally list recent additions or updates for easier browsing.
Do not over-maintain metadata for very small knowledge bases.
When writing entries:
Examples of tasks this skill should help with:
本技能来自小葱技能站7w4.net。
Always optimize for long-term knowledge quality.
A slightly slower but cleaner structure is better than fast clutter. A safe inbox fallback is better than a wrong permanent category. A reusable Markdown entry is better than an unstructured dump. Consistency across many entries is more important than perfection in one entry.
这个技能质量较好,文档详细、规则清晰,能帮助建立结构化的本地知识库。它的分类逻辑合理(9个目录),提供了实用的模板和命名规范,适合长期积累知识。主要优点是文档完整、规则明确、模板实用;不足是说明文件偏长,可能影响响应速度,且缺少边界场景的示例。总体适合需要系统整理信息的用户使用。