telegraphic-dev/am-i-cooked — explained in plain English
Analysis updated 2026-05-18
Check your remaining Claude or Codex quota before starting a long automated coding task.
Set up an automatic gate in Claude Code that blocks prompts when your quota drops below 10%.
Run a standalone quota check from the command line and read the JSON decision in scripts.
Integrate quota checks into your workflow so you avoid hitting subscription limits mid-task.
| telegraphic-dev/am-i-cooked | amirmahdavi2023/d1-admin | anil-matcha/open-poe-ai | |
|---|---|---|---|
| Stars | 4 | 4 | 4 |
| Language | JavaScript | JavaScript | JavaScript |
| Last pushed | — | — | 2026-06-25 |
| Maintenance | — | — | Active |
| Setup difficulty | moderate | easy | moderate |
| Complexity | 2/5 | 2/5 | 3/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires existing Claude or Codex CLI credentials and choosing between plugin install, skills.sh, or cloning the repo.
quota-gate is a small Node.js tool that checks how much of your AI coding subscription quota is left before you start a long or expensive task. It supports Claude Code and Codex, reading the same local credentials their command-line tools already store. The idea is simple: before you kick off automated or heavy work, the tool tells you whether you have enough quota remaining, or whether you should wait. It returns a clear allow or skip decision in a format programs can read. Installation depends on how you want to use it. You can install it as a Claude Code plugin, which lets it automatically intercept prompts before they run. You can also install just the skill documentation through a package called skills.sh, or clone the repository directly for local development. The README provides specific commands for each path. The tool can run as a standalone command or as an automatic hook inside Claude Code. As a hook, it checks your quota each time you submit a prompt. If your remaining quota is above a floor (10% by default), the prompt proceeds silently. If quota is below the floor or cannot be determined, the hook blocks the prompt and returns a JSON object explaining why. You can adjust the floors and other behavior with environment variables. The standalone command has stricter defaults for manual checks. Every check produces JSON output with a clear decision. If quota is sufficient, it says allowed with your current usage numbers. If quota is below your threshold, it says not allowed and explains the reason. If credentials are missing or a usage endpoint fails, it also blocks and reports the problem. Exit codes follow a simple contract: zero means continue, two means stop because quota is low, one means stop because something went wrong. The tool reuses your existing Claude and Codex credentials directly. On macOS it looks in the Keychain first, then falls back to credential files. On Linux and Windows it reads credential files. It also refreshes expired tokens in memory when needed, without writing them back to disk. Additional provider support can be added without needing a separate app. The full README is longer than what was shown.
A small Node.js tool that checks your AI coding subscription quota before you start heavy tasks. It tells you if you have enough allowance left so you don't hit limits mid-run.
Mainly JavaScript. The stack also includes Node.js, JavaScript.
No license information was mentioned in the explanation, so the license terms are unknown.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.