# Soia pkm query vault

> Soia pkm query vault is an open-source agent skill for files and documents. Read-only search across an Obsidian or Markdown vault, ranked by source trust level. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/soia-team/soia-open-pkm-vault-skills/tree/main/skills/soia-pkm-query-vault
- **Repository:** https://github.com/soia-team/soia-open-pkm-vault-skills
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** soia-pkm-query-vault
- **Collection:** https://github.com/soia-team/soia-open-pkm-vault-skills
- **Categories:** [files and documents](https://ai-powered.com/categories/files-and-documents), [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory), [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-03

## About

This skill lets an agent search a whole Markdown or Obsidian knowledge base, or a single module within it, without changing any file. It matches file names, body text, frontmatter fields, tags, backlinks, code and attachments, then orders results by how authoritative each location is, so current status notes rank above frozen evidence and imported or archived material.

The search runs through a bundled Python script with modes for all content, filename, content, tag, frontmatter, backlinks and inventory, plus path-prefix and extension filters. Hidden folders such as .git and .obsidian, configuration directories and symlinks are skipped. Snippets can be turned off for sensitive collections, and the agent reports scan and match counts so answers can be checked.

The skill needs Python 3 for local search. Full-text search of PDF, Word and image attachments is optional and depends on a separate backend such as Omnisearch with Text Extractor, an Obsidian MCP server or QMD; without one, attachments are matched by file name only and the limitation is stated.

## When your agent uses it

> 以只读方式搜索整个 Markdown/Obsidian 知识库或指定模块，检索文件名、正文、frontmatter、标签、反向链接、代码与附件，并按来源层级返回可核验结果。触发：「搜索知识库」「搜索知识库某个模块」「在知识库里找」「从知识库回答」「查需求/代码/PDF/Word/图片」「查反向链接」

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/soia-team/soia-open-pkm-vault-skills/tree/HEAD/skills/soia-pkm-query-vault)
- [No network calls found in its scripts](https://github.com/soia-team/soia-open-pkm-vault-skills/tree/HEAD/skills/soia-pkm-query-vault)
- [License: MIT](https://github.com/soia-team/soia-open-pkm-vault-skills/tree/HEAD/skills/soia-pkm-query-vault)

## Features

- **Multi-mode vault search:** Searches file names, body text, frontmatter, tags, code and backlinks through one script with selectable modes.
- **Trust-level ranking:** Orders hits by source tier so current status and stable knowledge appear before frozen evidence and archives.
- **Read-only operation:** Never modifies files, frontmatter, bases, maps or git state, and skips hidden and symlinked paths.
- **Attachment hit labels:** Distinguishes filename hits, content hits and OCR hits for PDFs, Word files and images.
- **Sensitive-content mode:** Can suppress text snippets so results show only paths, counts and metadata for private collections.
- **Verifiable reporting:** Reports check time, query mode and scan, match, truncation and unreadable counts with each answer.

## Good for

- Find every note that mentions a specific requirement or term in the vault
- Answer a question from the knowledge base with cited file paths or wikilinks
- List notes that link back to a given page
- Search notes by a frontmatter field such as status
- Locate a PDF or Word document by name in the vault and check whether its text is searchable

## Install

### Claude Code

This skill ships in the `soia-pkm-vault` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add soia-team/soia-open-skills
/plugin install soia-pkm-vault@soia
```

Or copy only this skill to `~/.claude/skills/soia-pkm-query-vault`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/soia-team/soia-open-pkm-vault-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/soia-pkm-query-vault &&
cp -R "$tmp/skills/soia-pkm-query-vault" ~/.claude/skills/soia-pkm-query-vault &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/soia-pkm-query-vault` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/soia-pkm-query-vault` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/soia-team/soia-open-pkm-vault-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/soia-pkm-query-vault &&
cp -R "$tmp/skills/soia-pkm-query-vault" ~/.agents/skills/soia-pkm-query-vault &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/soia-pkm-query-vault` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/soia-pkm-query-vault` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/soia-team/soia-open-pkm-vault-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/soia-pkm-query-vault &&
cp -R "$tmp/skills/soia-pkm-query-vault" ~/.cursor/skills/soia-pkm-query-vault &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/soia-pkm-query-vault` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/soia-team/soia-open-pkm-vault-skills.git --path skills/soia-pkm-query-vault
```

Or copy the folder to `~/.gemini/skills/soia-pkm-query-vault` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/soia-pkm-query-vault`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/soia-team/soia-open-pkm-vault-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/soia-pkm-query-vault &&
cp -R "$tmp/skills/soia-pkm-query-vault" ~/.copilot/skills/soia-pkm-query-vault &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/soia-pkm-query-vault` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/soia-team/soia-open-pkm-vault-skills.git
```

Then copy `soia-open-pkm-vault-skills/skills/soia-pkm-query-vault` into your agent's skills folder as `soia-pkm-query-vault`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Soia pkm query vault change any files in my vault?

No. The skill is described as strictly read-only and states it never modifies files, frontmatter, bases, maps or git state.

### What does Soia pkm query vault need to run?

Python 3 for local search. Full-text search of attachments is optional and requires Omnisearch with Text Extractor, an Obsidian MCP server or QMD.

### Which folders are skipped?

Hidden directories such as .git and .obsidian, configuration directories, symlinks and binary bodies are skipped, and no persistent index cache is written.

### How are results ordered?

By source tier rather than hit count: current status notes first, then stable knowledge, frozen evidence, specialized areas, and finally imported and archived material.

### How do I install Soia pkm query vault in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/soia-pkm-query-vault to use it in all your projects, or to .claude/skills/soia-pkm-query-vault in one project. Or install the soia-pkm-vault plugin, which includes it: /plugin marketplace add soia-team/soia-open-skills, then /plugin install soia-pkm-vault@soia.

### Does Soia pkm query vault run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Soia pkm query vault?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Soia pkm query vault?

The closest alternatives to Soia pkm query vault are Soia pkm extract vault knowledge, Soia pkm maintain vault health, Soia pkm manage vault lifecycle, Soia pkm clip drive and Soia pkm bootstrap vault base.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Soia pkm extract vault knowledge](https://ai-powered.com/skills/soia-pkm-extract-vault-knowledge): Soia pkm extract vault knowledge is an open-source agent skill for knowledge and memory.
- [Soia pkm maintain vault health](https://ai-powered.com/skills/soia-pkm-maintain-vault-health): Soia pkm maintain vault health is an open-source agent skill for knowledge and memory.
- [Soia pkm manage vault lifecycle](https://ai-powered.com/skills/soia-pkm-manage-vault-lifecycle): Soia pkm manage vault lifecycle is an open-source agent skill for files and documents.
- [Soia pkm clip drive](https://ai-powered.com/skills/soia-pkm-clip-drive): Soia pkm clip drive is an open-source agent skill for files and documents.
- [Soia pkm bootstrap vault base](https://ai-powered.com/skills/soia-pkm-bootstrap-vault-base): Soia pkm bootstrap vault base is an open-source agent skill for knowledge and memory.
- [Soia pkm bootstrap vault obsidian](https://ai-powered.com/skills/soia-pkm-bootstrap-vault-obsidian): Soia pkm bootstrap vault obsidian is an open-source agent skill for knowledge and memory.
- [Soia pkm library book catalog](https://ai-powered.com/skills/soia-pkm-library-book-catalog): Soia pkm library book catalog is an open-source agent skill for knowledge and memory.
- [Obsidian second brain](https://ai-powered.com/skills/obsidian-second-brain): Obsidian second brain is an open-source agent skill for knowledge and memory.

---
Source: https://ai-powered.com/skills/soia-pkm-query-vault
