Authorization notice. Star CLI is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Who it is forA developer who paused a multi-day coding task and needs to pick up the earlier context or share a written record.
The problemRestarting an agent task from scratch loses the context of earlier decisions and tool results.
The outcomeA resumed conversation and a Markdown file that records the session.
What you need first
- Node.js 20 or newer
- pnpm, only if you build from source
- An API key for an OpenAI, Anthropic, or OpenAI-compatible provider, set via /connect or config.toml
Steps
- Install the CLI with
npm install -g @cryer/star-cli. - Start the REPL in the project folder with
star, work on a task, and exit. - Reopen the saved session with
star -ror by typing/resumeinside the REPL. - Type
/exportin the REPL to write the session to a Markdown file.
Prompt for your agent
Using the cryer/star-cli repo, run `star -r` in <project-dir>, select the session for <task>, then run `/export`. Report the exported file path and verify that the file opens as Markdown.
Caveat. The README does not say where /export saves its file, so check the output location during your first run.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for cryer/star-cli and "Resume a past agent session and export it to Markdown"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer