Skip to content

Instantly share code, notes, and snippets.

View byronrode's full-sized avatar

Byron Rode byronrode

View GitHub Profile
@kieranklaassen
kieranklaassen / token_analysis.py
Created April 6, 2026 20:24
Claude Code token usage analyzer - breaks down usage by project, session, and subagent
#!/usr/bin/env python3
"""
Claude Code token usage analyzer.
Analyzes ~/.claude/projects/ JSONL files for token usage patterns.
"""
import json
import os
import sys
from pathlib import Path
@adam91holt
adam91holt / gist:8fe3e49e3b9043b5553ef6d259d03b4b
Last active January 19, 2026 19:43
Simple bash script to run a Clawdbot agent on odd days of the month
#!/bin/bash
# odd-day-task: Run an agent task on odd days of the month
REPLY_TO="+1234567890"
REPLY_ACCOUNT="your-account"
DAY=$(date +%d)
# Check if odd day (remove leading zero for arithmetic)
if (( 10#$DAY % 2 == 1 )); then