Claude Code Rust CLI

Rust terminal client claude-rs for Claude Code: the session stays in terminal scrollback, output does not flicker, tmux works.

  • 275 ★ on the repository
  • Last commit
  • Apache-2.0
CLI

Extended access

Why this level

  • The install script is downloaded and run from the network, and the interface drives agent sessions with access to project files.
All reasons and checks

srothgan/claude-code-rust

Install

Works in

In your terminal, with SkillFoxx CLI

npx skillfoxx add cli/claude-code-rust

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • The install script is downloaded and run from the network, and the interface drives agent sessions with access to project files.

This is third-party code. Review the repository files before installing.

What it does

Claude Code Rust (`claude-rs`) runs sessions through Anthropic's official Agent SDK with the same account, models, tools, file edits, permissions, MCP servers, skills and session history as Claude Code. Only the Ratatui interface differs: finished messages are written into terminal scrollback once and only the bottom area with the reply and composer is redrawn. It includes a searchable `/resume` picker with forking, `/rewind`, `/compact`, Markdown export, a `/diff` viewer and `claude-rs doctor` diagnostics.

Who it is for. People using Claude Code in tmux, over SSH or in Windows Terminal who scroll, search and copy output with the terminal itself.

Good fit when

  • Claude Code output flickers or jumps during long replies.
  • Search and copy in tmux are needed without exporting a transcript.
  • The window is resized or split into panes while the agent works.
  • A single binary with keyboard-driven control is preferred.

Not a fit when

  • A feature-for-feature copy of Claude Code is required.
  • Mouse controls inside the app are needed.
  • An interface without `claude` on `PATH` is wanted.

Example request

Run `claude-rs --continue`, find yesterday's refactoring session through `/resume` and show the changes with `/diff`.

Limitations

It is not a feature-for-feature copy of Claude Code: some features are unavailable and a few account and plugin operations still call `claude`, so keep it on `PATH`. The project is pre-1.0 with no roadmap. Startup is bound by the Agent SDK runtime and can take noticeable time. Anthropic controls billing and limits; the author is not affiliated with the company and advises watching the terms. There are no speed measurements against the stock interface.

How to disable. Uninstall the way you installed it: `npm uninstall -g claude-code-rust` for npm. Removal steps for the install script are in the installation guide. Claude Code sessions stay in their usual storage.

FAQ

Do I need a separate account?

No. The interface uses your Claude Code account through the Agent SDK. Terms and limits stay with Anthropic.

How do I install through npm?

Node.js 24+ is required: `npm install -g claude-code-rust`. The package ships prebuilt binaries and its own Bun runtime.

How do I check the install works?

Run `claude-rs doctor`. It inspects the environment, and debug bundles redact sensitive data.

Do my MCP servers and skills show up?

Yes, they work as in Claude Code. A few plugin operations still call `claude`.

Does it run on Windows?

Yes. The README gives a PowerShell install and mentions Windows Terminal.

Discussion

No questions or reviews yet.

CLI tools

Reads Claude Code session logs as a conversation: tool calls, token counts and a live tail of a running session.

CLIExtended access385Repository stars

A Rust status line for Claude Code with Classic, Powerline and Capsule themes: tokens, git branch, cost and subscription limits.

CLIMinimal access239Repository stars

A debugging tool for Claude Code that reads the session logs already saved on disk and shows exact file paths, diffs, model thinking and a category-by-category

CLIExtended access4KRepository stars

A desktop GUI app for Claude Code: session management, custom agents and a token cost dashboard

CLIExtended access22.4KRepository stars

Persistent memory for Claude Code on your own database: capture of decisions and context plus a code graph, injected into every prompt

CLIExtended access233Repository stars

A set of slash commands, skills and subagents for Claude Code: review, tests, security, releases, docs and GitHub to Linear sync

PluginBroad access1.3KRepository stars

Comparison with similar tools

Cards that share the main search query, and how they differ.

ToolOfficialRepository starsMain difference
Claude Code Rust (this card)no275
Claude Code Routerno38,004routes Claude Code requests to other models; claude-rs keeps the models and replaces the terminal interface
Claude Code Agent Monitorno1,145monitors Claude Code agents; claude-rs itself runs sessions and renders replies in the terminal

README in short

Stock Claude Code either redraws output or moves to an alternate screen where terminal search and tmux copy stop working. The Rust version writes finished messages into scrollback once.

README badge

Report a problem

Foxx AIClaude Code Rust
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.