Automated summary
Manages an Obsidian knowledge vault under `knowledge/` by ingesting URLs, notes, or pending files, normalizing them into indexed entries, and supporting search.
Strengths
- Describes a complete ingestion pipeline: pending file with frontmatter, normalized entry, `_index.md` update, and source archiving
- Enforces clear guardrails: read `_index.md` first, reuse existing tags and concepts, keep the full original body under `## 原始内容`
- Provides explicit fallbacks through Defuddle CLI (install hint, fetch failure, thin content routed to `review/`)
Limitations
- The `/kb add-video` workflow is listed as a trigger but its procedure is not documented in this file
- Relies on external tooling: Defuddle CLI for URLs and a Python script `knowledge_ops.py` for search
- Assumes an existing folder layout and conventions (frontmatter, `knowledge/concepts/`, `knowledge/reports/`, Chinese section headings)
Use it when you maintain an Obsidian knowledge vault and want raw articles or notes turned into structured, searchable entries.
Skip it if your repository lacks the `knowledge/` layout with an `_index.md`, or if you cannot install Defuddle or run the associated Python scripts.
Security analysis
CautionThe skill is a legitimate knowledge-management workflow for an Obsidian vault. It uses powerful tools such as shell commands, package installation, network fetching, API keys, and filesystem moves, but there is no destructive behavior, secret exfiltration, obfuscated payloads, or safety-disabling instruction. This warrants caution rather than risky.
- •Uses bash commands to install global npm/pip packages (`defuddle-cli`, `dashscope`), which introduces supply-chain and environment-modification risk.
- •Handles an external API key for DashScope and reads local config or environment variables; legitimate but sensitive.
- •Fetches remote URLs and writes/moves files within the repository, including inbox/processed/review directories.
- •No allowed-tools are declared, so the agent may execute file, network, and shell operations without an explicit permission boundary.
Examples
/kb add https://example.com/article-on-context-engineering/kb find "context engineering" and summarize the key takeaways with suggested follow-up reading/kb process-pending — turn everything in knowledge/inbox/manual/pending/ into structured entries and update the indexname: kb description: Manage an Obsidian-based AI knowledge vault with /kb add/find/process-pending/compile/health/tidy/add-video.
/kb - AI Knowledge Vault
Manage the knowledge/ directory in this repository as a reusable AI knowledge vault.
Triggers
/kb process-pending/kb add [content or URL]/kb find [query]/kb add-video [file-or-directory]/kb compile/kb health/kb tidy
Guardrails
- Do not scan every
knowledge/*.mdfile by default; start fromknowledge/_index.md - Store all knowledge entries under
knowledge/ - Keep the original source content in full under
## 原始内容 - Reuse existing tags and concept names when possible
- Prefer local config files for API keys; use environment variables as fallback
- Treat
knowledge/concepts/as the primary navigation layer andknowledge/reports/as reusable query output /kb addand/kb process-pendinguse the same ingestion action: first produce a pending Markdown source with frontmatter, then create the normalized entry, update the index, and archive the source
Workflows
1) /kb process-pending
Process files in knowledge/inbox/manual/pending/ and turn them into structured entries.
Expected behavior:
- Read
knowledge/_index.mdfirst for existing tags and concepts - For each pending Markdown file, extract metadata, summarize 1-3 key points, optionally add
我的思考 - Write a normalized entry to
knowledge/YYYY-MM-DD-title.md - Update
knowledge/_index.md - Move the source file to
knowledge/inbox/manual/processed/orreview/when uncertain
This workflow is handled directly by the agent, not by a Python CLI command.
2) /kb add
Add a single piece of knowledge from text, notes, or a URL.
Expected behavior:
- Detect source type
- If the input is a URL, prefer Defuddle CLI to fetch clean Markdown content instead of WebFetch:
defuddle parse "<URL>" --md -o "knowledge/inbox/manual/pending/YYYY-MM-DD-short-title.md"
If title or domain metadata is needed, use:
defuddle parse "<URL>" -p title
defuddle parse "<URL>" -p domain
The pending file must include frontmatter:
datesourcesource_typesource_urltags(can start as an empty list and be finalized during ingestion)confidence: raw
Keep the full Defuddle Markdown output as the body without truncation.
3. If the input is pasted text or notes, also write it first to knowledge/inbox/manual/pending/YYYY-MM-DD-short-title.md with the same frontmatter and full original body
4. Process the new pending source using the same action as /kb process-pending:
- Read
knowledge/_index.mdfor existing tags, concepts, and recent entries - Summarize 1-3 key points with the current agent
- Optionally add
我的思考 - Choose tags by reusing existing names when possible
- Choose related concepts from the index concept navigation
- Write a normalized entry to
knowledge/YYYY-MM-DD-title.md - Preserve the pending file body under
## 原始内容 - Update
knowledge/_index.md - Move the pending source to
knowledge/inbox/manual/processed/
- Return the created entry path, tags, related concepts, and suggested links to existing entries
Fallbacks:
- If
defuddleis not installed, install it withnpm install -g defuddle-cli - If Defuddle cannot fetch meaningful content, try another reader; if that still fails, keep a URL-only pending source with
confidence: rawand move it toknowledge/inbox/manual/review/ - If Defuddle output is too short, mostly navigation, or lacks substantive body content, do not ingest it directly; move it to
review/
3) /kb find
Search the knowledge vault and optionally generate a reusable report.
Command:
python3 .claude/skills/kb/scripts/knowledge_ops.py find "context engineering"
Output should prioritize:
- matching concepts
- matching entries
- key takeaways
- suggested follow-up reading
4) /kb add-video
Transcribe local video or audio files, lightly clean the transcript, and create knowledge entries.
Prerequisites:
pip3 install dashscopeffmpegandffprobeavailable on the machine- Copy
.claude/skills/kb/config.example.jsonto.claude/skills/kb/config.local.jsonand fill indashscope_api_keyor setDASHSCOPE_API_KEY
Default input directory:
knowledge/inbox/video/raw/
Command:
python3 .claude/skills/kb/scripts/video_ingest.py [path]
Outputs:
knowledge/inbox/video/transcripts/*.raw.txtknowledge/inbox/video/transcripts/*.clean.txtknowledge/inbox/video/transcripts/*.meta.jsonknowledge/inbox/video/logs/ingest.log- new knowledge entry files under
knowledge/
Quality rules:
- Only do light transcript cleanup
- Do not invent facts
- Leave
核心观点blank for the current agent to fill in later
5) /kb compile
Compile timeline entries into concept pages, related links, index, and Bases view.
Command:
python3 .claude/skills/kb/scripts/knowledge_ops.py compile
6) /kb health
Generate a health report for isolated entries, concept gaps, stale raw files, and report coverage.
Command:
python3 .claude/skills/kb/scripts/knowledge_ops.py health
7) /kb tidy
Normalize tags and rebuild concepts, index, health report, and Bases view.
Command:
python3 .claude/skills/kb/scripts/knowledge_ops.py tidy
Troubleshooting
- If
find,compile, orhealthfail to locate the repo root, setKB_ROOT=/absolute/path/to/repo - If
add-videofails, verifydashscopeinstallation, API key config, andffmpegavailability
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/ai-knowledge-vault-manager-mrx3xw8z/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/ai-knowledge-vault-manager-mrx3xw8z' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/ai-knowledge-vault-manager-mrx3xw8z/download' --output '.skill-downloads/ai-knowledge-vault-manager-mrx3xw8z/SKILL.md.part' && mv '.skill-downloads/ai-knowledge-vault-manager-mrx3xw8z/SKILL.md.part' '.skill-downloads/ai-knowledge-vault-manager-mrx3xw8z/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/ai-knowledge-vault-manager-mrx3xw8z/SKILL.md' && test -s '.skill-downloads/ai-knowledge-vault-manager-mrx3xw8z/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/kb' && cp -R '.skill-downloads/ai-knowledge-vault-manager-mrx3xw8z' '.claude/skills/kb'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/ai-knowledge-vault-manager-mrx3xw8z'openskills read 'ai-knowledge-vault-manager-mrx3xw8z'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/ai-knowledge-vault-manager-mrx3xw8z/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
PDF Reader
Productivity
Read and extract text from PDF files, including documents, reports, contracts, and spreadsheets. Works with local files, URLs, and WhatsApp attachments. Use whenever PDF content is needed, even if not explicitly requested.
Discord Messaging Workflows
Productivity
Use the message tool to send, edit, and moderate Discord messages with interactive components.
Interactive Verdict Preview
Productivity
Generate an interactive HTML preview of keep/drop verdicts for maintainer review, then process the pasted feedback JSON.