whatsapp-chat-exporter

批量导出 WhatsApp Web 聊天记录为 Markdown 或纯文本文件。用于备份、导出、保存或归档 WhatsApp 聊天、对话或消息,触发于用户请求导出或备份 WhatsApp 聊天的场景。

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "whatsapp-chat-exporter":https://skillpi.com/zh/skills/deepskill-733eb5ad9c503849fce83875bb30b123f94fed80f37f6ab7e7ab4f0cacafaab9。安装前核对上游来源和版本:https://skillhub.cn/skills/user_a80a7fe6/whatsappchatexporterpro。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

skillhub.cn

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

批量导出 WhatsApp Web 聊天记录为 Markdown 或纯文本文件。用于备份、导出、保存或归档 WhatsApp 聊天、对话或消息,触发于用户请求导出或备份 WhatsApp 聊天的场景。

0 下载

介绍来源: third_party · user_a80a7fe6 · 3.0.0 参考来源

SkillPi 解读

能完成的任务
Batch export WhatsApp Web chat conversations as Markdown or plain text files. Use when the user wants to backup, export, save, or archive WhatsApp chats, conversations, or messages from WhatsApp Web. Triggers on "export WhatsApp", "backup WhatsApp chats", "save WhatsApp messages", "导出WhatsApp聊天", "备份WhatsApp", "WhatsApp聊天导出", or any request to download/archive WhatsApp conversations.
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: whatsapp-chat-exporter
description: Batch export WhatsApp Web chat conversations as Markdown or plain text files. Use when the user wants to backup, export, save, or archive WhatsApp chats, conversations, or messages from WhatsApp Web. Triggers on "export WhatsApp", "backup WhatsApp chats", "save WhatsApp messages", "导出WhatsApp聊天", "备份WhatsApp", "WhatsApp聊天导出", or any request to download/archive WhatsApp conversations.
description_zh: "WhatsApp Web 聊天记录批量导出器 — 一键备份对话为 Markdown 或纯文本"
description_en: "WhatsApp Web Chat Exporter — batch backup conversations as Markdown or plain text with one click"
version: 3.0.0
allowed-tools: Bash

WhatsApp Chat Exporter Pro v3

A zero-dependency browser bookmarklet that adds a floating panel to WhatsApp Web for batch exporting chat conversations.

Key features:

  • Select multiple chats and export all at once
  • Export as Markdown (.md) or Plain Text (.txt)
  • Deep scroll to load full message history
  • Merge all selected chats into one backup file
  • 100% local — no data transmission, no server

Quick Start

Method 1: Bookmarklet (Recommended)

Pin the script as a browser bookmark:

  1. Open bookmarklet-install.html in the broswer and drag the green button to the bookmarks bar.
  2. In Chrome/Edge, make sure the bookmarks bar is visible (Ctrl+Shift+B).
  3. Go to web.whatsapp.com.
  4. Click the "WA Chat Exporter Pro" bookmark.
  5. A floating panel appears — select chats and export.

Method 2: Browser Console (Alternative)

When bookmarks don't work:

  1. Open web.whatsapp.com
  2. Press F12 → Console tab
  3. Paste the entire contents of scripts/whatsapp-chat-exporter.js
  4. Press Enter

Usage

After activation, a floating panel appears on the right side:

┌─────────────────────────────────────┐
│  1. Select Chats           (N)      │
│  ┌─────────────────────────────┐    │
│  │ [Search contacts...]        │    │
│  │ ☑ Chat A                   │    │
│  │ ☐ Chat B                   │    │
│  └─────────────────────────────┘    │
│                                      │
│  2. Deep Scroll Settings             │
│  ├─ Sidebar scroll depth: 6         │
│  ├─ Chat scroll pages:   5          │
│  ├─ Scroll delay:        1.2s       │
│  ├─ ☑ Merge into one file           │
│  └─ File prefix: WhatsApp_Backup    │
│                                      │
│  3. Format:  [Markdown ▼]           │
│  [Rescan]  [  Start Export  ]       │
└─────────────────────────────────────┘

