explaingit

alexgladkov/quickai

Analysis updated 2026-05-18

26RustAudience · developerComplexity · 2/5LicenseSetup · easy

TLDR

A local profiling tool for Claude Code that turns existing session transcripts into reports on token usage, cost, and time spent per task.

Mindmap

mindmap
  root((quickai))
    What it does
      Profiles Claude Code usage
      Reads local transcripts
      No data leaves machine
    Reports
      Token and cost breakdown
      Wall vs idle time
      HTML report
    Interfaces
      CLI commands
      MCP server
    Tech stack
      Rust
      SQLite
      Homebrew install

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

See which Claude Code tasks or projects are consuming the most tokens and time.

USE CASE 2

Diagnose why a specific coding session run felt slow using wall time versus idle time.

USE CASE 3

Generate a browsable HTML report summarizing usage across all your projects.

USE CASE 4

Ask an AI assistant to profile a project or explain a slow run through the MCP server.

What is it built with?

RustSQLiteMCP

How does it compare?

alexgladkov/quickaigeekgineer/needle-rsipetkov/conch-runtime
Stars262626
LanguageRustRustRust
Last pushed2021-05-24
MaintenanceDormant
Setup difficultyeasymoderatemoderate
Complexity2/54/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Prebuilt binaries install quickly on Apple Silicon, Intel Mac and Linux users need to build from source with Rust.

MIT license: free to use, modify, and distribute for any purpose, including commercial use.

In plain English

quickai is a profiling tool for Claude Code, the command line AI coding assistant. It reads the transcript log files that Claude Code already writes to disk on a person's own machine and turns them into reports showing where tokens, time, and effective cost went, broken down by task, project, subagent, or model. Nothing is sent anywhere else and no extra tracking is added to Claude Code itself, the tool simply reads files that already exist locally. Because most Claude Code users pay a flat subscription rather than per token, the tool leads with token counts and time rather than a bill. Any dollar figures it shows are described as an api equivalent value, meaning what those tokens would have cost on pay as you go pricing, used as a rough measure of volume and value rather than an actual charge. After installing the tool through Homebrew, as a Claude Code plugin, or by building it from source with Rust, a user first runs an indexing command that scans their transcript files into a local database, which can be rebuilt or refreshed at any time. From there, a set of command line subcommands can show an overall summary, list the biggest tasks by tokens or cost, find unusually slow tasks and how much of that time was spent idle versus actively working, check tool error rates, spot repeated wasted turns, and generate a full HTML report that opens in a browser with sortable tables and drill down views into each task's subagents. The project can also run as an MCP server, which lets a person ask questions like which project used the most tokens this week directly inside a chat conversation, rather than using the command line. The README notes that the tool currently only supports Claude Code, though its core data model is described as general enough that support for other coding assistants could be added later. It is released under the MIT license.

Copy-paste prompts

Prompt 1
Walk me through installing quickai and running its first index build.
Prompt 2
Explain the difference between fresh tokens and cache-read tokens in the stats output.
Prompt 3
Show me how to use the MCP server to ask Claude Code about my token usage.
Prompt 4
Help me interpret the spin and waste command outputs to find inefficient tasks.

Frequently asked questions

What is quickai?

A local profiling tool for Claude Code that turns existing session transcripts into reports on token usage, cost, and time spent per task.

What language is quickai written in?

Mainly Rust. The stack also includes Rust, SQLite, MCP.

What license does quickai use?

MIT license: free to use, modify, and distribute for any purpose, including commercial use.

How hard is quickai to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is quickai for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.