Claude Code uploader: authenticate once, then auto-sync ~/.claude/projects to S3
Project description
Claude-Code Logger
Collect Claude Code logs automatically.
Install
pip install cc-logger
cc-logger install
After running install, you'll be prompted to authenticate with GitHub (a browser window will open).
Instructions
Run Claude normally:
claude "your task"
Logs are uploaded automatically when Claude finishes responding and when sessions end.
Supported Environments
cc-logger supports sessions from:
- Claude Code CLI (
claudecommand) - Claude Code VSCode Extension
- Claude Code Desktop App
Uninstall
cc-logger uninstall
Troubleshooting / verify setup
- Verify
cc-loggeris on your PATH (default install location is~/.local/bin, or$XDG_BIN_HOMEif you set it):
command -v cc-logger
- If
cc-loggeris not found, add this to your shell startup file and restart your shell:
export PATH="${XDG_BIN_HOME:-$HOME/.local/bin}:$PATH"
- To manually configure hooks, get the hook path:
command -v cc-logger-hook
Then add this snippet to ~/.claude/settings.json, replacing /ABSOLUTE/PATH/TO/cc-logger-hook with the output above:
{
"hooks": {
"SessionStart": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "/ABSOLUTE/PATH/TO/cc-logger-hook session-start"
}
]
}
],
"Stop": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "/ABSOLUTE/PATH/TO/cc-logger-hook"
}
]
}
],
"SessionEnd": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "/ABSOLUTE/PATH/TO/cc-logger-hook"
}
]
}
]
}
}
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
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 cc_logger-0.1.3.tar.gz.
File metadata
- Download URL: cc_logger-0.1.3.tar.gz
- Upload date:
- Size: 17.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
612a5dee8d2d9429d8441474347988f2180d3ebca955ea09d346f84cb3377775
|
|
| MD5 |
a3e9760452a2e7401cd2aa6f383d97eb
|
|
| BLAKE2b-256 |
af30690eec1e81ac7252b68a8b171d4f5bf3f1fbd3f32e610d27fd8879ac6b65
|
File details
Details for the file cc_logger-0.1.3-py3-none-any.whl.
File metadata
- Download URL: cc_logger-0.1.3-py3-none-any.whl
- Upload date:
- Size: 18.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17b43374cf636ac1e668d5ac41376153f7ac72b83fdff1e3ec32e9f76292d781
|
|
| MD5 |
e17d6493df539f5a9925b90fc21a09bd
|
|
| BLAKE2b-256 |
789e4de363c92019a7c0b8315f0cfced45cadbf461e1461b2b885c20f87a7cb0
|