# Soia pkm manage vault lifecycle

> Soia pkm manage vault lifecycle is an open-source agent skill for files and documents. Plans and safely executes reorganizing, renaming, archiving and cleaning an Obsidian vault. 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-manage-vault-lifecycle
- **Repository:** https://github.com/soia-team/soia-open-pkm-vault-skills
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** soia-pkm-manage-vault-lifecycle
- **Collection:** https://github.com/soia-team/soia-open-pkm-vault-skills
- **Categories:** [files and documents](https://ai-powered.com/categories/files-and-documents), [security](https://ai-powered.com/categories/security), [productivity](https://ai-powered.com/categories/productivity)
- **Listing updated:** 2026-12-03

## About

This skill governs the full lifecycle of a Markdown or Obsidian knowledge base, or a chosen module within it. It moves content from raw capture into an active working area, frozen evidence, stable knowledge or historical archive, and routes each file by a fixed set of numbered top-level zones.

The workflow starts by generating a per-file manifest with SHA-256 hashes, checking for name collisions, inbound links, open checklist items and control-file status before anything moves. The user reviews that manifest, then apply, verify and rollback steps run through a bundled Python CLI, with a separate script handling directory renaming, numbering normalization and approved removal of empty placeholders.

It expects a vault with its own AGENTS.md guidance, Python 3 and explicit vault and manifest paths. Index and map regeneration are delegated to a companion health skill, and the skill is released under the MIT license.

## When your agent uses it

> 规划并安全执行整个 Markdown/Obsidian 知识库，或知识库中指定模块的盘点、整理、改名、迁移、归档与清理。触发：「整理知识库」「整理知识库的某个模块」「治理资料库」「整理工作台/资料库/日志/归档」

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

## Features

- **Manifest-first migration planning:** Builds a file-level move plan with hashes and conflict checks before any change is applied.
- **Zone-based routing rules:** Sends content to working, evidence, knowledge or archive zones according to its status.
- **Safe apply and rollback:** Executes approved moves without overwriting and reverts them only when hashes still match.
- **Directory numbering cleanup:** Normalizes semantic folder numbering and removes only explicitly listed empty placeholders.
- **Link and index verification:** Repairs inbound references and checks the knowledge base map and Base file after moves.

## Good for

- Reorganize an entire Obsidian vault without losing links
- Move one project module into an archive area safely
- Plan a dry-run migration of notes before applying it
- Renumber and rename top-level folders in a knowledge base
- Verify the vault index and Base file after restructuring

## 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-manage-vault-lifecycle`:

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

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

### Codex

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

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

### Cursor

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

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

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

### VS Code

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

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

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

## FAQ

### Does Soia pkm manage vault lifecycle delete files without asking?

No. It generates a manifest for review first, and deletions are limited to explicitly listed items such as .DS_Store files and empty notes without inbound links.

### What does Soia pkm manage vault lifecycle need to run?

Python 3, and the vault and manifest paths passed explicitly on the command line.

### Can Soia pkm manage vault lifecycle undo a migration?

Yes, the rollback command restores files only when the target hashes still match and the source is empty.

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

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

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 manage vault lifecycle?

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

## Where this comes from

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

## Alternatives

- [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 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 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 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 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.
- [Reorganize](https://ai-powered.com/skills/reorganize): Reorganize 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.
- [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-manage-vault-lifecycle
