Skip to main content

A collection of useful tools for Claude AI, including a progress tracker for claude -p command

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

claude_code_goodies-0.1.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

claude_code_goodies-0.1.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file claude_code_goodies-0.1.0.tar.gz.

File metadata

  • Download URL: claude_code_goodies-0.1.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for claude_code_goodies-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2521f116113eafe04bfd081fabc863470f35969df7690d37cf718c4d1247242f
MD5 00a7cbedfd1108074230ef43001bf4eb
BLAKE2b-256 e4d3c3ed48f8b89da4897642f96cb233b538f67193f2daee89eef4c8f01adde6

See more details on using hashes here.

Provenance

The following attestation bundles were made for claude_code_goodies-0.1.0.tar.gz:

Publisher: publish-to-pypi.yml on time4Wiley/claude-code-goodies-in-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file claude_code_goodies-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for claude_code_goodies-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0564298abfb24ca729e1b0362eb8cf63aaabf3d2a7cabccea66e27ac70197048
MD5 cda4ff70fbcede9059317d3b9342cbf6
BLAKE2b-256 d6c4f66e5d8c263338dc49b0e7681872aa66bd117b73a5fe6b57f1cff5560617

See more details on using hashes here.

Provenance

The following attestation bundles were made for claude_code_goodies-0.1.0-py3-none-any.whl:

Publisher: publish-to-pypi.yml on time4Wiley/claude-code-goodies-in-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page