claco 0.2.5

Claude Code CLI Inspector - inspect Claude Code sessions and project data
Documentation

claco - Claude Code CLI Inspector

cover

claco (Claude Code Inspector) is a CLI tool for inspecting Claude Code sessions and project data stored in the ~/.claude directory.

If you're a Claude Code user, you can use this claco tool to quickly print out all the commands you've issued in the current project with just one click.

Installation

From source

cargo install --path .

From crates.io (when published)

cargo install claco

From GitHub

cargo install --git https://github.com/kaichen/claco

Usage

List user messages in current project

# Show all user messages in the current directory's Claude project
claco history
# Or use the alias
claco showmeyourtalk

# Show messages from a specific session
claco history --session 48fb8f8e-48e9-4eb8-b035-4b72deb386cf

Show session information

# Display info about the most recent session
claco session

# Display info about a specific session by ID
claco session 48fb8f8e-48e9-4eb8-b035-4b72deb386cf

List all projects

# List all Claude projects and their sessions
claco projects

Show active sessions

# List all currently active Claude sessions
claco live

Features

  • history: Lists all user input messages for the current project
  • session: Displays session info including first user message and timestamp
  • projects: Lists all projects with their session IDs
  • live: Shows active Claude sessions with PID and workspace info

Development

# Build
cargo build

# Run tests
cargo test

# Check code
cargo clippy

# Format code
cargo fmt