All skills
intellectronica avatar

/raindrop-api

@7a351f4

This skill provides comprehensive instructions for interacting with the Raindrop.io bookmarks service via its REST API using curl and jq. It covers authentication, CRUD operations for collections, raindrops (bookmarks), tags, highlights, filters, import/export, and backups. Use this skill whenever the user asks to work with their bookmarks from Raindrop.io, including reading, creating, updating, deleting, searching, or organising bookmarks and collections.

Use this Skill: https://skilld.dev/gh/intellectronica/agent-skills/raindrop-api

This session only. Nothing lands on disk.

referenceshighlights.md

≈757 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Highlights

Highlights are text excerpts saved from web pages, associated with individual raindrops (bookmarks).

Docs: https://developer.raindrop.io/v1/highlights

Highlight Object

Field Type Description
_id string Unique identifier
text string Highlighted text content (required)
title string Associated bookmark title
color string Highlight colour (default: yellow)
note string Optional annotation
created string ISO 8601 timestamp
tags array Tag labels
link string Source page URL

Colour options: blue, brown, cyan, gray, green, indigo, orange, pink, purple, red, teal, yellow

Retrieve All Highlights

Paginated list of all highlights across all raindrops.

curl -s -H "Authorization: Bearer $RAINDROP_TOKEN" \
  "https://api.raindrop.io/rest/v1/highlights?page=0&perpage=50" | jq '.'

Query parameters:

  • page (number) - Page number (0-indexed)
  • perpage (number) - Results per page (max 50, default 25)

Retrieve Collection Highlights

Highlights from a specific collection.

curl -s -H "Authorization: Bearer $RAINDROP_TOKEN" \
  "https://api.raindrop.io/rest/v1/highlights/{collectionId}" | jq '.'

Retrieve Raindrop Highlights

Get highlights for a specific bookmark (returned as part of the raindrop object).

curl -s -H "Authorization: Bearer $RAINDROP_TOKEN" \
  "https://api.raindrop.io/rest/v1/raindrop/{id}" | jq '.item.highlights'

Add Highlight

Add a new highlight to a raindrop by updating it with the highlights array.

curl -s -X PUT \
  -H "Authorization: Bearer $RAINDROP_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "highlights": [
      {
        "text": "The highlighted text",
        "color": "yellow",
        "note": "My annotation"
      }
    ]
  }' \
  "https://api.raindrop.io/rest/v1/raindrop/{id}" | jq '.'

Fields:

  • text (string, required) - The highlighted text
  • color (string, optional) - Colour name (default: yellow)
  • note (string, optional) - User annotation

Update Highlight

Update an existing highlight's note or colour by including its _id.

curl -s -X PUT \
  -H "Authorization: Bearer $RAINDROP_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "highlights": [
      {
        "_id": "HIGHLIGHT_ID",
        "note": "Updated annotation",
        "color": "blue"
      }
    ]
  }' \
  "https://api.raindrop.io/rest/v1/raindrop/{id}" | jq '.'

Delete Highlight

Remove a highlight by setting its text to an empty string.

curl -s -X PUT \
  -H "Authorization: Bearer $RAINDROP_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "highlights": [
      {
        "_id": "HIGHLIGHT_ID",
        "text": ""
      }
    ]
  }' \
  "https://api.raindrop.io/rest/v1/raindrop/{id}" | jq '.'

All highlight operations return the updated raindrop object with "result": true.

Source: SKILL.md on GitHub

2 warnings16d5 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    The skill facilitates comprehensive interaction with the Raindrop.io API using best practices for authentication and destructive action handling. It relies on environment variables for sensitive tokens and mandates user confirmation for significant changes. The primary security consideration is the inherent risk of processing externally controlled data from bookmarks, which could lead to indirect prompt injection.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: MEDIUM · 1 issue

  • Runlayer7mo

    4/4 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 7a351f4. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 8 months ago

README badge

README badge for intellectronica/agent-skills/raindrop-api