# Soia pkm library weread sync

> Soia pkm library weread sync is an open-source agent skill for knowledge and memory. Syncs WeChat Reading shelf, highlights and book details into an Obsidian library. 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-weread-sync
- **Repository:** https://github.com/soia-team/soia-open-pkm-vault-skills
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** soia-pkm-library-weread-sync
- **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 keeps an Obsidian book library in step with WeChat Reading (微信读书). It writes the read-book list and reading status into book cards and reading-log notes, and it copies highlights and ideas into each book's note. A separate step calls the WeChat Reading API to fill in a single book's summary, table of contents, progress and similar-book links.

The work is split across Python scripts in the skill's scripts folder: one syncs the shelf, one syncs highlights (with a preview of the 30 most-noted books by default, or a single book, or all books), and one enriches book details. Machine-written sections are replaced on each run, while notes the user writes under a dedicated user-notes subsection are kept. Runs stop early with guidance if the required WeChat Reading skill or API key or the vault path is missing.

It expects an Obsidian vault path, either passed on the command line or set in a local config file, plus the official weread-skills package from Tencent and a WeChat Reading API key stored outside the repository. Its scripts are in Python.

## When your agent uses it

> 同步微信读书已读书目与划线到 Obsidian 书库，并调用微信读书 API 补单本书详情。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-weread-sync)
- [Network calls found in its scripts](https://github.com/soia-team/soia-open-pkm-vault-skills/tree/HEAD/skills/soia-pkm-library-weread-sync)
- [License: MIT](https://github.com/soia-team/soia-open-pkm-vault-skills/tree/HEAD/skills/soia-pkm-library-weread-sync)

## Features

- **Shelf and status sync:** Creates or updates book cards and reading-log notes from the WeChat Reading read-book shelf.
- **Highlight and idea sync:** Writes highlights and ideas into each book note while preserving the user's own notes.
- **Book detail enrichment:** Fills in summaries, chapter lists, reading progress and similar-book links via the API.
- **Preview before full sync:** Defaults to previewing the top 30 books by note count before syncing everything.
- **Safe config handling:** Keeps the API key and vault path in a local config file and avoids echoing secrets.

## Good for

- Sync my WeChat Reading shelf into my Obsidian book library
- Pull my highlights and ideas for a single book into its note
- Fill in the summary and chapter list for one book
- Preview which books have the most highlights before a full sync

## 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-weread-sync`:

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

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

### Codex

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

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

### Cursor

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

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

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

### VS Code

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

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

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

## FAQ

### What does Soia pkm library weread sync need before it runs?

It needs the official weread-skills package from Tencent, a WeChat Reading API key, and an Obsidian vault path. It stops and prints setup guidance if any of these are missing.

### Will my own notes be overwritten when highlights sync?

No. Notes written under the user-notes subsection are kept, while the machine-written sections are replaced on each highlight sync.

### How do I sync only one book's highlights?

Pass the book title to the highlight script. Without a title it previews the 30 books with the most notes, and --all runs a full sync.

### Where are the API key and vault path stored?

In a local config file under the user's config directory, or in a path set by environment variable. Environment variables take priority.

### How do I install Soia pkm library weread sync in Claude Code?

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

Yes. It runs Python scripts. Its scripts contain network calls. 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 weread sync?

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 weread sync?

The closest alternatives to Soia pkm library weread sync are Soia pkm library book catalog, Soia pkm clip wechat article, Soia pkm clip wechat account, Soia pkm clip web and Soia pkm clip x.

## Where this comes from

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

## Alternatives

- [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 clip wechat article](https://ai-powered.com/skills/soia-pkm-clip-wechat-article): Soia pkm clip wechat article is an open-source agent skill for knowledge and memory.
- [Soia pkm clip wechat account](https://ai-powered.com/skills/soia-pkm-clip-wechat-account): Soia pkm clip wechat account is an open-source agent skill for knowledge and memory.
- [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 clip x](https://ai-powered.com/skills/soia-pkm-clip-x): Soia pkm clip x 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.

---
Source: https://ai-powered.com/skills/soia-pkm-library-weread-sync
