ClaudeKit for the terminal · free

Your Claude limits in the terminal, before you hit them

out ~2:40 PM · ~6 replies left. One command adds a status line to Claude Code with your 5-hour and weekly limits, when you’ll run out at your pace and what each prompt cost. It also adds 17 /ck- commands and lets you search, export and back up every chat.

Terminal
npx claudekit-terminal setup

Then send a message in Claude Code: the status line appears after the first reply. Needs Node.js 18+.

Free, MIT licenseZero dependenciesNo network callsView on npm

How do I set it up?

Run one command. You need Node.js 18 or newer:

Terminal
npx claudekit-terminal setup

Send a message in Claude Code and the status line appears after the first reply. What setup does:

  • Adds the status line to Claude Code’s ~/.claude/settings.json. Your old file is saved as settings.json.claudekit-backup. If you already have your own status line, it is kept unless you add --force, and remove puts it back.
  • Adds 17 /ck- commands to Claude Code (~/.claude/skills/ck-*). They run only when you type them.
  • Run it again any time. It only updates what it added and never touches a ck- command you made yourself.

Options: --packs developers,agents,marketing (default: developers), --no-packs, --auto-backup, --force.

For a faster status line, install it once. With a global install, npx no longer checks npm on every start:

Terminal
npm install -g claudekit-terminal
claudekit-terminal setup

To undo it all, run npx claudekit-terminal remove. Claude Code’s status line docs explain the setting it uses.

What does each part of the status line mean?

  • ctx 45%: How full this chat’s context window is.
  • 5h 62%: Your 5-hour session limit used: green, yellow from 70%, red from 90%.
  • +3%: What your current prompt has cost of the session so far.
  • resets 3:10 PM: When the session resets, in your time. At 100% it says back 3:10 PM.
  • out ~2:40 PM: When you run out at your pace over the last hour (from 20% used).
  • ~6 replies left: About how many prompts are left at your pace on this model (from 50% used).
  • week 41% · Thu 9:00 AM · ~13%/day: Your weekly limit, when it resets, and a daily budget.
  • use it: resets in 10h: In the last day before the weekly reset with 25% or more left: unused limit doesn’t roll over.
  • spend 63% of $500: A spend limit, when your plan has one.
  • near limit: /ck-handoff: At 90%: save your context before you’re cut off.

Limits show for Claude Pro, Max and Ultra plans, after the first reply in a session. With an API key you see the model and context only. Options: --no-color (or NO_COLOR), and --no-history (or CLAUDEKIT_NO_HISTORY=1) to keep no numbers, though then the forecast, prompt cost and replies left can’t be worked out.

Which commands does it add to Claude Code?

  • /ck-handoff: A Handoff Brief: goal, decisions, done, what’s left, key facts and files, saved in ~/.claudekit/briefs. Continue later with claudekit-terminal brief --start.
  • /ck-optimize <draft>: Rewrites a draft prompt for a clearer result and shows the token change.
  • /ck-pin [text]: Pins your last answer’s key point, or what you name, for this folder.
  • Limit Saver: /ck-compress-and-restart, /ck-plan-before-building, /ck-short-answers-mode and /ck-only-what-changed make your limit last longer.
  • Prompt packs: The extension’s free packs as commands, such as /ck-review-a-diff, /ck-find-the-root-cause and /ck-tests-first. Add more with claudekit-terminal prompts pack agents or marketing.
  • Your prompts: claudekit-terminal prompts add "Weekly report" "Summarize…" gives you /ck-weekly-report.

What can I run in my terminal?

Run each as claudekit-terminal <command>, or npx claudekit-terminal <command>.

Your limits

  • usage: Every limit with bars and reset times, the run-out forecast, replies left, what your last prompt and this chat cost, cost per model, and days without a limit.
  • week: Your Claude week: weekly % used, busiest day, days active, limit hits, and a by-day chart.
  • notify: At a limit, waits and sends a desktop notification when Claude is back. --test sends one now.

Your chats

