Skip to content

zhongyi-byte/openclaw-weread-skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📚 微信读书笔记导出 Skill

OpenClaw Skill - 自动导出微信读书笔记到 Markdown/Obsidian

快速开始

1. 安装依赖

pip install requests beautifulsoup4

2. 配置 Cookie

  1. 浏览器登录 https://weread.qq.com
  2. F12 → Application → Cookies
  3. 复制 wr_vidwr_skey
  4. 编辑 config/weread.json

3. 导出笔记

# 导出所有书籍
python scripts/weread_export.py --all

# 导出本周新增
python scripts/weread_export.py --this-week

# 导出特定书籍
python scripts/weread_export.py --book "书名"

# 查看统计
python scripts/weread_export.py --stats

4. OpenClaw 集成

在对话中使用:

导出微信读书笔记

文件结构

openclaw-weread-skill/
├── SKILL.md              # 技能说明
├── README.md             # 本文件
├── scripts/
│   └── weread_export.py  # 主脚本
├── config/
│   └── weread.json.template  # 配置模板
└── requirements.txt      # 依赖

自动化配置

Cron 定时任务

添加到 ~/.openclaw/cron/jobs.json:

{
  "id": "weread-weekly-export",
  "name": "微信读书笔记每周导出",
  "schedule": {
    "kind": "cron",
    "expr": "0 9 * * 0",
    "tz": "Asia/Shanghai"
  },
  "payload": {
    "kind": "agentTurn",
    "message": "导出本周微信读书笔记并同步到 Obsidian"
  }
}

License

MIT

About

微信读书笔记导出 OpenClaw Skill - 自动导出标注、想法、书评到 Markdown/Obsidian

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages