




























· 5 min read ·
A CLI that turns Slax Reader into a persistent reading store any AI agent — Claude Code, Codex, Gemini CLI, Cursor — can read from and write to.
We shipped a CLI for Slax Reader, our read-later app. The interesting bit isn’t the CLI itself — it’s that your reading library is now a first-class tool that AI agents can call. Bookmark, list, and pipe-into-prompt are all scriptable.
Repo: github.com/slax-lab/slax-reader-cli (MIT). Install and usage below.
Most AI agents have nowhere to put things.
Ask Claude Code to “save this article for later” — it can’t. ChatGPT can summarize a URL but can’t write the link anywhere you’ll find tomorrow. A browser agent scanning your timeline has no persistent store. Every conversation is fenced inside the tool it happened in.
The CLI fills that gap. Slax Reader becomes a persistent reading store that any agent — Claude Code, Claude Desktop, Codex, Gemini CLI, OpenClaw, Cursor, Windsurf — can read from and write to.
Concretely:
reader-cli add saves the links.reader-cli list --filter inbox to pull today’s saves as source material.reader-cli list --filter archive --json from the last 30 days and feeds it into your own pipeline.The library stops being a passive bookmark pile. It becomes a corpus your agents can work with.
Most “AI reads long articles for you” tools default to summarization. We think filtering is more useful.
Tell Claude Code: “Take the long piece I saved this morning, give me the 3 most counterintuitive points and 1 point I’d probably disagree with.”
Under the hood the agent runs reader-cli list --filter inbox --json, picks the right bookmark, then reader-cli get <id> --markdown to pull the content. You never see the UUID.
You don’t need the article condensed. You need to know whether it’s worth your time, and which 5 minutes inside it matter.
reader-cli add takes URLs, but the interesting workflow is letting an agent do the picking:
This is scraping. The difference is you describe the rule in plain English instead of writing the scraper.
Traditional reader workflow:
Step 3 — “scan the headlines yourself” — is the part that should belong to AI now.
Inverted:
A concrete example I run:
models. Weekly digest.After setting this up I dropped most of my RSS subscriptions. Not because they’re bad — because the scanning step shouldn’t be mine anymore.
Every writer reinvents wheels. You read something last month that explained an idea clearly. You can’t find it now.
Before starting a piece, ask Claude Code: “In my Slax Reader archive, find everything about agent design patterns from the last 90 days.” The agent calls reader-cli list --filter archive --json, filters in its context, and returns a research brief from past-you. No re-reading the whole archive yourself.
Advanced: any time you read something that contradicts a view you currently hold, save it with #self-challenge. Once a quarter, read them back. That’s your opinions evolving, made queryable.
For the skeptical:
# One step: installs the CLI and the AI agent skill
npx @slax-lab/reader-cli@latest install
# Authenticate (paste API key from reader.slax.com → Settings → API Keys)
reader-cli login
# Use it
reader-cli add https://example.com --tags "models,ai" --archive
reader-cli list --filter inbox
reader-cli get <bookmark-id> --markdown
Or just point your agent at the install guide and let it do the whole thing:
“Help me install and set up Slax Reader CLI: https://github.com/slax-lab/slax-reader-cli/blob/main/docs/ai-agent-installation-guide.md”
Sign-up via my referral gets you a few months of Pro: r.slax.com/luca-reader. None of the workflows above require Pro — permanent backup, full-text search, and the CLI all work on free.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。