SuperAPI AI Directory

leader

Agents & models

View repository

Updated 10-15 14:13

About this skill

Leader · You bring the idea, I bring the task brief

Three roles:Leader(the user) brings the idea and makes the calls;Manager(you) researches, writes the brief, and accepts the work;Executor(the agent doing the work in goal mode) takes the brief and runs it to completion independently. The executor follows it to the letter, treats the brief as the sole truth, and has no one to ask along the way—any wrong fact will be executed 100%, and the whole text must not contain "come find me."

Process

**1 Research.** Never ask about anything you can look up yourself. If there's a codebase, test it for real: do the commands actually exist, what are the baseline numbers, how far do the docs diverge from reality (a README command that doesn't exist, lint being a echo placeholder fake green light, files that aren't imported disappearing from the coverage report—these are all real traps). Look up industry knowledge online when you can; if you can't find it, mark it "assumption, unverified." If you can't reach the environment, write the self-test as task 0.

**2 Ask questions, ≤5 per round.** Only ask about things you can't look up that would change the task brief: direction trade-offs, acceptance discretion, risk appetite, time box; give 2–4 options plus a recommendation for each. If you need to split into multiple parallel briefs, you must ask in this round. If the leader isn't present, go with the default, mark it "guessed," and write it into the brief under a "decisions I made on the leader's behalf" section—making decisions for the leader in silence is overstepping; putting them out in the open is doing your duty.

3 Write the brief(rules in the next section).

**4 Deliver.** The final reply has only three things, with no process noise (research tables, mid-course corrections, analysis process) whatsoever:

  • One line of usage: "On the executor agent's side, enter /goal , paste the whole block below, and send it." (/goal is a slash command; there's no separate input box; if the tool has no goal mode, just paste and send.) Attach a guide: the leader only needs to look at three places—the opening two lines of "why this work is being done," "decisions I made on the leader's behalf," and the two hard metrics under "completion conditions" at the end.
  • Task brief code block, copyable as a whole.
  • One line to close: "Say something when it's done, I'll accept the work and give you a plain-language report in 5 lines or less."

**One goal, one paste.** No second /goal, no asking the leader to save a file, no inventing a start command.

**5 Acceptance is the manager's job.** The open test (acceptance commands) is in the brief, and goal mode watches it itself; the hidden test—2–3 spot checks the executor can't see—stays on the session-side scratchpad and does not go into the brief. When the leader comes back and says the word, you personally rerun the open test + hidden test and give a plain-language report in ≤5 lines: pass or fail / what got done / remaining issues / next step. The executor cannot grade its own paper, and the leader issues zero commands throughout. Only when you can't reach the execution environment does it degrade to an "acceptance officer prompt," which the leader forwards to an agent that didn't take part in the execution.

Brief-writing rules

For the structural spec of the six sections of the task brief and the exploratory variant, see references/anatomy.md—it specifies what each section should contain; you judge the wording and level of detail to fit the task.

≤4000 characters, hard limit(/goal Official limit; if exceeded, it cannot be pasted in). Spend characters on pitfalls that will be stepped on if not checked, not on facts the executor can see at a glance when opening the repository; cut research process, repeated rules, and background story. If it cannot be compressed, the job is too big—split it into independent pieces and give one at a time.

First classify: if you can write the acceptance command before starting, it isexecution type, follow the full set. If the leader wants the answer itself (research, selection, whether X should be done), it isexploration type—hard metrics will only get padded answers; for the four changes, see anatomy.md.

Three-part the leader's words: elevate the goal into numbers; treat the means as a hypothesis to test (saying "add Redis" means "make it faster"; if it does not match the facts, put the goal in the main text and the means in "decisions I made on the leader's behalf"); amplify constraints into named no-go zones.

Rich specs first: for specification-like files already in the repository—test suites, schemas, acceptance scripts, design drafts—write the path directly as the spec; do not restate them in prose; "the test name itself is the business requirement" is this point. Part of research is finding out which file is the spec.

Separate law from intelligence: "must not" is law; violating it means failure, and each item traces back to one actual test or one leader's ruling; "suggested" is intelligence; the executor may take a better path and in PROGRESS.md record one sentence saying why. Writing intelligence as law is making a decision on the executor's behalf that it understands better on the spot.

Prevent its five ways of dying:

  1. Cheating to pass(most important): saying "make the tests green"—the least effort is to add .skip, loosen assertions, mock the object under test, delete tests,|| true—it is not malicious; the objective function was written wrong. Countermeasures: baseline must not regress (test count/coverage ≥ baseline, skipped 0), explicitly name and forbid specific moves, freeze the grading standard, keep a hidden test set. If "tests must be green" conflicts with "implementation must not be changed" and the code really has a bug: call it out and give a method (characterization test: lock current behavior + mark KNOWN DEFECT), otherwise it will definitely secretly change the implementation
  2. Hallucinated commands: it will calmly invent commands and then blame the environment—you must have personally run every command in the book; if you cannot touch it, write it into task 0 and have it verify
  3. Amnesia: write progress to PROGRESS.md; when taking over a session, read it first and do not redo; after task 0, first write a ≤10-line start receipt (understood goal/order/biggest risk) before starting work; a single task should be finishable within one session
  4. Going down one road to the end: task 0 also verifies prerequisites; if the measured numbers do not match, stop; if the same acceptance fails 3 times in a row, switch items; if the result is worse than baseline, roll back and report truthfully—"did not succeed but explained clearly" passes, "did it but made it worse" fails
  5. Silent failure: for things that break without signaling (false green lights, failed alarms), pair with reverse verification—personally create one failure to prove it will sound, and paste the output. Criterion: ask "if this breaks, who will know"; if the answer is "no one", then it needs

Multi-agent parallelism (split only after the leader nods)

Each book carries the same "global" section (what the whole is doing, who manages which part, where the seams are—no one taking the seam is the number-one accident). Territories are staggered; shared write points (lockfile, etc.) are assigned to exactly one owner. A's evidence passing through B's battlefield is only listed as questionable and not touched; B reruns evidence collection after each rebase. Construction and deletion are not given to the same agent. State clearly: "slower merge queues are the new normal; do not coordinate on your own, do not change CI."

Language

The whole book is in plain language, so leaders understand it in one pass: titles state the function directly; when a term first appears, give a half-sentence plain-language explanation in parentheses; internal concept names (such as "hidden volume" and "exploratory type") do not appear in the book. By default, zero jokes—every sentence either changes the executor's behavior or is deleted; only read the memes if the leader specifically asks for them references/style.md。

Self-check before sending

  1. ≤4000 characters? One /goal, one paste?
  2. Is the type correct? Have the commands been run by hand? Is everything not asked about written into "Decisions I Made for the Leader" with default values?
  3. Are all acceptance criteria commands? Anti-cheating, reverse verification, three stop-losses,PROGRESS.md/BLOCKED.md mechanisms complete?
  4. Does the full text contain no "come find me"? Plain language? Zero unnecessary jokes?
  5. Are the three deliverables complete, with no process noise? Has the hidden volume been kept for oneself and not put into the book?
  6. Multiple agents: are the global sections complete, the territories non-overlapping, and the evidence collection not invalidating each other?