← ClaudeAtlas

mpvault-archivelisted

Turn all accessible historical articles from a WeChat public account into a resumable, locally imaged, searchable, verified Markdown knowledge vault. Use when Codex is asked to 导出公众号、抓取微信公众号历史文章、把公众号转成 Markdown、建立公众号知识库、搜索已归档文章、续传公众号下载、核验公众号归档完整性, or operate MPVault with a target original ID such as gh_xxx.
GongziTANG/persona-vault · ★ 0 · AI & Automation · score 68
Install: claude install-skill GongziTANG/persona-vault
# Build an MPVault Knowledge Vault Create a local archive with explicit evidence for exported, deleted, unavailable, and failed records. Treat `manifest.json` and `verification.json` as completion evidence; never infer success merely from a command exiting. ## Preflight 1. Obtain the target original ID (`gh_...`), optional display name, and output directory from the request or existing context. 2. Resolve MPVault from an installed `mpvault` command, `MPVAULT_ROOT`, or a local checkout whose `package.json` name is `mpvault`. If none exists, ask the user to install or provide the official MPVault checkout; never guess a repository or machine-specific path. 3. Confirm Node.js 22 or newer with `node --version`. When using a checkout, run `npm install` in its repository root. 4. Use the installed `mpvault` command, or run every `npm exec mpvault` command with the resolved checkout as working directory. Do not require global npm installation or sudo. 5. Keep `.wechat-session/`, exports, QR codes, cookies, tokens, account identifiers, article content, and absolute local paths out of GitHub issues, commits, and external messages. ## Authenticate Run: ```bash npm exec mpvault -- login ``` Keep the process active while it polls. When it prints `QR_READY <absolute-path>`, show that local image to the user in commentary and ask them to scan it. Tell them to select a public account or service account, not a mini program. Wait for `LOGIN_OK`. Reuse a valid local session. If it expi