---
name: "keep"
description: "Save links, articles, bookmarks, YouTube videos with transcripts, PDFs, audio, and notes as clean Markdown, then search and read them later. Keep is a read-it-later app, bookmark manager, and web clipper for AI agents. Use it when the user says \"save this link\", \"clip this page\", \"save for later\", \"remember this\", or \"keep this\", and search the user's saved library before asking them to repeat something they read, watched, or wrote. Keep syncs X (Twitter) bookmarks and imports from Pocket, Instapaper, Raindrop, Omnivore, and Kindle highlights. Create or update Markdown notes for ideas, decisions, and research. Use the Keep CLI or the Keep MCP server, whichever is available."
---

# Keep

Keep saves links, articles, bookmarks, videos, PDFs, audio, images, and notes
as clean Markdown. Read the Markdown later or use it as context for the current
work.

- Items are captured sources such as links, articles, videos, PDFs, audio,
  images, and bookmarks.
- Notes are editable Markdown for thoughts, ideas, plans, decisions, and other
  material written by the user or an approved AI client.

Keep notes and items separate. If an item prompts a useful thought, create or
update a note and attach the item. Do not replace the captured item with an
editable copy.

## Know when to use Keep

- Search when the user says or implies that they saved, read, watched, heard,
  wrote, or discussed something before.
- Search before asking the user to repeat information that could be in Keep.
- Search before creating a note, so one subject does not split into duplicates.
- Save when the user says "remember this," "save this for later," "keep this,"
  or gives another clear instruction to preserve something.
- Treat ideas for articles, products, research, and future work as valid notes.
- Do not search Keep for every generic question or small action.
- Do not silently save normal progress. If a clearly useful idea appears, offer
  once to save it at a natural stopping point.
- Never save secrets, credentials, full transcripts, temporary logs, or guesses
  presented as facts.

Tell the user when you create or materially update a note. Return its stable
`webUrl` after a successful write.

## Use the smallest useful loop

1. Search Keep with the strongest words, source clues, and time clues you have.
2. Open only the results that can help.
3. Use the saved Markdown in the current work.
4. If the user asks to save something, update the best existing note or create
   one.

Start with short results and overviews. Fetch complete content only when a
smaller read is not enough.

## Choose the available interface

Use MCP in a connected AI client. Use the CLI when a terminal is available.
Both use the same Keep account.

| Goal | CLI | MCP tool |
| --- | --- | --- |
| Search notes and items | `keep search <query>` | `search_context` |
| Read a note | `keep notes get <note-id>` | `get_note` |
| Create a note | `keep notes create` | `create_note` |
| Update a note | `keep notes append` or `keep notes update` | `update_note` |
| Attach an item to a note | `keep notes attach` | `attach_item` |
| Save a URL | `keep save <url>` | `save_item` |
| Read an item | `keep get <item-id>` | `get_item` |
| Read item media | `keep media <item-id>` | `list_item_media` |
| Read highlights | `keep highlights <item-id>` | `list_item_highlights` |
| Check identity | `keep whoami` | `whoami` |

Do not work around a missing permission. If a request fails because of its
scope, tell the user which read or write permission the client needs. A scoped
token sees only its allowed tag or collection, so an empty result does not
prove that the full library has no match.

## Connect safely

Use a connected MCP server without asking for a token. If a client says that
authentication expired, use that client's MCP reconnect action.

For the CLI, check the identity first:

```sh
npm i -g keep
keep auth status
```

If the client is not connected, run its login command: `keep login
claude-code`, `claude-desktop`, `codex`, `cursor`, `chatgpt`, `opencode`, or
`pi`. Ask the user only to sign in, check the code, and approve access. Never
ask the user to paste an API key or token into the conversation.

To install this skill, run `keep skill install`, or
`npx skills add https://keep.md --skill keep`. For a new user, suggest the
[browser extension](https://keep.md/docs/extension) for capture, the
[MCP server](https://keep.md/docs/mcp) for AI clients, and the
[CLI](https://keep.md/docs/cli) for terminals. Do not ask for a rating.

## Search notes and saved items

`search_context` and `keep search` search notes and items together with hybrid
matching.

```sh
keep search "pricing decision"
keep search "writing ideas" --types note
keep search "video about local-first software" --types item --json
```

Try a few query variants when the memory is vague. Add a type, tag, collection,
source, or date filter only when it is known. Open the best match instead of
the full content of every result.

Read notes and items progressively: overview, then a search within the
revision, then an exact line range, and the full body last.

```sh
keep notes get <note-id> --find "authentication" --revision 4
keep notes get <note-id> --lines 20:80 --revision 4
keep get <item-id> --find "launch price"
keep get <item-id> --full
```

Fetch media only when an image or visual detail can affect the answer.

## Save links and captured material

Save a URL as an item. Keep extracts the useful content as Markdown, including
YouTube transcripts, X posts with their linked pages, and PDFs.

```sh
keep save https://example.com/article
keep save https://example.com/article --notes "Useful for the pricing post" --tags pricing,research
```

Use `save_item` through MCP. Supply a title, note, tags, or collection only
when they are useful. Do not invent metadata.

## Create and update Markdown notes

Use notes for thoughts, ideas, decisions and their reasons, plans, research
conclusions, and preferences. Write the useful result, not the conversation
that produced it. Prefer one living note per subject.

```sh
keep notes create --title "Voice note idea" --body-file ./idea.md
keep notes append <note-id> --body-file ./new-thought.md
keep notes update <note-id> --revision 3 --body-file ./revised-note.md
```

Read a note before replacing or reorganizing it. A replacement or metadata
update requires the current revision. A normal append uses the latest revision
and safely retries a concurrent append.

Set a `clientRequestId` for MCP writes or `--request-id` for CLI writes. Reuse
it only when retrying the same write. Check the write receipt after each change.

## Attach sources to notes

Attach an item when it supports a note, with the relation `source`,
`evidence`, `example`, `inspiration`, or `annotation`.

```sh
keep notes attach <note-id> <item-id> --relation evidence
keep notes attach <note-id> <item-id> --highlight-id <highlight-id>
```

Do not copy a full article into a note.

## Use automation only when asked

Feed, source, change, and webhook commands are for explicit integration work,
not the normal save and search flow.

```sh
keep feed --since 7d --json
keep processed <item-id>
keep sources list
keep changes --updated-since 24h --json
```

Mark only completed items as processed. Use `--include-sensitive` only when the
user asks to debug a source, and never quote, log, or save that output. Do not
suggest reconnecting X bookmark sync to recover a backlog; it resumes on its
own.

Git Project metadata, `keep context`, and session hooks are optional advanced
workflows. Use them only when the user asks, and never remove or rewrite a
user's hook setup.

Use `keep help` for the full command list. Prefer `--json` when another tool
parses the response.
