DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to resume a past agent session and export it to Markdown with Star CLI

Reopen a saved session with /resume or star -r, then save it as Markdown with /export.

Short answer: Install the CLI with npm install -g @cryer/star-cli; then start the REPL in the project folder with star, work on a task, and exit; Reopen the saved session with star -r or by typing /resume inside the REPL. All steps.

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

  1. Install the CLI with npm install -g @cryer/star-cli.
  2. Start the REPL in the project folder with star, work on a task, and exit.
  3. Reopen the saved session with star -r or by typing /resume inside the REPL.
  4. Type /export in 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer