CLI collector: reads local Claude Code / Codex session logs (never uploads prompts/code — only token counts and cost estimates) and emits a CoconutLabs Burn Summary.
Project description
coconut-collector
CoconutLabs Burn Summary CLI — reads local Claude Code / Codex session logs and emits a cost summary for coconutlabs.xyz.
Security: only token counts, timestamps, and salted project hashes are read. Prompts, source code, and file contents are never read or uploaded. See coconutlabs-verification-model.md.
Install
pip install coconut-collector
Run
# Scan standard log paths (~/.claude, ~/.codex) — this week
coconut-collector
# Explicit home directory (same result for most users)
coconut-collector ~/
# All-time aggregate
coconut-collector --period all
# Output as JSON for upload
coconut-collector --json > burn-summary.json
Then upload burn-summary.json at coconutlabs.xyz to appear on the leaderboard.
Options
usage: coconut-collector [PATH] [--period {day,week,month,year,all}] [--json]
positional arguments:
PATH Root directory to scan for logs (default: standard install paths)
options:
--period Calendar window to aggregate (default: week)
--json Print envelope JSON instead of a human table
--help Show this message and exit
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file coconut_collector-0.1.0.tar.gz.
File metadata
- Download URL: coconut_collector-0.1.0.tar.gz
- Upload date:
- Size: 26.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5fa1bd7e88b09175b8a6ec44e1130c3a07ce61ea76518fb850f39564431e26e
|
|
| MD5 |
dd59bce9743ecb844f57f03793b389b3
|
|
| BLAKE2b-256 |
720bb32d23cf31079bf01ea8f9b98d805c47411aeedd166f193d7796c8cf6350
|
File details
Details for the file coconut_collector-0.1.0-py3-none-any.whl.
File metadata
- Download URL: coconut_collector-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b3fdccfc9ba9ba7b3e3ca1bbe5c34283e9d92d06c1783727a2cc10cfc149178
|
|
| MD5 |
15c0fc5b8dd56b605885aad42df2ef76
|
|
| BLAKE2b-256 |
5ecce143e4d600a0e45a4d2cd38b1fe0eb03fe4170da5facea1bd6645727485e
|