A command-line interface for Raindrop.io bookmark management.
This CLI is available as an open agent skill for AI assistants including Claude Code, OpenClaw, Codex, Cursor, GitHub Copilot, and 35+ agents.
npx skills add dedene/raindrop-clibrew install dedene/tap/raindropgo install github.com/dedene/raindrop-cli/cmd/raindrop@latestDownload the latest binary from releases.
Get a test token from raindrop.io/settings/integrations:
raindrop auth token <your-token>
raindrop auth statusOr use environment variable:
export RAINDROP_TOKEN=<your-token>- Create an app at raindrop.io/app.
- Set the redirect URI to
http://localhost:8484/callback(or updateoauth_portin config). - Save credentials:
raindrop auth setup <client_id>- Authenticate:
raindrop auth login# Add a bookmark
raindrop add https://example.com
raindrop add https://example.com --collection Work --tags "reference,docs"# List bookmarks
raindrop list
raindrop list --favorites
raindrop list Work --all
# Search
raindrop search "golang"
raindrop search --tag programming --type article
# Get details
raindrop get 12345
# Update
raindrop update 12345 --title "New Title" --tags "updated"# Delete
raindrop delete 12345| Command | Description |
|---|---|
add [url] | Add a bookmark |
list [collection] | List bookmarks |
get <id> | Get bookmark details |
update <id> | Update a bookmark |
delete <id> | Delete a bookmark |
search [query] | Search bookmarks |
| Command | Description |
|---|---|
collections list | List collections (tree view) |
collections get <name> | Get collection details |
collections create <name> | Create a collection |
collections update <name> | Update a collection |
collections delete <name> | Delete a collection |
| Command | Description |
|---|---|
tags list | List all tags |
tags rename <old> <new> | Rename a tag |
tags merge <tags> --into <target> | Merge tags |
tags delete <tags> | Delete tags |
| Command | Description |
|---|---|
highlights list <id> | List highlights |
highlights add <id> <text> | Add a highlight |
highlights delete <id> <highlight-id> | Delete a highlight |
| Command | Description |
|---|---|
import <file> | Import Netscape HTML bookmarks |
export --format csv|html|zip | Export bookmarks |
open <id> | Open in browser |
copy <id> | Copy URL to clipboard |
| Flag | Description |
|---|---|
--json | Output JSON |
--force | Skip confirmations |
--no-input | CI mode (fail on prompts) |
--verbose | Verbose output |
# Basheval"$(raindrop completion bash)"# Zsheval"$(raindrop completion zsh)"# Fish
raindrop completion fish >~/.config/fish/completions/raindrop.fishConfig file: ~/.config/raindrop-cli/config.yaml
raindrop config path
raindrop config get <key>
raindrop config set<key><value>| Name | ID | Description |
|---|---|---|
all | 0 | All raindrops |
unsorted | -1 | Unsorted |
trash | -99 | Trash |
Collection names are case-insensitive: raindrop list Work or raindrop list work.
Add multiple URLs from stdin:
echo -e "https://a.com\nhttps://b.com"| raindrop add -MIT