Setting Guide

Setting What it does Recommended
Sidebar scroll depth Scroll sidebar N times to discover more chats 6–10
Chat scroll pages Load N pages of history per chat (~20 msgs/page) 5–50
Scroll delay Wait between scrolls in seconds 1.2s
Merge into one file Combine all selected chats into a single file On
File prefix Name prefix for downloaded files WhatsApp_Backup

How to Read the Injected Script

Before injecting, always show the user the script path and explain it's purely browser-side:

I'll inject the WhatsApp Chat Exporter script into your browser.
This script runs entirely in your browser — no data leaves your device.
Files save to your Downloads folder.

Script location: scripts/whatsapp-chat-exporter.js

Workflow for Exports

  1. Confirm user is on WhatsApp Web: Ask them to navigate to web.whatsapp.com first.
  2. Inject the script: Either guide them through bookmarklet or console paste.
  3. Configure settings: Ask if they need specific scroll depth (longer history = higher number).
  4. Select chats: Guide them to search for specific contacts or select all.
  5. Start export: Files download automatically to Downloads folder.

Troubleshooting

Problem Solution
Panel not showing Refresh WhatsApp Web and try again
No contacts loaded Click "Load More" to scroll the sidebar
Old messages missing Increase "Chat scroll pages" (e.g., 30–50)
Export slow / tab freezes Reduce scroll depth, export fewer chats at once
Wrong format Re-run and change format before exporting
WhatsApp selector changed The script auto-detects multiple DOM patterns; if all fail, check for WhatsApp Web update

Export Format Examples

Markdown (.md) — Well-formatted, readable, preserves structure:

## 💬 Chat with John Smith
> Export Date: 7/26/2026, 10:30:00 AM | Messages: 42

**John Smith** *(10:15 AM)*:
Hey, how's the project going?

**Me** *(10:16 AM)*:
Going great! We shipped the MVP yesterday.

Plain Text (.txt) — Simple, universal, easy to grep:

John Smith — Chat Log
Export Date: 7/26/2026, 10:30:00 AM
Messages: 42
----------------------------------------

[John Smith] [10:15 AM]
Hey, how's the project going?

[Me] [10:16 AM]
Going great! We shipped the MVP yesterday.

Files Structure

whatsapp-chat-exporter/
├── SKILL.md                              ← This file
└── scripts/
    └── whatsapp-chat-exporter.js         ← Core bookmarklet script (well-commented)

当前收录版本

3.0.0

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值78/100

亮点

  • 提供 WhatsApp Web 聊天记录批量导出功能,满足用户备份与归档需求
  • 支持 Markdown 和纯文本两种格式,适配不同使用场景
触发精准82/100

待提升项

  • 触发词覆盖不全 原报告严重程度:轻微

    缺少部分长尾表达,如“下载 WhatsApp 对话”、“归档 WhatsApp 消息”等

    改进建议:补充更多用户可能使用的自然语言变体,提升触发覆盖率

亮点

  • 中英文触发关键词完整,覆盖核心意图
  • 边界清晰,不易与其他 Skill 混淆
结构规范92/100

亮点

  • 文档结构清晰,包含快速开始、使用指南、故障排查等完整章节
  • 提供配置说明与导出格式示例,用户体验良好
执行可靠75/100

待提升项

  • 浏览器兼容性未说明 原报告严重程度:轻微

    未明确说明支持的浏览器类型(如 Safari、Firefox)及版本要求

    改进建议:补充浏览器兼容性说明,避免用户在 unsupported 环境中执行失败

亮点

  • 工具为纯前端 bookmarklet,无外部依赖,数据本地处理,安全可靠
  • 覆盖了常见异常场景并提供解决方案
证据可验 (前四项均值)82/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • web.whatsapp.com

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。