Skip to main content

claude-progress

A lightweight progress tracker for claude -p command that shows thinking time, turn counts, and content previews.

Features

  • 🔄 Animated progress spinner
  • ⏱️ Elapsed time tracking
  • 🔢 Turn counter
  • 👀 Content preview during thinking
  • 🎯 Clean output
  • 🚀 Zero dependencies - uses only Python standard library

Installation

Direct Usage (Recommended)

Clone the repository and use the script directly:

git clone https://github.com/time4wiley/claude-progress.git
cd claude-progress
./claude_progress.py "Your question here"

Via pip/uv

# Using pip
pip install claude-progress

# Using uv
uv pip install claude-progress

Usage

# Default usage (uses opus model)
./claude_progress.py "What is the meaning of life?"

# No quotes needed for multi-word queries
./claude_progress.py explain how git rebase works

# Override model (default is opus)
./claude_progress.py --model sonnet "Complex mathematical proof"

# All arguments after flags are joined as the query
./claude_progress.py tell me about quantum computing in simple terms

Configuration

Claude Binary Location

The tool automatically searches for the claude binary in:

  1. $CLAUDE_PATH environment variable (if set)
  2. System PATH
  3. Common locations (/usr/local/bin/claude, ~/bin/claude, etc.)

To specify a custom location:

export CLAUDE_PATH=/path/to/your/claude

How It Works

claude-progress wraps the claude -p command and:

  1. Automatically adds required flags: --output-format stream-json --verbose
  2. Parses the streaming JSON output
  3. Displays an animated progress indicator with:
    • Elapsed time
    • Turn counter
    • Preview of Claude's current thinking
  4. Shows clean final output
  5. Reports completion statistics

Integration with Shell

If you're using the App.configs setup, this tool integrates seamlessly with existing cl and cls aliases when the -p flag is used.

Requirements

  • Python 3.9 or higher
  • claude CLI installed and accessible

License

MIT License - See LICENSE file for details.

Author

Created by Wei (time4wiley)

Release files for claude-code-goodies 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for claude-code-goodies 0.1.0
File Size Uploaded
claude_code_goodies-0.1.0.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for claude-code-goodies 0.1.0
File Interpreter ABI Platform
claude_code_goodies-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.7 kB

Release files / claude_code_goodies-0.1.0.tar.gz

Download URL claude_code_goodies-0.1.0.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2521f116113eafe04bfd081fabc863470f35969df7690d37cf718c4d1247242f
BLAKE2b-256 checksum
How to use checksums
e4d3c3ed48f8b89da4897642f96cb233b538f67193f2daee89eef4c8f01adde6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 2, 2025.

Transparency log

Release files / claude_code_goodies-0.1.0-py3-none-any.whl

Download URL claude_code_goodies-0.1.0-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0564298abfb24ca729e1b0362eb8cf63aaabf3d2a7cabccea66e27ac70197048
BLAKE2b-256 checksum
How to use checksums
d6c4f66e5d8c263338dc49b0e7681872aa66bd117b73a5fe6b57f1cff5560617
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 2, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page