~ / rigs / delexw / claude-code-trace

delexw/claude-code-trace

Claude Code session log viewer for JSONL files in ~/.claude/projects. Browse conversations, tool calls, tokens, and live tail sessions on desktop, web, and TUI.

↗ GitHub ★ 377 MIT updated 1d ago project Claude CodeCodex
share on X
ARCHETYPE
Minimalist
Lean instructions, few tools, tiny context tax. Lets the model think.
CONTEXT TAX · EVERY TURN
~287 tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit delexw/claude-code-trace/.claude ./rig-claude-code-trace  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ npx degit delexw/claude-code-trace/.claude/skills/cut-release .claude/skills/cut-release

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/pre-commit.sh"
          }
        ]
      }
    ]
  }
}

Skills (1)

Hooks (1)

eventmatcherruns
PreToolUseBash"$CLAUDE_PROJECT_DIR"/.claude/hooks/pre-commit.sh

Similar rigs

copied ✓