claude-dialog

Crates.ioclaude-dialog
lib.rsclaude-dialog
version0.1.0
created_at2025-06-22 12:06:48.929749+00
updated_at2025-06-22 12:06:48.929749+00
descriptionInteractive CLI for Claude conversations with custom system prompts
homepage
repositoryhttps://github.com/katsuhirohonda/claude-dialog
max_upload_size
id1721613
size80,734
Katsuhiro Honda (katsuhirohonda)

documentation

README

claude-dialog

Interactive CLI for engaging in continuous conversations with Claude Code. This tool provides a shell-like interface for chatting with Claude AI, with support for custom system prompts and model selection.

Overview

claude-dialog creates an interactive chat environment with Claude Code, allowing you to:

  • Have continuous back-and-forth conversations with Claude
  • Use custom system prompts to guide Claude's behavior
  • Maintain conversation context throughout the session
  • Switch between different Claude models

Prerequisites

Before installing claude-dialog, ensure you have the following:

Required

  • Claude Code CLI: The claude command must be installed and available in your PATH
  • Rust and Cargo: Required to build and install from source

System Requirements

  • Operating System: macOS, Linux, or Windows
  • Terminal with color support for best experience

Installation

cargo install claude-dialog

Usage

Basic usage

claude-dialog

With custom system prompt

claude-dialog --system-prompt custom_prompt.md

With multiple system prompts (concatenated)

claude-dialog --system-prompt prompt1.md --system-prompt prompt2.md

Append to default system prompt

claude-dialog --append-system-prompt additional_prompt.md

Specify model

claude-dialog --model claude-3-opus-20240229

Interactive Chat Experience

Once started, claude-dialog provides an interactive shell where you can:

  1. Type your questions or prompts
  2. Claude will respond directly in the terminal
  3. Continue the conversation with follow-up questions
  4. Claude maintains context from previous messages in the session

Example session:

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Claude Dialog Shell
System Prompt: Default
Model: claude-3-opus-20240229
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Type 'exit' or 'quit' to end the conversation

You> Hello Claude, can you help me with Python?
Claude>
I'd be happy to help you with Python! What specific topic or problem would you like assistance with?

You> How do I read a JSON file?
Claude>
Here's how to read a JSON file in Python...

Commands

  • exit or quit - Exit the conversation

License

MIT License - see LICENSE file for details

Commit count: 0

cargo fmt