Claude Code keeps every chat in ~/.claude/projects and deletes them after 30 days by default. These commands read those files and never change them.

  • search <words>: Every chat with all the words, the matching lines, and how to reopen it.
  • map [chat]: A numbered outline of a chat, one line per prompt.
  • export [chat]: Markdown by default. --format json or txt, --turns 3-5 (or 2,4) for some prompts, --out file.md, or --out - to print.
  • backup [folder]: One Markdown file per chat, by project, in ~/claudekit-backup, writing only new and changed chats. --auto backs up after every session; --auto off stops it.
  • fork [chat]: Opens a copy of a chat in Claude Code to try another direction, keeping the original.
  • reference [chat]: Saves a chat in ~/.claudekit/references. Type @<path> in Claude Code to use it as context in another chat.
  • brief: Your last Handoff Brief for this folder. --start opens a new session from it.
  • pins: This folder’s pins (--all for every folder). pin "text" adds one.

[chat] is the newest chat in this folder, a session id (or its first 4+ characters), or words from its title.

Prompts, tokens and setup

  • prompts: Your /ck- commands, with add, remove, show, packs and pack <name>.
  • tokens [file]: Words and estimated tokens of files or piped text (pbpaste | claudekit-terminal tokens).
  • docs: Prints this whole reference. help prints the short list.
  • remove: Undoes setup and puts back your own status line. --all also deletes ~/.claudekit.

Why does it show only the model name?

Claude Code only passes your limits to status line commands in some cases. You see just the model when:

  • no reply has come back yet in this session (limits arrive with the first reply);
  • you use Claude Code with an API key instead of a Claude Pro, Max or Ultra plan;
  • your Claude Code is older than 2.1.80. Update it and the limits appear.

What does it read, keep and send?

  • It makes no network calls. (npx itself may check npm for a newer version; a global install avoids that.)
  • It reads the JSON Claude Code passes to the status line, and Claude Code’s chat files on your computer when you run a chat command.
  • It keeps a few usage numbers in ~/.claudekit/usage.json for 8 days: percent used, reset times, when each reading was taken, the model family, and short numbers standing for the session and prompt. No chat text. It also keeps what you save (pins, briefs, references).
  • Nothing is sent anywhere. The status line never shows ads.
  • claudekit-terminal remove --all deletes ~/.claudekit. Backups you made stay where you put them.

I use claudekit-statusline. What changes?

claudekit-terminal replaces claudekit-statusline. Run npx claudekit-terminal setup and it swaps the old status line for the new one.

Do Claude Code and claude.ai share the same limits?

Yes. On paid plans, Claude Code, claude.ai and the Claude apps draw from one usage allowance. That’s why the number can jump while you’re away from the terminal: a long chat on claude.ai spends the same 5-hour session you were saving for a refactor. For how resets work in the terminal, see when Claude Code limits reset.

Use Claude on the web too?

See the same limits on claude.ai

ClaudeKit is a free Chrome extension from the same maker. A small circle in the corner of claude.ai shows your 5-hour and weekly use, hover it for the exact reset times, and a heads-up comes at 90%, before a chat on the web eats the session your next Claude Code task needs. Free, no account.

FAQ

Claude Code usage limit questions

How do I see my usage limit in Claude Code?

Type /usage in Claude Code to see your 5-hour session and weekly bars with their reset times. To keep them in view without typing anything, run npx claudekit-terminal setup: a status line under your prompt then shows both limits, when you will run out at your pace, what each prompt cost and how many replies are left, updated after every reply.

Does Claude Code have a weekly limit?

Yes, on paid Claude plans. Claude Code has a 5-hour session limit and weekly limits, and they are the same limits you use on claude.ai. The weekly limit resets at a fixed time each week; the status line shows that time and how much you can use per day to make it last.

Does ClaudeKit for the terminal send my data anywhere?

No. It makes no network calls. It reads the JSON Claude Code passes to the status line, and Claude Code’s chat files on your computer when you run a chat command. It keeps a few usage numbers in ~/.claudekit/usage.json for 8 days (percent used, reset times, the model family, and short numbers standing for the session and prompt), never chat text, and sends nothing.

Why does my status line show only the model name?

Claude Code adds your limits after the first reply in a session, on Claude Pro, Max and Ultra plans, from Claude Code 2.1.80. Before the first reply, with an API key, or on an older Claude Code, there are no limits to show, so you see only the model and context.

I use claudekit-statusline. How do I move?

Run npx claudekit-terminal setup. It replaces claudekit-statusline, swaps the old status line for the new one and adds the /ck- commands. Nothing else to change.

Is it free?

Yes. It is free and MIT-licensed, with zero dependencies, no account, and the status line never shows ads. It is made by ClaudeKit, which also makes a free Chrome extension that shows the same limits on claude.ai.