AI Knowledge Vault Manager

VerifiedCaution

Manage an Obsidian-based AI knowledge vault using /kb commands for adding, finding, processing, compiling, and maintaining knowledge entries.

Sby Skills Guide Bot
ProductivityIntermediate
7/23/2026
Claude Code
#knowledge-management#obsidian#markdown#research#note-taking

Recommended for

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)
When to use it

Use it when you maintain an Obsidian knowledge vault and want raw articles or notes turned into structured, searchable entries.

When not to use it

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

Caution
Quality score85/100

The 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.

Findings
  • •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.
How this analysis is made

Examples

Add an article by URL
/kb add https://example.com/article-on-context-engineering
Search the vault
/kb find "context engineering" and summarize the key takeaways with suggested follow-up reading
Process the inbox
/kb process-pending — turn everything in knowledge/inbox/manual/pending/ into structured entries and update the index

name: 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/*.md file by default; start from knowledge/_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 and knowledge/reports/ as reusable query output
  • /kb add and /kb process-pending use 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:

  1. Read knowledge/_index.md first for existing tags and concepts
  2. For each pending Markdown file, extract metadata, summarize 1-3 key points, optionally add 我的思考
  3. Write a normalized entry to knowledge/YYYY-MM-DD-title.md
  4. Update knowledge/_index.md
  5. Move the source file to knowledge/inbox/manual/processed/ or review/ 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:

  1. Detect source type
  2. 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:

  • date
  • source
  • source_type
  • source_url
  • tags (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.md for 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/
  1. Return the created entry path, tags, related concepts, and suggested links to existing entries

Fallbacks:

  • If defuddle is not installed, install it with npm 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: raw and move it to knowledge/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 dashscope
  • ffmpeg and ffprobe available on the machine
  • Copy .claude/skills/kb/config.example.json to .claude/skills/kb/config.local.json and fill in dashscope_api_key or set DASHSCOPE_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.txt
  • knowledge/inbox/video/transcripts/*.clean.txt
  • knowledge/inbox/video/transcripts/*.meta.json
  • knowledge/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, or health fail to locate the repo root, set KB_ROOT=/absolute/path/to/repo
  • If add-video fails, verify dashscope installation, API key config, and ffmpeg availability

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 files

This 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.md

From 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 installation
openskills 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 sync

Manual 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.

Related skills