Skip to content

Guide · Agent skill

How to use the leader agent skill: turn ideas into agent briefs

Updated · written with AI from the project's own documentation and checked against our catalogue data

The leader skill, from the KKKKhazix/khazix-skills collection (MIT licence), turns a one-sentence idea into a detailed task brief that a separate AI agent can carry out on its own. It is for developers running multi-step projects unattended, and for non-experts who know what they want but not how to specify it for an agent. After this guide you will know how to install the skill, how to ask for a brief in natural language, and how to check the result the agent reports back.

Leader: Turn Ideas into Agent BriefsKKKKhazix/khazix-skills · MIT

Quick start

  1. 1Download and unzip the skill. Download the ZIP file from this page and unzip it to get the leader skill folder.
  2. 2Place it in your skills folder. Put the folder in ~/.claude/skills/ for all projects, or in the project's .claude/skills/ folder for one project. In the Claude apps, upload the ZIP under Settings, then Capabilities, then Skills.
  3. 3Ask for a brief in plain language. Describe your idea in one sentence and use a phrase such as write a goal prompt or write a brief for an agent.
  4. 4Answer the skill's questions. Reply to at most five questions the skill asks, or accept its defaults, which it lists for you to review.
  5. 5Paste the brief into goal mode. In the agent that will do the work, type /goal, then paste the whole brief as a single message.
  6. 6Verify the result. When the agent finishes, return to the skill so it re-runs the checks and reports in plain language what passed and what is left.

What the leader skill makes the agent do

You describe a goal in one sentence. The skill first inspects your code repository and runs real commands to check the facts, then searches the web if it needs outside information. It asks you at most five focused questions, and then writes a brief of at most 4000 characters.

The brief is written to be pasted straight into goal mode of a separate agent. That agent works through the project without you present. The brief also plans how you will check the result afterwards, including anti-cheating checks, progress notes so work can resume after an interruption, and a rule for splitting a large job across several agents in parallel.

  • Tasks that change code get a brief with verifiable completion conditions.
  • Exploratory tasks such as research, choosing a tool, or finding an approach are routed to a different brief format automatically.
  • The skill is not meant to replace your review of the result.

How to install the leader skill

Download the ZIP file from this page and unzip it. Then put the skill folder in one of two places, depending on how you use Claude.

For Claude Code, place it in your user folder at ~/.claude/skills/, or inside a single project at that project's .claude/skills/ folder. In the Claude apps, you can instead upload the ZIP under Settings, then Capabilities, then Skills.

  • Personal use across all projects: ~/.claude/skills/
  • One project only: the .claude/skills/ folder inside that project
  • Claude apps: Settings → Capabilities → Skills, then upload the ZIP

How to trigger the skill with natural requests

You do not need a special command. Ask in plain language, and the skill activates on requests that match its description. The skill's description lists these example phrases, which are in Chinese in the source:

  • 帮我给 agent 写个目标 (help me write a goal for an agent)
  • 帮我详细拆一下这个目标 (help me break this goal down in detail)
  • 写个任务书/brief 给 agent (write a task brief for an agent)
  • 写个 goal 提示词 (write a goal prompt)
  • 让 agent 自己跑这个项目 (let an agent run this project by itself)
  • 把活分给几个 agent 并行 (split the work across several agents in parallel)

Example workflow from idea to finished result

First, ask for a brief using one of the phrases above and describe your idea in a sentence. Answer the questions the skill asks, which are limited to five and are chosen because they cannot be found out by research and would change the brief. If you do not answer one, the skill proceeds with a default and lists that default in the brief under a section where you can review it.

Second, open the agent that will do the work and type /goal followed by a space. Paste the whole brief that the skill produced. There is no separate input box for the command, and tools without goal mode can take the pasted brief directly.

Third, when the agent finishes, return and tell the skill. It then re-runs the verification commands in the brief and gives you a short plain-language report covering whether it passed, what was done, open issues, and next steps.

  • Before pasting, skim the section that lists the decisions made on your behalf, and the two hard completion conditions at the end.
  • Do not send a second /goal command for the same job; the skill is designed for one goal and one paste.
/goal

What the skill needs and its safety notes

The skill needs Claude Code or another agent that has a goal mode (the /goal command), or any agent you can paste the brief into. It also needs access to the target code repository so it can run real commands to check claims and verify results. The skill runs no scripts of its own, but it does use the network, for example to search for background information.

The skill itself warns that agents can misreport results or game tests. A common example is making a failing test pass by skipping it or weakening its assertions instead of fixing the code. The brief names these tricks and sets a baseline so they count as failures. You should still verify the results yourself before relying on them.

  • Requires: Claude Code or another agent with goal mode, and access to the repository
  • Runs scripts: no
  • Uses network: yes
  • Do not use the brief without human review of the results

Tips for getting good briefs

Give the skill a real repository to inspect. It checks whether documented commands exist, what the baseline numbers are, and where the documentation differs from reality, so a brief written without that check is weaker.

Keep one job per brief. If the brief would exceed the 4000-character limit, the job is too big and should be split into separate pieces, each given to an agent in its own paste.

Only ask for parallel agents when you are ready to answer the questions up front, because the skill asks for that decision in its first round of questions.

  • Describe the outcome you want, not the method, and the skill will turn the outcome into numbers.
  • If a task cannot be checked by a command, expect the skill to mark it as something that needs a person to check it.
  • Read the progress file the agent writes if work is interrupted, rather than starting over.

What people use it for

  • Asking an agent to run a multi-step refactor of a codebase unattended, with completion checked by test commands.
  • Turning a vague product idea into a precise, checkable specification before handing it to a coding agent.
  • Splitting a large job across several parallel agents, each with a clearly marked area of the code it may change.
  • Having the skill research and choose an approach for a problem, using the exploratory brief format.

Frequently asked questions

Is the leader skill free and under what licence?

The skill is published under the MIT licence in the KKKKhazix/khazix-skills repository. The source on this page does not list any price, so check the repository for current terms.

What do I need to use the leader skill?

You need Claude Code or another agent with a goal mode (the /goal command), or a way to paste the brief directly. You also need access to the target code repository so the skill can run real verification commands.

How do I install the leader skill in Claude Code?

Download the ZIP from this page and unzip it into ~/.claude/skills/ for all projects, or into a project's .claude/skills/ folder for one project. In the Claude apps, upload the ZIP under Settings, then Capabilities, then Skills.

Does the leader skill run scripts or use the internet?

According to the skill's own notes, it runs no scripts but does use the network, for example to search the web when it needs background information. Its brief is meant to be verified by you afterwards.

Can the leader skill make the agent cheat its tests?

The skill warns that agents can game tests, such as skipping them or weakening assertions. The brief names these tricks, sets a baseline that cannot drop, and freezes the grading criteria, but you should still verify the results yourself.

How is the leader skill different from just writing a prompt?

Instead of a loose prompt, it first inspects your repository, asks up to five questions, and produces a brief of at most 4000 characters with verification commands, progress notes for resuming work, and rules against cheating. It is designed for agents that run unattended.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

Use the leader skill if you want an agent to run a multi-step project with little supervision and you need a brief that can be checked with commands. Skip it for quick questions or small edits, where the brief overhead is not worth it, and for tasks that have no way to verify success. Anyone using its briefs should still review the results, since the skill itself notes that agents can misreport or game tests.

Download the skill