Install
openclaw skills install @hilper/backup-douyin-chatSafely operate the local Douyin group-chat backup tool to log in by QR code, list conversations, perform full or incremental history backups, export JSON or JSONL, verify completeness, and optionally download encrypted image media. Use when the user asks to back up, export, inspect, verify, update, or recover Douyin/抖音 private-message or group-chat history, including requests such as 备份抖音群聊、导出聊天记录、增量更新聊天、检查备份完整性、下载聊天图片.
openclaw skills install @hilper/backup-douyin-chatOperate the hardened local tool through the bundled wrappers. Keep account state and chat data local.
Use scripts/tool.sh for CLI operations. It resolves DOUYIN_CHAT_EXPORTER_HOME first, then a containing repository or the current repository directory. Never copy the browser profile or database into the Skill directory.
Run a read-only environment check first:
<skill-dir>/scripts/tool.sh doctor
If the installation is missing, report the expected path and stop. Do not silently recreate or download a different extractor.
init, then login --accept-internal-api-risk, wait for the user to scan the QR code, and run list --accept-internal-api-risk.backup --conversation <exact-name> --accept-internal-api-risk.--incremental.export --conversation <exact-name> --format json or jsonl.export --conversation <exact-name> --format html.scripts/verify_backup.py --conversation <exact-name> and report aggregate results without printing message bodies.Pass arguments as separate shell arguments and quote conversation names. Expect QR login and long backups to remain running; poll them while keeping the user updated.
Read references/interpretation.md before reporting completeness, message totals, or media coverage.
Require all of the following before calling a full backup complete:
complete.server_has_more_false.Distinguish stored protocol records from effective chat messages. Internal audit/sync events are preserved in SQLite for traceability but filtered from JSON exports.
Do not describe CDN URLs as locally backed-up media. For image files:
media-backfill --conversation <exact-name> --dry-run to count candidates without network writes.<tool-root>/setup_im.sh --media when needed.media-backfill --conversation <exact-name> --accept-media-download-risk to download from the existing SQLite metadata without rereading chat history.media_local_path and local files before claiming media backup success.Warn that CDN URLs can expire. Never print signed media URLs or decryption keys.
private/im-data directory with owner-only permissions.Lead with success, incomplete status, or the exact blocker. Include: