stock-data-skill
OpenClaw Skill for stock data analysis
Export and sync Douban (豆瓣) book/movie/music/game collections to local CSV files (Obsidian-compatible). Use when the user wants to export their Douban reading/watching/listening/gaming history, set up incremental sync via RSS, or manage their Douban data locally.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install cosformula/douban-sync-skill打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
Export Douban collections (books, movies, music, games) to CSV and keep them in sync via RSS.
Use the browser tool to scrape all collection pages. Requires the user to be logged into Douban.
browser → douban.com/people/{USER_ID}/{category}?start=0&sort=time&mode=list
Categories and URL paths:
book.douban.com/people/{ID}/collect (读过), /do (在读), /wish (想读)movie.douban.com/people/{ID}/collect (看过), /do (在看), /wish (想看)music.douban.com/people/{ID}/collect (听过), /do (在听), /wish (想听)www.douban.com/people/{ID}/games?action=collect (玩过), =do (在玩), =wish (想玩)Each page shows up to 30 items in list mode (some pages may have fewer due to delisted entries). Paginate with ?start=0,30,60... — the script uses the paginator's "next" button to determine whether to continue.
Rate limiting: Wait 2-3 seconds between pages. If blocked, wait 30 seconds and retry.
Scripts:
scripts/douban-scraper.mjs — HTTP-only, no browser needed (may get rate-limited)scripts/douban-browser-scraper.mjs — via Puppeteer CDP, needs a running browserscripts/douban-extract.mjs — generates a browser console script for manual extractionRun scripts/douban-rss-sync.mjs — no login needed.
node scripts/douban-rss-sync.mjs
Setup: Set environment variables:
DOUBAN_USER (required): Douban user IDDOUBAN_OUTPUT_DIR (optional): Output root directory, default ~/douban-sync
Recommended: Add a daily cron job for automatic sync.
Four CSV files per user in the output directory:
douban-sync/
└── {user_id}/
├── 书.csv
├── 影视.csv
├── 音乐.csv
└── 游戏.csv
CSV columns:
title,url,date,rating,status,comment
"书名","https://book.douban.com/subject/12345/","2026-01-15","★★★★★","读过","短评内容"
status: 读过/在...这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# Douban Sync
Export Douban collections (books, movies, music, games) to CSV and keep them in sync via RSS.
## Two Modes
### 1. Full Export (first time)
Use the browser tool to scrape all collection pages. Requires the user to be logged into Douban.
```
browser → douban.com/people/{USER_ID}/{category}?start=0&sort=time&mode=list
```
Categories and URL paths:
- Books: `book.douban.com/people/{ID}/collect` (读过), `/do` (在读), `/wish` (想读)
- Movies: `movie.douban.com/people/{ID}/collect` (看过), `/do` (在看), `/wish` (想看)
- Music: `music.douban.com/people/{ID}/collect` (听过), `/do` (在听), `/wish` (想听)
- Games: `www.douban.com/people/{ID}/games?action=collect` (玩过), `=do` (在玩), `=wish` (想玩)
Each page shows up to 30 items in list mode (some pages may have fewer due to delisted entries). Paginate with `?start=0,30,60...` — the script uses the paginator's "next" button to determine whether to continue.
**Rate limiting:** Wait 2-3 seconds between pages. If blocked, wait 30 seconds and retry.
**Scripts:**
- `scripts/douban-scraper.mjs` — HTTP-only, no browser needed (may get rate-limited)
- `scripts/douban-browser-scraper.mjs` — via Puppeteer CDP, needs a running browser
- `scripts/douban-extract.mjs` — generates a browser console script for manual extraction
### 2. Incremental Sync (daily, via RSS)
Run `scripts/douban-rss-sync.mjs` — no login needed.
```bash
node scripts/douban-rss-sync.mjs
```
**Setup:** Set environment variables:
- `DOUBAN_USER` (required): Douban user ID
- `DOUBAN_OUTPUT_DIR` (optional): Output root directory, default `~/douban-sync`
**Recommended:** Add a daily cron job for automatic sync.
## Output Format
Four CSV files per user in the output directory:
```
douban-sync/
└── {user_id}/
├── 书.csv
├── 影视.csv
├── 音乐.csv
└── 游戏.csv
```
CSV columns:
```csv
title,url,date,rating,status,comment
"书名","https://book.douban.com/subject/12345/","2026-01-15","★★★★★","读过","短评内容"
```
- `status`: 读过/在...OpenClaw Skill for stock data analysis
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...
139邮箱邮件收发 Skill - 支持 IMAP/SMTP 协议,兼容139/QQ/163/Gmail等主流邮箱 功能: 1. 发送邮件(SMTP) 2. 接收邮件(IMAP) 3. 查看收件箱列表 4. 查看未读邮件 当用户提到 "发邮件"、"收邮件"、"查看邮件"、"邮箱"...
⚠️ 重要声明