Agent skill

Wechat Exporter

by robbin in robbin/wechat-exporter

A skill your agent uses when the user says "wechat-exporter", "导出微信", "更新微信聊天记录", or wants to export, decrypt, or refresh WeChat chat history and contacts on macOS.

No licenceAuto-check: notesProductivity & Automation

Install Wechat Exporter

skills CLI
$ npx skills add robbin/wechat-exporter --skill wechat-exporter -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install robbin/wechat-exporter wechat-exporter --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
wechat-exporter
GitHub stars
213
Token cost
~2k tokens
SKILL.md length
213 words
Files
2
Skills in repo
1
Repo updated
First seen
Licence
None found

At a glance

A skill your agent uses when the user says "wechat-exporter", "导出微信", "更新微信聊天记录", or wants to export, decrypt, or refresh WeChat chat history and contacts on macOS.

  • Works in 7 steps: :检查工具目录 → :首次安装(仅首次需要) → :检测微信版本变化 → …
  • The user says wechat-exporter
  • SKILL.md covers 决策流程, 路径常量, Step 1:检查工具目录 and Step 2:首次安装(仅首次需要), plus 8 more sections
  • Calls curl, python and sqlite3; reaches raw.githubusercontent.com and github.com

What it does

Wechat Exporter is an agent skill from robbin/wechat-exporter. Use when the user says "wechat-exporter", "导出微信", "更新微信聊天记录", or wants to export, decrypt, or refresh WeChat chat history and contacts on macOS.

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `README.md`).

It sits in Productivity & Automation, covering Messaging and chat bots. It works with WeChat and macOS. The repository describes itself as: A Claude Code / Codex skill to export and decrypt WeChat (macOS) chat history into plaintext SQLite databases.

When your agent uses it

  • The user says wechat-exporter
  • Wants to export
  • Refresh WeChat chat history and contacts on macOS

Example prompts

  • “wechat-exporter”
  • “更新微信聊天记录”
  • “/wechat-exporter”

Requirements

  • Python 3

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. :检查工具目录
  2. :首次安装(仅首次需要)
  3. :检测微信版本变化
  4. :重签名 + 提取密钥(版本变更时)
  5. :确定账号目录并更新 config.json
  6. :运行解密
  7. :输出导出摘要

What it can do on your machine

Read from SKILL.md and the folder at commit c491e46. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • curl
    • python
    • sqlite3
    • brew
    • git
    • python3
    • pip
    • claude

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • raw.githubusercontent.com
    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Wechat Exporter loads about 2k tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 213 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~40
When it runs · the whole SKILL.md, loaded when a task matches
~2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteRuns commands with sudoSKILL.md:123
    sudo codesign --force --deep --sign - /Applications/WeChat.app
  • NoteRuns commands with sudoSKILL.md:128
    sudo ./find_all_keys_macos
  • NoteRuns commands with sudoSKILL.md:135
    > ⚠️ `sudo ./find_all_keys_macos` 需要用户手动在终端执行(需要密码),Agent 无法替代。
  • NoteRuns commands with sudoSKILL.md:324
    | `lldb attach 失败` | 微信未重签名 | `sudo codesign --force --deep --sign - /Applications/WeChat.app` |

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 213 words (~2,032 tokens).

name
wechat-exporter

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in the repository root of robbin/wechat-exporter.

  • SKILL.md
  • README.md

Open the folder on GitHubat commit c491e46

Compare with similar skills

Wechat Exporter next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Wechat Exporter compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Wechat Exporter this skillrobbin/wechat-exporter213—~2kAutomated safety check: NotesNone
Yichen Mac Wechat Dual Openmcncarl/yichen-skills4.3k—~1.5kAutomated safety check: PassCustom licence
Greenbubbles Setupbojieli/greenbubbles352—~537Automated safety check: PassMIT
Wechat Article Extractfreestylefly/WeChatBridge1.2k—~236Automated safety check: PassMIT
Greenbubbles Contextbojieli/greenbubbles352—~603Automated safety check: PassMIT
Greenbubbles Personal Memorybojieli/greenbubbles352—~669Automated safety check: PassMIT

