🤖 AI Hot

Leader.skill: Define Goals So Agents Stop Burning Tokens

A
Alex Chen

The 20-Billion-Token Mistake

In late July 2026, a Chinese developer posted something that stopped me mid-scroll. The title, roughly translated: “After wasting 20 billion tokens, I open-sourced a Skill that helps define agent goals.”

Twenty billion. Not a typo. The developer — posting under the handle “卡兹克” on Zhihu and other Chinese platforms — described a familiar spiral. He would give an AI coding agent a task. The agent would work for hours, burning through tokens at a furious rate, and produce something that looked complete but was pointed in entirely the wrong direction. The agent was not lazy. It was not broken. It was faithfully executing a poorly defined goal.

So he built Leader.skill, a structured prompt framework that forces you to answer seven questions before an agent ever touches your codebase. It is the kind of tool that makes you feel stupid for not building it yourself — and that is usually the sign of something genuinely useful.

How Leader.skill Works

The framework is built around what the author calls the “Seven Questions” methodology. Before you hand a task to an AI agent, you answer these:

  1. Purpose — What is the actual outcome you want? Not the implementation, not the steps. The outcome.
  2. Completion state — How do you know it is done? What does “done” look like in concrete, verifiable terms?
  3. Anti-cheating — What shortcuts might the agent take that technically satisfy the goal but miss the point? List them explicitly.
  4. Boundaries — What files, systems, or patterns should the agent never touch?
  5. Constraints — What technical constraints exist that are not obvious from the codebase? Runtime limits, API rate limits, backward compatibility requirements.
  6. Dependencies — What does this task depend on that the agent might not discover on its own?
  7. Acceptance criteria — What specific tests or checks must pass before the result is considered valid?

Leader.skill takes your answers and generates a structured task document that any agent-capable model can consume. The output is not a prompt. It is closer to a lightweight spec: sections for context, constraints, success criteria, and anti-patterns to avoid.

The author recommends a specific model split: use Claude Fable 5 or Kimi K3 for the planning phase (these models are better at asking clarifying questions and spotting ambiguities), then hand the structured task document to GPT-5.6 Sol or GLM-5.2 for the long-running execution phase. The planning model does not need to be the execution model. This is a pattern I have been advocating for months and it is satisfying to see it codified in a tool.

Why Goal Definition Is the Actual Bottleneck

Most of the AI agent discourse in 2026 focuses on model benchmarks. Can GPT-5.6 beat Claude Opus on SWE-bench? Does Gemini 2.5 handle longer contexts? But the bottleneck in production use is rarely model quality. It is specification quality.

I have watched engineers spend 20 minutes debugging an agent’s output only to realize the original prompt was ambiguous in a way the agent resolved incorrectly. The model was not wrong. It was answering a different question than the engineer thought they asked.

This is the core problem Leader.skill addresses, and it is why the 20-billion-token story is not just a fun anecdote. At current API pricing, 20 billion tokens costs somewhere between $15,000 and $40,000 depending on the model and provider. That is a real budget. A small team’s monthly AI spend, vaporized because nobody wrote down what “done” means.

The seven-question framework works because it forces you to externalize assumptions. Every experienced engineer carries implicit knowledge about what “good” looks like in their codebase. Agents do not have that knowledge. The questions make it explicit.

The Broader Pattern: Zero-Shot Is Not Enough

Leader.skill is part of a broader shift in how developers interact with AI agents. The first generation of agent tools assumed zero-shot was sufficient: give the agent a natural language instruction and trust it to figure out the rest. That worked for CRUD endpoints and simple scripts. It failed catastrophically for anything involving architectural decisions, legacy code, or multi-step workflows with hidden dependencies.

The second generation — which Leader.skill represents — treats goal definition as a first-class engineering task. You do not just tell the agent what to do. You tell it what not to do, how to know when it is done, and what shortcuts to avoid. This is not micromanagement. It is the difference between “build me a user authentication system” and “build me a user authentication system that works with our existing session middleware, does not touch the billing module, and must pass the OWASP auth test suite.”

I have started applying a version of the seven questions to every agent task longer than 15 minutes, even without using the Leader.skill tool directly. The anti-cheating question alone has saved me from at least three “works on my machine” deployment disasters.

Where It Falls Short

Leader.skill has two limitations worth acknowledging.

First, it is currently Chinese-language-native. The GitHub README and documentation are in Chinese, and while the generated task documents can be output in English, the setup experience is not great if you do not read Chinese. This limits adoption outside the Chinese developer community, which is a shame because the methodology is language-agnostic.

