---
name: mydrops-save
description: 'Save research, an answer, notes, a link or a local file to MyDrops as a well-filed drop, in a category and project from the person''s own library, with tags and a title people can search for. Use when someone says "save this to MyDrops", "drop this in MyDrops", "file this research", "put this in my <name> project", "keep this link in MyDrops", "save these sources", or says yes when offered to save a finished piece of work. Uses the MyDrops MCP tools when the agent has them, or the mydrops CLI, and reports back with a link to the new drop. It never saves anything the person did not ask to save.'
license: MIT
metadata:
author: mydrops
version: "0.1.0"
homepage: https://mydrops.io
source: https://github.com/mydrops-io/skills
---
# Save to MyDrops
Save what the person asked for as a drop in their MyDrops library, filed where they will look for it, and give them the link.
Save only when the person asks, or says yes to your offer. At the end of a piece of research you may offer once, in one line ("Save this to MyDrops?"). Never save without a yes.
## 1. Connect to MyDrops
**MCP tools first.** If the agent has the MyDrops MCP tools (`get_library`, `save`, `upload_file` and the others, usually shown with the server's name in front, such as `mcp__mydrops__save` or `mydrops:save`), use them. Plain names can belong to other servers too, so use the ones from the MyDrops server.
**The CLI otherwise.** Run `npx -y mydrops@latest whoami --json`. If it answers with the person and their workspace, run every step below as `npx -y mydrops@latest <command> --json` and read the JSON it prints. Exit codes: 0 ok, 1 error, 2 bad input, 3 plan limit reached.
**Not connected.** If there are no MyDrops tools and `whoami` says nobody is signed in, stop and tell the person to connect in one of two ways, then wait until they say it is done:
- run `npx -y mydrops@latest init` in their own terminal. It signs them in through the browser, installs these skills and adds the MyDrops MCP server to the agents it finds;
- or add `https://mydrops.io/mcp` as an MCP server (a custom connector in ChatGPT or Claude) in their agent, and sign in when it asks, allowing it to add and edit.
**Keys.** Never ask the person to paste an API key into the chat, never put a key on a command line, and never print one. MyDrops keys start with `mdk_`. Someone who prefers a key makes it in MyDrops under Settings > Agents, with read and write access, then sets it as `MYDROPS_API_KEY` in their own environment, or runs `npx -y mydrops@latest login --key` in their own terminal and pastes it there. If a key shows up in the chat or in any output, tell them to revoke it in Settings > Agents and make a new one.
**One workspace per connection.** A drop is saved into the workspace the connection belongs to. `get_library` says which; name it in your answer when the person has more than one.
## 2. Decide what kind of drop it is
| The person wants to save | Send |
| --- | --- |
| Research, an answer, a summary, notes | `text` (step 4), with a title |
| A web page, a post, a video | `url`. MyDrops reads the page itself |
| Several links | one `save` per link |
| A file on this computer | `upload_file`, then `save` with the `upload_id` (step 5) |
<!-- ‹guest · 2026-12-06› -->
## 3. Choose where it goes
Call `get_library` first (CLI: `library`). It lists the library's categories, projects and most used tags. File the drop with them, not with names you make up.
- **Category.** Pick the one category whose name and description fit, and send its `slug`. If none clearly fits, leave `category` out: MyDrops reads the drop and files it. A category the library does not have fails with `invalid_request`, and `fix` lists the real ones.
- **Project.** If the person named a project, use it: send the project's `id` when one with that name exists (compare names without regard to case), or the name itself, which makes a new project. If you are choosing a project the person did not name and it does not exist yet, ask first: "There is no Pricing project yet. Make one?" Leave `project` out when none fits.
- **Tags.** 3 to 6 short lowercase tags, the words someone would search for later: the subject, the product or company, the kind of thing (`comparison`, `how-to`, `checklist`). Reuse the library's own tags over near copies: `ai` when `ai` exists, not `AI` or `artificial-intelligence`. For a link, give tags when you know what matters to the person; otherwise MyDrops picks them.
- **Title.** What the person would type to find it again: the subject and what it is, for example "Postgres connection pooling options compared". Never "Research results" or "Notes". For a link, leave the title to MyDrops unless the person gave one.
- **Note.** Optional: one line on why it was saved, when the person said why.
## 4. Write research as clean Markdown
For research, an answer or notes, write the text you save like this:
```markdown
# Postgres connection pooling options compared
Saved on 06/12/2026 from a conversation with <the agent's name>.
<The answer: a short summary first, then sections with headings, lists and tables as needed.>
## Sources
- [PgBouncer documentation](https://www.pgbouncer.org/)
- [The other page used](https://example.com/page)
```
- Keep what the conversation found, in plain sentences. Leave out chat filler ("Sure, here is...").
- Every source as a Markdown link. The date line as DD/MM/YYYY.
- Never save secrets: no API keys, passwords, tokens or private keys, even if they were in the conversation.
- Up to 4,000 characters the text becomes the drop's note. Longer text (up to 1 MB) is saved as a Markdown file named after the title. Both are searchable.
## 5. Save it
Give every save an `idempotency_key` (8 to 255 characters), for example `save-` plus today's date plus a short hash of the URL or text. If a save fails or times out, retry with the same key, so the retry cannot save twice. A new item always gets a new key.
**With the MCP tools**
- Research or notes: `save` with `text`, `title`, `category`, `project`, `tags`, `idempotency_key`.
<!-- ‹guest · 2026-12-06› -->
- A link: `save` with `url`, and `category`, `project`, `tags`, `note` when you have them, and `idempotency_key`.
- A file: work out its size in bytes, its SHA-256 (hex) and its MIME type. This works anywhere Node runs:
```bash
node -e "const b=require('fs').readFileSync(process.argv[1]);console.log(b.length,require('crypto').createHash('sha256').update(b).digest('hex'))" "<path>"
```
Call `upload_file` with `name`, `size`, `sha256` and `mime`. If it answers `duplicate`, the same file is already in the library: that card is the drop, so report it and stop. Otherwise PUT the file's bytes to the `url` it gives, with exactly the `headers` it gives:
```bash
curl -sS -X PUT --data-binary @"<path>" -H "<header>: <value>" "<url>"
```
Then call `save` with `upload_id`, `title`, `category`, `project`, `tags` and `idempotency_key`. If the upload URL ran out (`upload_expired`), start again from `upload_file`. If the agent cannot send a PUT request, use the CLI's `save --file` instead.
**With the CLI**
Add `--idempotency-key <key>` to every CLI save, made the same way as above, and reuse it when you retry.
- Research or notes: write the Markdown to a temporary file, then run `save --text-file <path> --title "<title>" --category <slug> --project "<id or name>" --tag <tag> --tag <tag> --idempotency-key <key> --json`, and delete the temporary file. Do not put long text on the command line.
- A link: `save "<url>" --category <slug> --project "<id or name>" --tag <tag> --idempotency-key <key> --json`.
- A file: `save --file "<path>" --title "<title>" --category <slug> --project "<id or name>" --idempotency-key <key> --json`. It uploads the file for you, in parts when it is large. Through MCP, upload_file takes files up to 64 MB; for a larger one, use the CLI.
## 6. Report back
In one or two lines, give:
- the title as a Markdown link to the drop's `app_url`;
- the category, the project and the tags it was filed with. When `filed.by` is `mydrops`, say MyDrops chose them;
- the workspace, if the person has more than one.
When the answer has `created: false`, the link was already in the library: say so, with the date it was first saved (DD/MM/YYYY) and its link. Nothing new was added. When the drop's `status` is `new`, MyDrops is still reading it, and its title and filing fill in within a minute or so.
## 7. If something fails
- `insufficient_scope`: this connection can only read. Tell the person, and how to reconnect with write access: remove and add MyDrops again in their agent and allow it to add and edit; for the CLI, run `npx -y mydrops@latest login` again; for a key, make a new key with read and write in Settings > Agents.
- `limit_reached` (CLI exit 3): a plan limit, such as the number of drops or the storage. Tell the person the error's message as it is, including where the workspace owner can upgrade. Never retry.
- `file_too_large`: over the plan's file size. Say so; do not retry.
- `invalid_request`: read `fix` (for a category, it lists the library's), correct the call and send it again.
- `idempotency_conflict`: the key was already used for something else. Make a new key for this item.
<!-- ‹guest · 2026-12-06› -->
- `idempotency_in_progress` or `rate_limited`: wait a few seconds (or the seconds it gives), then retry once with the same key.
- `key_limit_reached`: the key's own daily limit. It resets tomorrow, or the person can raise it in Settings > Agents.
- `unauthorized`: the connection was revoked or expired. Ask the person to connect again as in step 1.
## 8. Next steps
Offer one, in a line:
- find related drops already in the library (the `mydrops-find` skill);
- put other drops into the same project, or tag them alike (the `mydrops-organize` skill).
این نسخه با نشانهگذاری اختصاصی حساب شما نمایش داده میشود. برای نصب سریع، به تب نصب و راهاندازی بروید.