CLI & agent skill

Your library, scriptable

The official CLI gives terminal agents and scripts the same library you use on the web: search by meaning, read full saves, and file new ones, all in stable JSON.

Preview coming soon

What it does

Your saves shouldn't be locked behind a UI. The Stashr CLI is a small command-line client for the same library: search by meaning, browse with structured filters, read any save in full, and stash new links from a terminal, a script, or a coding agent like Claude Code.

Every command prints readable text by default and stable JSON with a flag. Output is bounded by design, so agents discover cheaply and read deeply only when a save actually matters. An installable agent skill teaches coding agents the whole workflow in one command, and scoped API keys cover headless automation and CI.

How it works

1. Install and sign in

Install @stashr/cli with npm or bun, then stashr login connects your account through the browser. Headless runners use a scoped API key instead.

2. Search, read, organize

stashr search finds saves by meaning, stashr get reads one in full, and save, update, and collections keep the filing scriptable.

3. Hand it to your agent

Add the official Stashr skill so coding agents learn when to search, when to fetch, and how to file things properly, without a custom prompt.

Bounded JSON discovery, built for agents
stashr search "pricing page inspiration" --compact --json
stashr get <bookmark-id> --json
stashr save https://example.com/article --json

Why people use it

Here's what scriptable access gets you.

Stable JSON, bounded output

Compact search results, machine-readable errors, and documented exit codes. Built for agents that pay for every token they read.

Scoped access you control

Browser sign-in for people, scoped API keys for automation. Read, write, and destructive permissions stay separate, and you can revoke any of them.

A skill your agent already knows

One command installs the official Stashr skill, so Claude Code and other agents work your library the right way from the first prompt.

Common questions

More features

See also

Try Stashr Pro

The full memory layer for everything you save online. Auto-captured, AI-tagged, and findable in plain English.

Get started for free

Starts with a 7-day free trial.