Second, the framework assumes a level of upfront clarity that some projects genuinely do not have. If you are exploring a problem space where you do not yet know what “done” looks like, the seven questions become a forcing function for premature commitment. The author acknowledges this in the documentation and recommends using the framework for well-scoped implementation tasks rather than open-ended research or prototyping.

I would add a third: the quality of the generated task document depends heavily on the quality of your answers. If you rush through the questions with vague responses, the output will be just as vague. The framework does not fix bad thinking. It exposes it, which is a different kind of value.

Who Should Use Leader.skill

If you regularly hand multi-hour tasks to Claude Code, Aider, Copilot agent mode, or any autonomous coding agent, you should try the seven-question methodology even if you never install the tool. Write down the answers before you type the prompt. You will catch ambiguities you did not know were there.

If you manage a team of engineers who are new to AI-assisted development, Leader.skill or something like it should be part of your onboarding. Junior engineers tend to write prompts that are too broad. The seven questions teach them to think in terms of verifiable completion states instead of wishful descriptions.

If you are building your own agent orchestration system, the model split recommendation (planning model ≠ execution model) is worth stealing. Planning benefits from smaller, more nuanced models that ask good questions. Execution benefits from larger, faster models that follow instructions reliably. These are different capabilities and they do not need to live in the same model.

What This Says About the Agent Market

The 20-billion-token story went viral for the same reason Devin’s early demos did: it captures a real frustration that every developer who uses AI agents has felt. You hand over a task, walk away, come back hours later, and find the agent has built something impressive that solves a problem you do not have.

Tools like Leader.skill are a recognition that the hard part of AI-assisted development is not the AI. It is the assisted. The interface between human intention and machine execution is where everything breaks. The seven questions are not a technical innovation. They are a communication protocol. And communication protocols are what actually make distributed systems work — whether the nodes are microservices or humans and language models.

I do not know if Leader.skill specifically will become a standard tool. But the pattern it represents — structured goal definition as a prerequisite for agent delegation — will outlast whatever specific implementation catches on first.

Practical Takeaways for Engineering Teams

If you do not want to adopt Leader.skill wholesale, you can steal the methodology in about ten minutes. Here is what I have been doing on my team for the past few weeks, directly inspired by the seven questions:

Start every agent task with an anti-cheating clause. Before I type the actual request, I write one sentence: “Do not do X, even if it seems like a shortcut.” For a refactoring task, X might be “change the public API without updating the callers.” For a data migration, X might be “drop and recreate the table instead of running the migration script.” One sentence, five seconds, and it catches the failure mode that would otherwise cost hours.

Define the completion check before the implementation. This is the single highest-leverage habit from the Leader.skill framework. Before the agent writes a line of code, I write: “This task is done when [specific test] passes.” If I cannot write that sentence, the task is too vague to delegate.

Use different models for planning and execution. This one surprised me. I had been using Claude Opus for everything because it scored highest on benchmarks. But Claude Fable 5 — Anthropic’s smaller, faster model — is actually better at asking clarifying questions and catching ambiguities in my prompts. Switching to a two-model workflow (Fable for planning, Opus or GPT-5.6 for execution) reduced the number of “agent went off the rails” incidents by roughly half over two weeks. The numbers are anecdotal but the pattern is real.

Keep a failure log. Every time an agent produces output that looks correct but is wrong in a non-obvious way, write down what the prompt was missing. After ten entries, patterns emerge. My team’s log now has entries like “agent hardcoded API key in config file because we did not specify environment variable usage” and “agent used synchronous HTTP client because we did not mention async requirement.” These are specification failures, not model failures.

The Cost of Not Doing This

I want to put a number on what poor goal definition costs, because the 20-billion-token story is extreme but the pattern is common. A typical autonomous coding agent burns 500,000 to 2 million tokens on a moderately complex task — say, implementing a new API endpoint with tests. If 30% of those tokens are wasted on wrong-direction work that gets thrown away after a human review, that is 150,000 to 600,000 tokens of pure waste per task.

At current pricing, that is roughly $0.50 to $3.00 per task in direct API costs. The real cost is the engineer’s time spent reviewing garbage output, which is harder to quantify but almost certainly larger. Five minutes of a senior engineer’s time costs more than a million tokens of API spend. The seven questions take two minutes to answer.

The economics of structured goal definition are not subtle. You spend two minutes upfront to save five to thirty minutes of downstream debugging. For any task longer than ten minutes of agent execution time, the math is straightforward.

Sources

Disclosure: CarCare Guide is reader-supported. When you buy through links on our site, we may earn an affiliate commission at no extra cost to you. Learn more.
A
Alex Chen