Subah Alkhaldi. ← All projects

ProjectClaude Code skill · Open source

AI Efficiency

The capacity you pay for arrives in 5-hour windows. Most of us let chance decide when they start. This skill finds the cycle that fits your day, and keeps it running.

View on GitHub ↗ How it works

01The problem

A window starts when you first say hello

A Claude subscription window opens with your first message and resets five hours later. Nobody plans that first message. Start at 10:40 and the window runs to 15:40, which leaves the busiest part of the afternoon leaning on a budget that is already half spent, and the reset arriving just as you slow down.

Shift the same windows so they begin before you do, and each stretch of real work meets a fresh one. Nothing about the limits changes. Only the timing does.

Left alone an ordinary day: 3 windows With the cycle 4 windows, each ready before the work
Bars: the share of my Claude Code demand in each hour, over 31 days. Top row: windows as they fall on an illustrative day when the first prompt opens them. Bottom row: the cycle the skill recommended for me, with a small wake-up (dot) a minute after each reset.

02The result

What it found on my own month

The analyser replayed 31 days of my transcripts, minute by minute, against every half-hour start time and two, three or four windows a day.

41 → 56
5-hour windows my work touched
+37%
more usable windows, same plan
06:30
first wake-up; then 11:31, 16:32, 21:33

Your numbers will be different, which is the reason to run the analysis instead of copying my schedule. Chaining windows around the clock scored lower for me (54) than resting from 02:30 to 06:30: five hours does not divide a day, so an unbroken chain drifts, and a daily anchor pulls it back.

03How it works

Analyse, recommend, act

  1. Analyse

    Reads the Claude Code transcripts already on your machine: timestamps, models and token counts, never the text. Nothing leaves the computer.

  2. Recommend

    Shows when you really work, the cycle that puts the most fresh windows under those hours, and what it would have bought you last month. If the gain is small, or you are hitting the weekly limit instead, it says so.

  3. Act

    With your yes, it installs a small keeper on one always-on machine. About a minute after each reset it sends one word to Haiku through the official CLI, a few hundred tokens, so the next window is already open. It reads the real reset time, so windows opened from your phone are followed too.

git clone https://github.com/xSubahx/ai-efficiency
cd ai-efficiency && ./install.sh

# then, in Claude Code:
#   "analyse my Claude usage and recommend a 5-hour cycle"

04DeepSeek

The same idea for the DeepSeek Harness

If the skill finds the DeepSeek Harness on your machine, it recommends two plugins that ship in the same repository.

05Honest limits

What it does not do

Its sibling, At What Cost, estimates the tokens, cost, time, CO₂ and water of an agent task before you run it.