Alexeyprompts
Description
A viewer for Claude Code history with ClickHouse backend
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Read the blog: [https://clickhouse.com/blog/agentic-coding](https://clickhouse.com/blog/agentic-coding)
Alexey Prompts
A viewer of Claude Code sessions with ClickHouse backend.

How to use
Create the database and tables. The `raw` table uses JSON type hints plus a few materialized columns and a text index so the UI's queries stay fast (see `schema.sql` for the full definition and the reasoning):
clickhouse-client < schema.sql
CREATE TABLE IF NOT EXISTS claude_code.classification
(
data JSON
)
ENGINE = ReplacingMergeTree
ORDER BY data.session_id::String;
Upload your sessions:
clickhouse-local -q "
SELECT _path AS path, json AS data
FROM file('$HOME/.claude/projects/*/*.jsonl', 'JSONAsString')
WHERE isValidJSON(json)
SETTINGS input_format_allow_errors_ratio=0.1
FORMAT Native
" | clickhouse-client --host '...' --password '...' -q "INSERT INTO claude_code.raw FORMAT Native"
This is likely optional:
clickhouse-local -q "
SELECT _path AS path, json AS data
FROM file('$HOME/.claude/history.jsonl', 'JSONAsString')
WHERE isValidJSON(json)
SETTINGS input_format_allow_errors_ratio=0.1
FORMAT Native
" | clickhouse-client --host '...' --password '...' -q "INSERT INTO claude_code.raw FORMAT Native"
Uploading only new data (incremental updates)
After the first upload, you don't need to re-send everything. Re-running the commands above is always *safe* (the `raw` table is a `ReplacingMergeTree`, so duplicates collapse), but it re-reads and re-sends every session each time.
Use `upload_incremental.sh` to upload only **new sessions** and **new entries appended to existing sessions**:
CH_HOST='...' CH_USER='...' CH_PASSWORD='...' ./upload_incremental.sh
On each run it uploads the union of two sets:
- Sessions ClickHouse doesn't have yet — it asks the
rawtable whichpaths are already loaded and uploads any local.jsonlthat's miss
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11