Token Quest

Missions

  1. 01
    01

    Tutorial round

    The One-Line Bug

    The checkout form is doubling the total. You know exactly where the bug is: a function in checkout.ts. Out of habit, though, you drop the entire file into chat and say, “take a look.”

    29.7K → 11Kbudget
    Play
  2. 02
    02

    Something broke in production

    Forty Thousand Lines of Logs

    A service crashed at 2:00 a.m. You have a 40,000-line log file and, in a panic, drop all of it into chat. The useful information is a 30-line stack trace buried in the middle.

    129.6K → 26Kbudget
    Play
  3. 03
    03

    Retry hell

    The Customer Doesn't Know What They Want

    The request is one line: “improve notifications.” There are no acceptance criteria or boundaries. The model tries three times, and you reply “no, not like that” three times. The problem here is not context size—it is the number of turns.

    94.8K → 34Kbudget
    Play
  4. 04
    04

    Structural debt

    Spaghetti Repository

    There is a 3,000-line utils.ts, no types, and names such as data2 and helperNew. The model rediscovers the repository on every request. Trimming context is not enough in this level—you need to fix the environment.

    138K → 40Kbudget
    Play
  5. 05
    05

    Session hygiene

    The 72-Message Chat

    You started this chat in the morning and are now working on a third task. Its history contains two completed jobs, one abandoned refactor, and three pasted files. Every new message rebills all of them.

    158K → 34Kbudget
    Play
  6. 06
    06

    The wrong tool for the job

    A Rename Across 100 Files

    getUser is being renamed to fetchUser, and it appears in 100 files. You tell the agent to “change them all,” so the model reads and rewrites every file one by one. This is a codemod task, not a language-model task.

    373.2K → 46Kbudget
    Play
  7. 07
    07

    The limit of cutting costs

    Architecture Decision

    You need to choose a queue architecture, and the decision will last six months. The context is small, but the problem is hard. Every cost-cutting move here brings you closer to the wrong answer; the real saving is reaching the right decision once.

    105K → 40Kbudget
    Play
  8. 08
    08

    Final

    Team Scale

    An eight-person team shares one repository, and the monthly bill has tripled. You need to optimize the workflow, not a single chat: rules, automation, model selection, and session discipline must work together.

    292.8K → 62Kbudget
    Play