# Soia pkm library book catalog

> Soia pkm library book catalog is an open-source agent skill for knowledge and memory. Rebuilds Obsidian book library, reading-record and genre overviews locally, idempotently. 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-library-book-catalog
- **Repository:** https://github.com/soia-team/soia-open-pkm-vault-skills
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** soia-pkm-library-book-catalog
- **Collection:** https://github.com/soia-team/soia-open-pkm-vault-skills
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-12-03

## About

This skill maintains an Obsidian book vault entirely on the local filesystem. It creates missing to-read records for books that already have catalog cards, then regenerates three overview notes: a library view, a reading-record view organized by reading status, and a genre view. It only reads and writes Markdown files and YAML frontmatter inside the vault and does not call the WeChat Reading API.

The work is done by Python scripts in the skill's scripts folder. Each script takes a vault path and an optional base folder, and can write its output to a preview path before touching the real vault. Re-running them is safe because existing records are skipped. The skill also documents a check that Obsidian base files keep folder and tag filters together, and a verification script for base root paths.

It expects a Python 3 environment using only the standard library, an Obsidian vault on disk, and optionally a vault path set in an environment variable or private config file.

## When your agent uses it

> 纯本地、幂等、可重复运行地维护 Obsidian 书库：补建待读记录并重新生成图书馆、阅读记录和按类型总览，不依赖微信读书。Triggers：「重新生成图书馆总览」「更新阅读记录总览」「补建待读记录」「书库整理」

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

## Features

- **Missing record backfill:** Creates to-read entries for books that have catalog cards but no reading record, skipping existing ones.
- **Library overview generation:** Regenerates the library overview from book cards organized by category and subcategory.
- **Reading status overview:** Builds a reading-record overview grouped by status such as to-read, reading, paused and finished.
- **Genre overview generation:** Produces a genre-based overview of the library for a chosen base folder.
- **Preview before writing:** Scripts can output to a preview file so changes can be checked before the vault is updated.
- **Local and idempotent runs:** Runs locally with no network calls, and repeated runs produce the same result.

## Good for

- Rebuild my Obsidian book library overview after adding new book notes
- Create to-read records for books that have cards but no reading entry
- Regenerate the reading status overview for my vault
- Update the genre overview of my book collection
- Preview library changes before writing them back to my vault

## 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-library-book-catalog`:

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

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

### Codex

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

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

### Cursor

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

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

Or copy the folder to `~/.gemini/skills/soia-pkm-library-book-catalog` yourself.

### VS Code

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

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

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

## FAQ

### What does Soia pkm library book catalog need to run?

It uses Python 3 with the standard library only, and needs an Obsidian vault path, passed as an argument or set through the OBSIDIAN_VAULT variable. It does not need network access or a WEREAD_API_KEY.

### Does Soia pkm library book catalog call the WeChat Reading API?

No. The skill is described as fully local and does not depend on the WeChat Reading API or external sync skills.

### Will running Soia pkm library book catalog again duplicate records?

No. The backfill script skips books that already have a record, and the scripts are described as safe to run repeatedly.

### Can I preview the output before changing my vault?

Yes. Passing an output path writes the overview to that location, and omitting it writes back into the vault.

### How do I install Soia pkm library book catalog in Claude Code?

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

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 library book catalog?

The closest alternatives to Soia pkm library book catalog are Soia pkm library weread sync, Soia pkm clip GitHub repo, Soia pkm maintain vault health, Soia pkm extract vault knowledge and Soia pkm query vault.

## Where this comes from

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

## Alternatives

- [Soia pkm library weread sync](https://ai-powered.com/skills/soia-pkm-library-weread-sync): Soia pkm library weread sync is an open-source agent skill for knowledge and memory.
- [Soia pkm clip GitHub repo](https://ai-powered.com/skills/soia-pkm-clip-github-repo): Soia pkm clip GitHub repo 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 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 clip web](https://ai-powered.com/skills/soia-pkm-clip-web): Soia pkm clip web 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 organize article moc](https://ai-powered.com/skills/soia-pkm-organize-article-moc): Soia pkm organize article moc is an open-source agent skill for knowledge and memory.

---
Source: https://ai-powered.com/skills/soia-pkm-library-book-catalog
