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.

referencescollections-sharing.md

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

Collection Sharing and Collaborators

Raindrop.io allows sharing collections with other users for collaboration. This reference covers the sharing API endpoints.

Docs: https://developer.raindrop.io/v1/collections/sharing

Collaborator Object

Each collaborator record contains:

Field Type Description
_id number User ID
email string Email address (empty for read-only users)
email_MD5 string MD5 hash of email (for Gravatar)
fullName string Full name
role string member (write + invite) or viewer (read-only)

Endpoints

Share Collection (Invite)

Send invitations to collaborate on a collection.

curl -s -X POST \
  -H "Authorization: Bearer $RAINDROP_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "role": "member",
    "emails": ["user1@example.com", "user2@example.com"]
  }' \
  "https://api.raindrop.io/rest/v1/collection/{id}/sharing" | jq '.'

Fields:

  • role (string, required) - member or viewer
  • emails (array, required) - Up to 10 email addresses

Get Collaborators

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

Returns array of collaborator objects.

Unshare / Leave Collection

  • Owner: Removes all collaborators
  • Member/Viewer: Removes self from the collection
curl -s -X DELETE \
  -H "Authorization: Bearer $RAINDROP_TOKEN" \
  "https://api.raindrop.io/rest/v1/collection/{id}/sharing" | jq '.'

Change Collaborator Role

curl -s -X PUT \
  -H "Authorization: Bearer $RAINDROP_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"role": "viewer"}' \
  "https://api.raindrop.io/rest/v1/collection/{id}/sharing/{userId}" | jq '.'

Remove Specific Collaborator

curl -s -X DELETE \
  -H "Authorization: Bearer $RAINDROP_TOKEN" \
  "https://api.raindrop.io/rest/v1/collection/{id}/sharing/{userId}" | jq '.'

Accept Invitation

curl -s -X POST \
  -H "Authorization: Bearer $RAINDROP_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"token": "INVITATION_TOKEN"}' \
  "https://api.raindrop.io/rest/v1/collection/{id}/join" | jq '.'

The token is provided in the email invitation.

Error Cases

  • Empty emails array
  • More than 10 recipients
  • Too many pending invitations
  • Insufficient permissions (not an owner)
  • Invalid/expired invitation token
  • Collection no longer exists
  • User already owns the collection

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