add codex

This commit is contained in:
Daniel Newman 2026-05-15 19:08:25 -04:00
commit 060c30d12c
4 changed files with 242 additions and 72 deletions

View file

@ -4,12 +4,23 @@
### Because nothing gets you promoted faster than a six-figure token bill
A bash one-liner that burns Claude Code tokens on purpose.
A bash one-liner that burns Claude Code **or Codex** tokens on purpose.
```bash
burn 50000 # burn 50,000 tokens
```
### 🆕 Now with Codex support! 🤖
Don't have Claude Code installed? No problem — `burn` now falls back to
[Codex](https://github.com/openai/codex) automatically, or pick your weapon
explicitly with `--backend`:
```bash
burn 50000 --backend codex # burn through OpenAI tokens
burn 50000 --backend codex --model gpt-5.5 # specify the model
```
---
## Install and run in 20 seconds
@ -19,16 +30,17 @@ curl -fsSL https://raw.githubusercontent.com/dtnewman/burn-baby-burn/main/instal
```
Drops `burn` into `~/.local/bin` — no sudo, no Homebrew tap. Needs
[Claude Code](https://docs.claude.com/claude-code) authenticated on your
`PATH` and `jq` (`brew install jq`).
[Claude Code](https://docs.claude.com/claude-code) **or**
[Codex](https://github.com/openai/codex) authenticated on your `PATH`, plus
`jq` (`brew install jq`).
## Usage
```bash
burn 10000 # the minimum
burn 50000 --model haiku # cheap and fast
burn 100000 --model sonnet # walk away
burn 10000 # the minimum
burn 50000 --model haiku # cheap and fast
burn 100000 --model sonnet # walk away
burn 50000 --backend codex # 🤖 burn OpenAI tokens
```
![burn in action](screenshot.png)
@ -48,12 +60,12 @@ burn 100000 --model sonnet # walk away
## Reviews
> "Wow, my engineering team is 5x more productive in just the last week!"
>
**- (Possibly) your CEO a week after your team installs this tool**
>
> **- (Possibly) your CEO a week after your team installs this tool**
> "We've decided to double our offer"
>
**- (Possibly) a famous VC, after seeing AI usage stats in your new pitch deck**
>
> **- (Possibly) a famous VC, after seeing AI usage stats in your new pitch deck**
---