Claude Code usage
Claude Loop
Automation toolkit for running iterative Claude Code sessions with cost tracking and monitoring
Install
git clone https://github.com/li0nel/claude-loop.gitFrom the README
Claude Loop Automation toolkit for running iterative Claude Code sessions with cost tracking and token monitoring. Background This repository is inspired by Dex Horthy's talk on advanced context engineering for coding agents. From the very first time I saw this video, the ideas stuck hard. After that, about a dozen Spec Driven Development workflows were tried. While they all made sense, many felt a bit too opinionated in ways that didn't add much value. Shifting the core of the work to spec definition, however, clearly made sense. The real game changer became obvious: write specs by day, let the agent rip through implementation at night. Then I came across Geoffrey Huntley's technique of running Claude Code in continuous loops, further detailed in this interview with Dex Horthy. The promise? A simple prompt asking the model to pick the highest priority item, implement, test, commit, then quit—run in an endless loop with fresh context every time—actually delivers. Similar conclusions were reached by Dex's team at this YC Agents hackathon. I then applied the same principles to spec writing, but with a human in the loop this time. Starting from a one-line spec, the model would ultrathink and generate a top 10 list of clarifying questions, repeatedly. The quality of those questions was staggering. It felt like a mid-level dev firing off exactly what would've come days later, compressed into a fast two-hour session. Experimentation followed to make analysis recursive across many context windows, saving results to support progressive disclosure—much like how Claude Skills are designed. I later found that the idea of also concurrently running analysis from different perspectives wasn't novel (see here). Here you have it: a set of unscrupulous prompts, some slash…
Details
- Repository
- li0nel/claude-loop
- Language
- Shell
- Last updated
- 3 November 2025
FAQ
What is Claude Loop?
Automation toolkit for running iterative Claude Code sessions with cost tracking and monitoring It is a usage for Claude Code, from li0nel/claude-loop on GitHub.
How do I install Claude Loop?
Clone li0nel/claude-loop from GitHub and follow the setup steps in its README.
Is Claude Loop popular?
li0nel/claude-loop has 26 GitHub stars and 0 forks. It was last updated on 3 November 2025.
More usage & cost trackers
Tokenmeter
29serkankorkut/tokenmeter
Claude Code token usage and cost dashboard. Cost per prompt, cache misses and usage limits for Claude Code, Codex and GitHub Copilot CLI, read from local logs. Zero dependencies, nothing leaves your machine.
CC Probeline
12labzink/cc-probeline
See where it leaks, stop paying for it — a live Claude Code status line that prices every turn, your subagents, cache rebuilds, plus limits, context and git.
Claudefree Installer
25BlackHatDevX/claudefree-installer
Open-source installer that automatically sets up Claude Code inside VS Code including VS Code, OpenCode, extensions and configure it for unlimited usage (free).
Pacer
11EricAndrechek/Pacer
Native macOS app for tracking Claude Code usage — tokens, cost, rate-limit pacing, per-project breakdowns. SwiftUI + SwiftData.
Ccgauge
25chengzuopeng/ccgauge
Claude Code & Codex Dashboard — local web UI for Cluade & Codex token usage and cost. npx ccgauge
Ccvitals
9educlopez/ccvitals
The prettiest statusline for Claude Code — pure bash, never blocks your prompt. Usage quota, context window, git status & more.
Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.