Fetch bookmarks from Raindrop.io API and process them for knowledge base integration.
.secrets/raindrop.env:```
RAINDROP_TOKEN=your_token_here
```
source .secrets/raindrop.env
python3 skills/raindrop/scripts/fetch.py --since 24h
python3 skills/raindrop/scripts/fetch.py --collection 12345678
python3 skills/raindrop/scripts/fetch.py --since 24h --output /tmp/raindrop-new.json
# Then process each item with web_fetch and add to memory/knowledge-base.md
https://api.raindrop.io/rest/v1GET /raindrops/{collectionId} — List bookmarks (use 0 for all)GET /collections — List collectionsGET /raindrop/{id} — Single bookmark details{
"_id": 123456,
"title": "Article Title",
"link": "https://example.com/article",
"excerpt": "Short description...",
"tags": ["tag1", "tag2"],
"created": "2026-02-15T10:00:00Z",
"collection": {"$id": 12345678}
}
memory/kb-index.json)web_fetch to get contentmemory/knowledge-base.mdmemory/kb-index.jsonAdd to heartbeat or cron for automatic sync:
每天检查一次 Raindrop 新书签,处理后存入知识库
共 1 个版本