wechat-chat-archive-manager
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "wechat-chat-archive-manager" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-f48d13f834a683d2f17bf6532bde29df9624aa5c7fa6e5d849f5c7b7426e1584. Verify the upstream source and version against https://skillhub.cn/skills/user_8d36cde0/wechat-chat-archive-manager before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Takes exported WeChat chats, images, voice, files, and videos from the account owner or explicitly authorized sources and produces local incremental archives, SHA-256 deduplication indexes, integrity reports, and recoverable snapshots—suitable for users who need long-term preservation of personal WeChat data. Used to back up readable WeChat exports or xwechat_files, organize historical chats, detect duplicate files, and verify archives or recover snapshots. Not to be used to bypass WeChat encryption, obtain credentials, monitor others, or claim to archive unreadable databases.
Introduction source: third_party · user_8d36cde0 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: wechat-chat-archive-manager
description: 输入本人或明确授权的微信聊天导出、图片、语音、文件和视频,产出本地增量归档、SHA-256 去重索引、完整性报告和可恢复快照,适合需要长期保存个人微信资料的用户。用于备份可读微信导出或 xwechat_files 内容、整理历史聊天资料、检测重复文件、验证归档或恢复快照。不得绕过微信加密、获取凭据、监控他人或声称已归档不可读数据库。微信聊天资料归档管家|郭亿易
Archive only data the user owns or is explicitly authorized to handle. Keep originals read-only and store archives locally unless the user explicitly chooses an authorized remote destination.
Establish the real source scope
- Identify the source as one or more of:
- an official WeChat backup, migration, or export that is readable;
- user-exported
TXT,JSON,HTML,CSV, or similar message records; - accessible
xwechat_filesmedia, attachment, image, voice, or video folders; - a manually selected folder containing authorized chat materials.
- State the coverage level before archiving:
- media-only when only attachments or
xwechat_filesare readable; - messages and media when readable message exports and attachments are both present;
- verified snapshot only after integrity verification and a restore test pass.
- media-only when only attachments or
- Never describe a media-only archive as a complete chat-history backup.
- If the only source is an encrypted or inaccessible client database, stop and request an official export, migration backup, or readable authorized folder. Do not crack encryption, copy credentials, inspect session stores, or defeat access controls.
Preflight
- Confirm the account label, source folders, archive destination, and retention goal.
- Prefer an encrypted local destination with enough free space, such as a BitLocker-protected drive. Do not default to a public or shared cloud folder.
- Ensure source and archive paths do not overlap.
- Estimate source bytes and compare them with free space. Allow working headroom for the first ingest.
- Record exclusions explicitly. The bundled script skips symbolic links to prevent path escape.
Read references/archive-layout.md when planning storage layout, retention, verification evidence, or recovery drills.
Create an incremental snapshot
Use the bundled standard-library script; it copies bytes without deleting or modifying the source:
python scripts/archive_wechat_export.py ingest `
--source "D:\WeChatExport" `
--archive "D:\WeChatArchive" `
--account "本人微信" `
--report "D:\WeChatArchive\latest-ingest.json"
The ingest must:
- stream every regular file through SHA-256;
- store one physical object per unique hash;
- preserve every original relative path, size, modification time, MIME guess, and snapshot relationship in SQLite;
- fail instead of silently accepting files that changed during reading;
- emit a snapshot ID and machine-readable report.
Run one source root per snapshot. For multiple exports, use separate account labels or source labels so provenance remains clear.
Verify integrity
Run verification after every material ingest and on a recurring schedule:
python scripts/archive_wechat_export.py verify `
--archive "D:\WeChatArchive" `
--report "D:\WeChatArchive\verify-latest.json"
Treat the archive as healthy only when the command exits successfully and reports no missing objects, hash mismatches, size mismatches, broken references, or snapshot-count mismatches. Orphan objects are warnings, not proof of data loss.
Review storage and deduplication
python scripts/archive_wechat_export.py stats --archive "D:\WeChatArchive"
Report logical file bytes, unique stored bytes, deduplicated bytes saved, snapshot count, unique object count, and file categories. Avoid exposing message contents or personal filenames in routine summaries.
Test recovery
Restore into a new empty destination. Never overwrite an existing recovery folder by default.
python scripts/archive_wechat_export.py restore `
--archive "D:\WeChatArchive" `
--snapshot "SNAPSHOT_ID" `
--dest "D:\WeChatRestoreTest" `
--report "D:\WeChatArchive\restore-test.json"
The restore command verifies each restored file hash. Use --overwrite only when the user explicitly authorizes replacing conflicting destination files.
Completion gate
Do not call the job complete until all applicable items pass:
- source scope and coverage level are stated;
- snapshot report exists and has zero ingest errors;
verifyexits successfully;- at least one representative restore test succeeds;
- restored chat text, image, document, and video samples open when those categories exist;
- archive destination protection and retention policy are recorded;
- no credentials, session data, or unauthorized conversations were collected.
If any gate fails, report the archive as partial and name the missing evidence precisely.
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决个人微信资料长期保存与整理的明确痛点
- 提供端到端归档、去重、校验、恢复闭环流程
Highlights
- 触发词覆盖完整,边界清晰,不易误触
Highlights
- Phase 划分清晰,含完整端到端示例和出口条件
Areas to improve
-
引用文件缺失 Reported severity: Major
SKILL.md 引用了 references/archive-layout.md 但未传入
Recommendation: 请补充 references/archive-layout.md 文件或移除引用
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 22, 100
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.