# Soia pkm maintain vault health

> Soia pkm maintain vault health is an open-source agent skill for knowledge and memory. Audits an Obsidian or Markdown vault for broken links, naming and tag issues. 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-maintain-vault-health
- **Repository:** https://github.com/soia-team/soia-open-pkm-vault-skills
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** soia-pkm-maintain-vault-health
- **Collection:** https://github.com/soia-team/soia-open-pkm-vault-skills
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory), [security](https://ai-powered.com/categories/security), [health and science](https://ai-powered.com/categories/health-and-science)
- **Listing updated:** 2026-12-03

## About

This skill checks the health of a Markdown or Obsidian knowledge base, either the whole vault or a chosen module. It runs a Python lint script that looks for dead links, ambiguous file names, tag policy drift, outdated notes and numbering drift in the 20 and 50 folder zones. The check is read-only by default and reports counts of scanned, skipped and unreadable files along with the findings.

When the user explicitly authorizes it, the skill can regenerate the vault's map note. It previews the map to a temporary file first, writes to the default map location only after confirmation, and then reruns the lint and index verification. A weekly maintenance mode summarizes changes from the last seven days and saves a report only when asked.

It needs Python 3 with only the standard library and an existing vault path, with an optional tag allowlist or module path. Hidden folders, .obsidian, .trash and symlinks are skipped, and reports avoid printing note bodies or environment values.

## When your agent uses it

> 只读检查整个 Markdown/Obsidian 知识库或指定模块的健康状态，审计死链、歧义文件名、标签策略与过期内容，并按授权重建地图或健康简报。触发：「检查知识库健康」「检查知识库某个模块」「维护知识库」「重建知识库地图」「vault 周维护」

## 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-maintain-vault-health)
- [No network calls found in its scripts](https://github.com/soia-team/soia-open-pkm-vault-skills/tree/HEAD/skills/soia-pkm-maintain-vault-health)
- [License: MIT](https://github.com/soia-team/soia-open-pkm-vault-skills/tree/HEAD/skills/soia-pkm-maintain-vault-health)

## Features

- **Dead link audit:** Finds wiki links that point to missing notes, including attachments and Base files.
- **Ambiguous filename detection:** Flags duplicate or confusable note names that can make links resolve incorrectly.
- **Tag policy drift check:** Compares note tags against an allowlist when one is configured and skips it otherwise.
- **Stale content review:** Reports outdated notes and numbering drift in the 20 and 50 folder zones.
- **Guarded map rebuild:** Previews a regenerated vault map and writes it only after explicit approval.
- **Weekly maintenance summary:** Summarizes the last seven days of changes and flags items needing human review.

## Good for

- Check my Obsidian vault for broken links and duplicate note names
- Audit only one module folder of my knowledge base for health issues
- Preview a rebuilt vault map before writing it over the existing one
- Produce a weekly maintenance summary of changes in my notes
- Find tags in my notes that fall outside my tag allowlist

## 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-maintain-vault-health`:

```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-maintain-vault-health &&
cp -R "$tmp/skills/soia-pkm-maintain-vault-health" ~/.claude/skills/soia-pkm-maintain-vault-health &&
rm -rf "$tmp"
```

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

### Codex

Copy the skill folder to `~/.agents/skills/soia-pkm-maintain-vault-health` 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-maintain-vault-health &&
cp -R "$tmp/skills/soia-pkm-maintain-vault-health" ~/.agents/skills/soia-pkm-maintain-vault-health &&
rm -rf "$tmp"
```

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

### Cursor

Copy the skill folder to `~/.cursor/skills/soia-pkm-maintain-vault-health` 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-maintain-vault-health &&
cp -R "$tmp/skills/soia-pkm-maintain-vault-health" ~/.cursor/skills/soia-pkm-maintain-vault-health &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/soia-pkm-maintain-vault-health` 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-maintain-vault-health
```

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

### VS Code

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

```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-maintain-vault-health &&
cp -R "$tmp/skills/soia-pkm-maintain-vault-health" ~/.copilot/skills/soia-pkm-maintain-vault-health &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/soia-pkm-maintain-vault-health` 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-maintain-vault-health` into your agent's skills folder as `soia-pkm-maintain-vault-health`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Soia pkm maintain vault health modify my notes?

The health check is read-only. Writing the vault map or saving a weekly report only happens when you explicitly ask for it, and moving or editing notes is not done by this skill.

### What does Soia pkm maintain vault health need to run?

It uses Python 3 with the standard library only, plus a path to your vault. An optional private configuration file can add 50-zone roots or a tag allowlist.

### Which folders are skipped?

Git, Obsidian, trash and hidden folders are skipped, along with symlinks.

### Does Soia pkm maintain vault health work with Obsidian?

Yes, it targets Markdown and Obsidian knowledge bases and checks Obsidian-style links and Base files.

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

Copy the skill folder from GitHub to ~/.claude/skills/soia-pkm-maintain-vault-health to use it in all your projects, or to .claude/skills/soia-pkm-maintain-vault-health 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 maintain vault health 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 maintain vault health?

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 maintain vault health?

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

## Where this comes from

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

## Alternatives

- [Soia pkm query vault](https://ai-powered.com/skills/soia-pkm-query-vault): Soia pkm query vault is an open-source agent skill for files and documents.
- [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 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.
- [Vault cleanup auditor](https://ai-powered.com/skills/vault-cleanup-auditor): Vault cleanup auditor is an open-source agent skill for security.
- [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 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.
- [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.
- [Sh memory](https://ai-powered.com/skills/sh-memory): Sh memory is an open-source agent skill for knowledge and memory.

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