Skip to main content

Local Claude Code session scorer that contributes metrics to sentiments.cc

Project description

cc-sentiment

A CLI that scores your Claude Code conversations on-device and contributes aggregate numbers to an open dashboard at sentiments.cc.

Your conversations stay on your device. Only signed aggregate numeric scores are uploaded; the server verifies signatures using a public key you control.

Run it

uvx cc-sentiment

Needs uv. On-device scoring uses MLX on Apple Silicon when available; on other platforms the CLI still runs setup, upload, and dashboard sharing. The first run sets up a verification key (GitHub or GPG), scores transcripts in ~/.claude/projects/, and uploads the numbers.

What gets uploaded

Scoring runs locally on Gemma 4. The client uploads only numbers and timestamps for each 5-minute bucket of a conversation.

  • Sentiment score on a 1–5 scale
  • Read:edit ratio, edits-without-prior-read %, write:edit ratio, tool calls per turn, subagent spawn rate
  • Turn count, thinking present/chars
  • Claude model and Claude Code version
  • A public verification handle (GitHub username or GPG fingerprint) used only to verify signatures

Your conversation text, file contents, file paths, and tool inputs/outputs never leave your machine.

Commands

Command Description
cc-sentiment Run the whole flow. Sets up if needed, then scans and uploads.
cc-sentiment setup Set up a verification key (GitHub or GPG) so uploads can be signed
cc-sentiment scan --upload Score new transcripts and upload
cc-sentiment scan Score transcripts without uploading
cc-sentiment upload Upload previously scored results
cc-sentiment rescan Clear state and re-score everything

Links

Dashboard at sentiments.cc. Source and issues live on GitHub.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

cc_sentiment-0.2.98.tar.gz (23.2 MB view details)

Uploaded Source

Built Distributions

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

cc_sentiment-0.2.98-cp313-abi3-win_amd64.whl (24.1 MB view details)

Uploaded CPython 3.13+Windows x86-64

cc_sentiment-0.2.98-cp313-abi3-manylinux_2_28_x86_64.whl (24.2 MB view details)

Uploaded CPython 3.13+manylinux: glibc 2.28+ x86-64

cc_sentiment-0.2.98-cp313-abi3-manylinux_2_28_aarch64.whl (24.1 MB view details)

Uploaded CPython 3.13+manylinux: glibc 2.28+ ARM64

cc_sentiment-0.2.98-cp313-abi3-macosx_11_0_x86_64.whl (24.1 MB view details)

Uploaded CPython 3.13+macOS 11.0+ x86-64

cc_sentiment-0.2.98-cp313-abi3-macosx_11_0_arm64.whl (24.0 MB view details)

Uploaded CPython 3.13+macOS 11.0+ ARM64

File details

Details for the file cc_sentiment-0.2.98.tar.gz.

File metadata

  • Download URL: cc_sentiment-0.2.98.tar.gz
  • Upload date:
  • Size: 23.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cc_sentiment-0.2.98.tar.gz
Algorithm Hash digest
SHA256 719570fdad51505e139c59abf219fe4d2e9cdc90b72a581f7d15c79dae75a6e5
MD5 ffb517a8ad189d010b6c559d260eac13
BLAKE2b-256 38b5c650582dae2b3cdd9897d26be503166c0e0a7fefddd0314ecb5d18e302c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for cc_sentiment-0.2.98.tar.gz:

Publisher: release-pypi.yml on yasyf/cc-sentiment

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

File details

Details for the file cc_sentiment-0.2.98-cp313-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for cc_sentiment-0.2.98-cp313-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 551ffc379c250bc5d4b24c8fedba33a9982f61f5a2c06fbca87e604ca0c45c5b
MD5 0bd13303db60fe4000bc089fc2b6d9ba
BLAKE2b-256 28062c42cd0ef213ae62a5de2fced37af60c37ffad059159c69da47db1be5f89

See more details on using hashes here.

Provenance

The following attestation bundles were made for cc_sentiment-0.2.98-cp313-abi3-win_amd64.whl:

Publisher: release-pypi.yml on yasyf/cc-sentiment

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

File details

Details for the file cc_sentiment-0.2.98-cp313-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cc_sentiment-0.2.98-cp313-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f0c5bf91ebdb3c021a853061c632c6d3c03ea5fc64fd5bdea02fae0d0ac9c06e
MD5 3a4c9776f949332662033cf3fbd4963d
BLAKE2b-256 410b611e755b447e6553ebb07ba0ba92f7f950d7257244862fb08aa1ac97205d

See more details on using hashes here.

Provenance

The following attestation bundles were made for cc_sentiment-0.2.98-cp313-abi3-manylinux_2_28_x86_64.whl:

Publisher: release-pypi.yml on yasyf/cc-sentiment

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

File details

Details for the file cc_sentiment-0.2.98-cp313-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for cc_sentiment-0.2.98-cp313-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8211e7068cc4d332c7cccad0e88317ec3b0977a4bc049c44359a45a3b21d4ede
MD5 12079bcd90dd1eb7a94f662ab7f84865
BLAKE2b-256 313e82fe32f386ec9eca96e7b4480aee4facad5367ca23ba11ebcada9a1b3cf9

See more details on using hashes here.

Provenance

The following attestation bundles were made for cc_sentiment-0.2.98-cp313-abi3-manylinux_2_28_aarch64.whl:

Publisher: release-pypi.yml on yasyf/cc-sentiment

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

File details

Details for the file cc_sentiment-0.2.98-cp313-abi3-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for cc_sentiment-0.2.98-cp313-abi3-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 26f2b86bbdb7b6db65b4597a900de48286f0857aaf009861250ce652e4502b76
MD5 deed3167d8aab83970959f12a2bec09b
BLAKE2b-256 490c5e9b6bcd46dc3a702b549a8f833dc727863b63b1124a9ab2136a006957dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for cc_sentiment-0.2.98-cp313-abi3-macosx_11_0_x86_64.whl:

Publisher: release-pypi.yml on yasyf/cc-sentiment

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

File details

Details for the file cc_sentiment-0.2.98-cp313-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cc_sentiment-0.2.98-cp313-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7658a635daa20751a5098b9b192834b6009ca3d5cfe219f082f1994f8f622ca8
MD5 3f294dde5075a95c12f4437925029c81
BLAKE2b-256 89255d3f314cddede4890d63c924077305576a1737d375ffd441c1494a27c6ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for cc_sentiment-0.2.98-cp313-abi3-macosx_11_0_arm64.whl:

Publisher: release-pypi.yml on yasyf/cc-sentiment

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