Similar skills

  • Yichen Mac Wechat Dual Open

    mcncarl/yichen-skills

    Create, inspect, repair, and polish a second WeChat app on macOS by copying WeChat, changing the bundle identifier, ad-hoc re-signing, preparing it for the user to open manually, setting Chinese…

    4.3k GitHub stars~1.5k tokensUpdated 3 days ago
    Productivity & AutomationAuto-check passed
  • Greenbubbles Setup

    bojieli/greenbubbles

    Install or diagnose the local GreenBubbles CLI and read-only WeChat access.

    352 GitHub stars~537 tokensUpdated 5 days ago
    Productivity & AutomationAuto-check passed
  • Wechat Article Extract

    freestylefly/WeChatBridge

    从微信聊天记录导出文件中识别公众号文章链接或分享卡片,提取标题、公众号名称、发布时间、正文和图片,并保留原文链接。当用户要求整理、摘录或归档聊天记录里的公众号文章时使用。

    1.2k GitHub stars~236 tokensUpdated 2 days ago
    Productivity & AutomationAuto-check passed
  • Greenbubbles Context

    bojieli/greenbubbles

    Find chats by name, read or search WeChat messages with the local GreenBubbles CLI.

    352 GitHub stars~603 tokensUpdated 5 days ago
    Productivity & AutomationAuto-check passed
  • Greenbubbles Personal Memory

    bojieli/greenbubbles

    Build or revise private, cited Markdown notes from the user's WeChat history in the current agent session.

    352 GitHub stars~669 tokensUpdated 5 days ago
    Knowledge ManagementAuto-check passed
  • Yichen Wecom Local Vault

    mcncarl/yichen-skills

    Read, decrypt, query, search, and export local WeCom/企业微信 5.x desktop databases on macOS into a private read-only vault.

    4.3k GitHub stars~1.3k tokensUpdated 3 days ago
    Data & AnalyticsAuto-check passed

Works with

Questions about Wechat Exporter

What does Wechat Exporter do?

A skill your agent uses when the user says "wechat-exporter", "导出微信", "更新微信聊天记录", or wants to export, decrypt, or refresh WeChat chat history and contacts on macOS. Wechat Exporter is an agent skill from robbin/wechat-exporter. Use when the user says "wechat-exporter", "导出微信", "更新微信聊天记录", or wants to export, decrypt, or refresh WeChat chat history and contacts on macOS.

When should I use Wechat Exporter?

Wechat Exporter fits situations like: the user says wechat-exporter; wants to export; refresh WeChat chat history and contacts on macOS.

How do I install Wechat Exporter in Claude Code?

Run `npx skills add robbin/wechat-exporter --skill wechat-exporter -a claude-code`. Or copy the skill folder (the robbin/wechat-exporter repository) into .claude/skills/wechat-exporter in your project. Claude Code loads it when a task matches its description.

How do I install Wechat Exporter in Codex?

Run `npx skills add robbin/wechat-exporter --skill wechat-exporter -a codex`. Or copy the skill folder (the robbin/wechat-exporter repository) into .agents/skills/wechat-exporter in your project. Codex loads it when a task matches its description.

Can I use Wechat Exporter in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add robbin/wechat-exporter --skill wechat-exporter -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/wechat-exporter, .gemini/skills/wechat-exporter, .github/skills/wechat-exporter and .opencode/skills/wechat-exporter in your project.

What does Wechat Exporter need to run?

Going by SKILL.md and its folder, Wechat Exporter needs the command-line tools its instructions call (curl, python, sqlite3, brew, git and python3). Our summary lists: Python 3.

Does Wechat Exporter access the network?

SKILL.md names 2 domains. In commands or code: raw.githubusercontent.com and github.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Wechat Exporter safe to install?

Our automated static check of SKILL.md found notes only (runs commands with sudo), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Wechat Exporter use?

No licence was found for Wechat Exporter or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Wechat Exporter use?

About 2k tokens (SKILL.md is roughly 8.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Wechat Exporter?

Skills that share tags, products or a category with Wechat Exporter: Yichen Mac Wechat Dual Open (mcncarl/yichen-skills, 4.3k stars), Greenbubbles Setup (bojieli/greenbubbles, 352 stars), Wechat Article Extract (freestylefly/WeChatBridge, 1.2k stars) and Greenbubbles Context (bojieli/greenbubbles, 352 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Wechat Exporter?

robbin (a GitHub user) maintains it in robbin/wechat-exporter, which has 213 GitHub stars. The repository was last updated on July 28, 2026.

Source: robbin/wechat-exporter on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.