Ceiling Guard — Development skill for Claude Code
Local plan-window meter and observe-only watchdog for Claude Code, Codex, and Grok CLI.
How to install Ceiling Guard
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ak2tx/ceiling-guard and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Ceiling Guard does
Local plan-window meter and observe-only watchdog for Claude Code, Codex, and Grok CLI.
Alternatives in Development
- Ccusage — CLI for analyzing Claude Code/Codex usage from local JSONL files 11.8k ★
- App It — A Claude Code + Codex skill that turns a local project into a macOS Dock-launchable app — native window, its o 218 ★
- Claude Guard — Claude Code 启动门禁与运行看门狗 / Startup guard and dry-run watchdog for official Claude Code 36 ★
README
Ceiling Guard
[](https://github.com/ak2tx/ceiling-guard/actions/workflows/ci.yml) [](https://pypi.org/project/ceiling-guard/)
Don't lose another agent run to a plan limit.
Ceiling Guard shows how much of your Claude Code, Codex or Grok subscription window is left, warns your agent before it runs out, and writes a handoff for the next run. It reads usage the official CLIs already record on your machine — no provider credentials, no proxy, no account access.
Codex and Grok usage appears immediately. Claude publishes its percentage only during a non-interactive run, so wrap one Claude command to start tracking it.
Zero dependencies. Python 3.11+. Linux, macOS, Windows, or a container.
uv tool install ceiling-guard # or, if you have it: pipx install ceiling-guard
cg setup # guided: finds your CLIs, seeds a reading, done
`cg setup` is the whole first run. It reports which agent CLIs it can see, offers to seed the Claude reading (Claude publishes its usage only while a run is in flight, so one short wrapped job is needed), installs the Agent Skill, and shows you the numbers. Re-run it any time to change settings.
Or drive it yourself:
cg quota # read-only, nothing to configure
cg wrap -- claude -p "continue the migration"
cg statusline # -> cg 48%
**If you have neither `uv` nor `pipx`, use a venv — not `pip --user`.** On Debian, Ubuntu and every other PEP 668 distribution, the system Python is externally managed and `python3 -m pip install --user ceiling-guard` is refused outright:
python3 -m venv ~/.venvs/cg && ~/.venvs/cg/bin/pip install ceiling-guard
~/.venvs/cg/bin/cg quota
Measured on Ubuntu 24.04.4, Python 3.12.3, no pip cache: **2.9 seconds** from no install to a true reading, over three c
Related Skills
Agent Quota Tracker
⚡ Local CLI monitor, autonomous watchdog, and live dashboard tracking 5-hour rolling rate limits, weekly quota
Lord Claude
Five Claude Code skills that delegate sub-tasks to rival CLIs — Codex, Gemini (via Antigravity), Grok, and Com
Tokens Reset Dashboard
See how much of your Claude Code, Codex and Grok Build plan you have used and when it resets. One command, 100
Claude Cursor Proxy
Local proxy so Claude Code and grok-build (Grok CLI) can use Cursor models (Fable), plus Codex, Kimi, and Grok
Claude Usage Guard
Pause Claude before its next tool call when your 5-hour or weekly plan usage runs hot with lots of window left
Orangu
Observe supported Claude Code, Cowork, and Desktop sessions, then improve the next outcome with deterministic
Related Agents
Force Runner
Run AI model tasks in background via The Force. Use when user wants parallel work with GPT-5.2, Gemini, Codex,
Codex CLI Research Agent
Senior OpenAI researcher specializing in Codex CLI - researches latest context window and model availability
Pi Implementer
Implementation lane driven by the pi CLI (a local multi-provider coding agent, distinct from omp). Model-agnos