[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EJCJT8HN4RB8BGVHTM1WCJ":3,"skill-same:01M7EJCJT8HN4RB8BGVHTM1WCJ":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":14,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M7EJCJT8HN4RB8BGVHTM1WCJ","do-better",null,"Make 100 versions of the assistant fight to the death over one task. Spins up N sub-agents (default 100, --quick for 16), gives every one the exact same task plus a different strategy card (reasoning mode, workflow, strategy), then runs a single-elimination bracket: they attack each other's solutions, defend and revise, and a judge scores every match on a written rubric until one solution survives. Use when the user is not satisfied with an answer, calls it a bad answer, says try again or do better, says \"arena\", or asks to make them compete. Not for stress-testing a decision or plan before building it (use crash-test).","arm-pz\u002Fcaffeinity-skills","arm-pz","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F29532099?v=4","01M7EJ726AAB9GD0C5C5G9NJEG","Abdul Rahman","01M7EJ726X4ZD3R4ESGX90K47M",0,"MIT","https:\u002F\u002Fgithub.com\u002Farm-pz\u002Fcaffeinity-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fcaffeinity\u002Fskills\u002Fdo-better\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: do-better\ndescription: >-\n  Make 100 versions of the assistant fight to the death over one task. Spins up\n  N sub-agents (default 100, --quick for 16), gives every one the exact same\n  task plus a different strategy card (reasoning mode, workflow, strategy), then\n  runs a single-elimination bracket: they attack each other's solutions, defend\n  and revise, and a judge scores every match on a written rubric until one\n  solution survives. Use when the user is not satisfied with an answer, calls it\n  a bad answer, says try again or do better, says \"arena\", or asks to make them\n  compete. Not for stress-testing a decision or plan before building it (use\n  crash-test).\nversion: 1.0.0\nargument-hint: \"[--agents N | --quick] [--seed S] \u003Ctask>\"\n---\n\n# do better\n\nFor when the model keeps giving a bad answer. Instead of asking again and again, this runs a tournament:\nN sub-agents get the exact same task, each attacks it with a different reasoning mode, workflow and\nstrategy, and then they attack each other in a bracket until one solution is left. You are the\norchestrator. You never compete and you never judge.\n\nWhat the user typed after `\u002Fdo-better` is passed to this skill as `ARGUMENTS` (shown at the end of\nthese instructions when the skill is loaded).\n\nIf that is blank, or still reads like a placeholder, nothing was passed: take the task from the\nconversation.\n\n## The tool\n\nEvery piece of bookkeeping goes through `bracket.py` in this skill's folder:\n\n```bash\npython \"\u003Cskill-dir>\u002Fbracket.py\" \u003Ccommand>\n```\n\n`\u003Cskill-dir>` is the folder this SKILL.md lives in (the base directory the CLI reports for this\nskill; installed at user level it is `~\u002F.qoder\u002Fskills\u002Fdo-better`). Below, `DO-BETTER` means exactly that\ncommand. `bracket.py` prints its own follow-up commands with the right interpreter and absolute\npath, so once `init` has run, copy the commands it emits verbatim. The state lives in\n`.dobetter\u002F\u003Crun>\u002Fdobetter.json` in the current directory, and every command after `init` finds it through\n`.dobetter\u002FLATEST`.\n\n## Step 1: size it, and get a yes if nobody asked for it\n\nRead the flags out of the request. Everything that is not a flag is the task.\n\n| flag | meaning |\n| --- | --- |\n| `--agents N` | N competitors. Default 100. |\n| `--quick` | 16 competitors. The everyday setting. |\n| `--seed S` | Fixes the cards and the pairings. Default: random, and recorded. |\n| `--wave W` | Sub-agents per wave. Default 10. Only raise it if the user raised the CLI's sub-agent concurrency. |\n\nNo task text at all means: the task is the user's most recent request in this conversation, and your\nlast answer to it is the baseline to beat.\n\nRun `DO-BETTER plan --agents N` (or `--quick`). It prints the rounds, the sub-agent calls and the waves.\n\n- **The user asked for the tournament** (typed `\u002Fdo-better`, said \"arena\", or asked to make them compete):\n  tell them in one line how big it is, for example \"100 agents, 7 rounds, 595 sub-agent calls\", and\n  start.\n- **This skill fired because the user is unhappy** (\"that's wrong\", \"try again\", \"bad answer\") and\n  never mentioned the tournament: ask once before spending anything. Offer three options: the full tournament\n  (100 agents, 595 sub-agent calls), `--quick` (16 agents, 91 calls), or an ordinary retry. Wait for\n  the answer.\n\nSub-agents write their work into `.dobetter\u002F` in the current directory. In the default permission mode\nthat is one approval per file, which is hundreds on a big run. Before the spawn phase, suggest a\npermission mode that accepts edits automatically (e.g. acceptEdits) for the run. Do not change the\nuser's settings yourself.\n\n## Step 2: write the task file\n\nThis is the step that decides the result. **Sub-agents cannot see this conversation.** Every\ncompetitor, attacker and judge knows only what is in the task file, so write `.dobetter\u002Ftask.md` to stand\non its own:\n\n- The request, in the user's own words where you can.\n- Every requirement and constraint the user stated anywhere in the conversation: audience, length,\n  format, tone, stack, deadline, what must not change.\n- The context a stranger would need: absolute paths of the files that matter, pasted data, what the\n  product is, the conventions in the codebase.\n- What \"done\" looks like, if the user said.\n- If there is an answer to beat: what the user disliked about it, in their words.\n\nDo not add requirements the user never gave. Do not write your own view of the right answer into it:\nthat pushes 100 agents the same way, which is the opposite of the point.\n\nIf there is an earlier answer the user was not satisfied with, write it word for word to\n`.dobetter\u002Fbaseline.md`.\n\n## Step 3: init\n\n```bash\nDO-BETTER init --agents N --seed S --task-file .dobetter\u002Ftask.md --baseline-file .dobetter\u002Fbaseline.md\n```\n\nLeave out `--baseline-file` when there is nothing to beat, and `--seed` to get a random one. `init`\ncopies the task into the run folder, deals every competitor a different strategy card with no\nrepeats, pairs round 1, and writes `dobetter.json`.\n\n## Step 4: the loop\n\nAlways drive it with `DO-BETTER next`. It reads the state on disk and tells you the next step and the\nexact command.\n\nEvery phase that runs sub-agents works the same way:\n\n1. `DO-BETTER prompts \u003Cphase>` writes one brief per job and lists the jobs still to run, in waves.\n2. Launch **one wave at a time**: a single message with one Agent tool call per job in that wave.\n   Each call is:\n   - `subagent_type`: `general-purpose`\n   - `description`: `do-better \u003Cjob id>`\n   - `prompt`: `Read \u003Cprompt path> and follow it exactly. It is your whole brief.`\n   - `run_in_background`: false, where the tool has that option, so the wave comes back together.\n\n   Wait until every agent in the wave has replied before you launch the next wave.\n3. After the last wave, run `DO-BETTER next`. If an output is missing it sends you back to the same\n   phase, and `prompts` then lists only the missing jobs. Re-run those once. If a job fails twice,\n   write the single line `NO OUTPUT` into each of its output files (`DO-BETTER check \u003Cphase>` lists\n   them) and move on. A missing attack counts as no attacks. A missing solution loses its match. A\n   judge that fails twice gets a third, fresh run: never decide a match yourself.\n\nThe order `next` takes you through:\n\n- **spawn**, once: every competitor writes its own solution to the task.\n- then every round: **attack** (two per match) → **defend** (two per match) → **judge** (one per\n  match) → `DO-BETTER collect` → `DO-BETTER advance`.\n- **final**, once, only when there is a baseline: a judge compares the champion with the answer the\n  user rejected, blind to which is which. Then `DO-BETTER collect`.\n- `next` prints DONE: go to step 5.\n\nAfter each `advance`, give the user one line, such as \"Round 2 done: 25 of 100 left.\" Nothing more.\nNever paste pairings, attacks, verdicts or solutions into the chat.\n\nWhy waves: the CLI runs at most about 10 sub-agent calls at once by default. So a 100-agent spawn is\n10 waves of 10, and a 100-agent tournament is 70 waves in total, 71 with the final check.\n\n## Step 5: the result\n\nRun `DO-BETTER winner`, then read the champion's solution file at the path it prints. That is the only\nsolution file you read in the whole run. Give the user:\n\n1. **The winning solution**, in full.\n2. **Why it won**: the attacks it survived, from `winner`, as a short list. Its card on one line\n   (reasoning mode + workflow + strategy).\n3. **Rounds**: for example \"7 rounds, 100 agents in, 1 left.\"\n4. **Against the answer you rejected**, if there was one: the final check's scores, honestly. If the\n   old answer scored higher, say so plainly and show both.\n5. Where the full record lives: the run folder.\n\nIf the solution changes files in the user's project, do not apply it. Ask: apply it, or change it?\n\n## Rules for the orchestrator\n\n- You run the tournament. You do not compete, attack or judge, and you never pick a winner.\n  `collect` records what the judges decided. `record` is only for fixing bookkeeping when the user\n  asks you to.\n- Every sub-agent gets the task through its brief, which `prompts` builds from the one task file,\n  byte for byte the same for everyone. Never paraphrase the task for one agent or add a hint to one\n  agent's call.\n- Do not read solutions, attacks or verdicts during the run. There are hundreds of them. The state\n  is on disk, and `next`, `status` and `pairings` are all you need.\n- If your context gets compacted mid-run, nothing is lost. Run `DO-BETTER status`, then `DO-BETTER next`,\n  and carry on.\n- Run every `DO-BETTER` command from the directory you ran `init` in. That is where `.dobetter\u002FLATEST`\n  lives.\n- Sub-agents only write inside `.dobetter\u002F`. If one wrote anywhere else, tell the user.\n- If the user says stop, stop. `DO-BETTER status` shows where it got to, and `DO-BETTER next` resumes it\n  later.\n\n## The prompt templates\n\n`bracket.py` fills these in (the `{{placeholders}}`) and writes one brief per job, so what you see\nhere is exactly what every sub-agent is told. Never edit a brief for a single agent.\n\n### Competitor, in the spawn phase\n\n\u003C!-- template:competitor -->\n```text\nYou are competitor {{agent}} in a tournament of {{n}}. All {{n}} competitors got the exact same task, word for word. The only thing that makes you different is the strategy card below: it decides how you attack the task. Your solution will be attacked by other competitors and scored by a judge, round after round, until one solution is left.\n\n=== THE TASK (identical for every competitor) ===\n{{task}}\n=== END OF THE TASK ===\n\n{{baseline_note}}\n\n=== YOUR STRATEGY CARD ===\nReasoning mode: {{reasoning_name}}. {{reasoning_how}}\nWorkflow: {{workflow_name}}. {{workflow_how}}\nStrategy: {{strategy_name}}. {{strategy_how}}\n=== END OF THE CARD ===\n\nHow to work:\n1. Use the card for real. Think in the reasoning mode, go through the workflow's steps in order, and let the strategy settle every trade-off. A generic answer with the card's name on top will lose.\n2. Meet every requirement the task states. The judge scores you against the task, not against your card.\n3. You cannot ask the user anything. Where the task is ambiguous, take the most reasonable reading and state it in a short Assumptions section.\n4. Expect attacks: concrete flaws, counterexamples, missed requirements. Close those holes before you submit.\n5. Do not create, edit or delete anything outside {{run_dir}}. Read whatever the task points to. If the task is about code, put the exact changes in your solution (full files or a unified diff) instead of applying them. If your workflow needs scratch space, use {{run_dir}}\u002Fscratch\u002F{{agent}}\u002F.\n\nWrite your solution to {{out}}: the solution itself, written for the person who asked. Leave out your drafts and your working. Keep a checklist, tests or trade-off notes only where they help that person use the answer. Say nothing about the tournament, your card or your competitor number: the judges score the work blind.\n\nWhen the file is written, reply with this one line and nothing else:\nDONE {{agent}} \u003Cnumber of words in your solution>\n```\n\u003C!-- \u002Ftemplate:competitor -->\n\n### Attacker, in every round\n\n\u003C!-- template:attacker -->\n```text\nYou are competitor {{agent}} in round {{round}} of a tournament, match {{match}}. Your opponent is {{target}}. Only one of you gets out of this match. Right now your job is to attack your opponent's solution.\n\n=== THE TASK (identical for every competitor) ===\n{{task}}\n=== END OF THE TASK ===\n\nYour strategy card is the lens you look for flaws through:\nReasoning mode: {{reasoning_name}}. {{reasoning_how}}\nWorkflow: {{workflow_name}}. {{workflow_how}}\nStrategy: {{strategy_name}}. {{strategy_how}}\n\nRead your opponent's solution: {{target_solution}}\nYou may read your own for comparison: {{own_solution}}. Attack theirs on its merits against the task, not for being different from yours.\n\nFind the real problems:\n- WRONG: factual errors, logic errors, bugs, false claims.\n- MISSING: a requirement the task states that it skips or only half meets. Quote the requirement.\n- BREAKS: a concrete input, scenario or edge case where it fails. Give the exact counterexample.\n- VAGUE: a place where the user could not act on it without guessing.\n\nRules:\n- Every attack must be specific and checkable: point at the exact part, say what is wrong and why.\n- No praise, no summary, and no style nitpicks unless they stop the user from using it.\n- Do not invent requirements the task does not state. Do not attack the approach, only what it gets wrong.\n- At most 7 attacks, strongest first. If you only find 2 real ones, write 2.\n- Label each FATAL (wrong or unusable for the task), MAJOR (a real gap) or MINOR.\n- Do not create, edit or delete any file except the one below.\n\nWrite the attacks to {{out}} in this format:\nATTACK 1 [FATAL|MAJOR|MINOR] \u003Cone-line title>\nWhere: \u003Cquote or location>\nProblem: \u003Cwhat is wrong, with the counterexample or the missed requirement>\n(and the same for each attack after that)\n\nWhen the file is written, reply with this one line and nothing else:\nATTACKED {{target}} \u003Cnumber of attacks> (\u003Cnumber that are FATAL> fatal)\n```\n\u003C!-- \u002Ftemplate:attacker -->\n\n### Defender, in every round\n\n\u003C!-- template:defender -->\n```text\nYou are competitor {{agent}} in round {{round}} of a tournament, match {{match}}. Your opponent {{attacker}} has attacked your solution. Now you defend it and revise it. A judge will score your revised solution against your opponent's, including how well each of you dealt with the attacks you took.\n\n=== THE TASK (identical for every competitor) ===\n{{task}}\n=== END OF THE TASK ===\n\nYour strategy card. Keep your approach: it is why you are still here.\nReasoning mode: {{reasoning_name}}. {{reasoning_how}}\nWorkflow: {{workflow_name}}. {{workflow_how}}\nStrategy: {{strategy_name}}. {{strategy_how}}\n\nYour current solution: {{own_solution}}\nThe attacks against it: {{attacks}}\n\nDo this:\n1. Take every attack in turn and decide honestly. CONCEDE if it is right, and fix it. REBUT if it is wrong, and show why with evidence from the task, your solution or a concrete check. A rebuttal that only insists you are right counts as a concession. Conceding a real flaw and fixing it scores better than defending it.\n2. Write your revised solution: the complete solution, standalone, with every conceded point fixed. The judge reads only this file, so never write \"see the previous version\". Say nothing about the tournament or your card.\n3. Fix what was attacked and anything the attacks made you notice. Do not start again from scratch and do not copy your opponent.\n4. If the attacks file is empty or says NO OUTPUT, you were not attacked: write NO ATTACKS RECEIVED as your defense, and resubmit your solution with only the fixes you know it needs.\n5. Do not create, edit or delete anything outside {{run_dir}}.\n\nWrite your point-by-point defense to {{defense_out}} in this format:\nATTACK 1: CONCEDE|REBUT. \u003Cone to three lines>\n(one entry per attack)\n\nWrite your revised solution to {{solution_out}}.\n\nWhen both files are written, reply with this one line and nothing else:\nDEFENDED {{agent}} conceded \u003Cn> rebutted \u003Cn>\n```\n\u003C!-- \u002Ftemplate:defender -->\n\n### Judge, one per match\n\n\u003C!-- template:judge -->\n```text\nYou are the judge of match {{match}}, round {{round}}, in a tournament. Two solutions to the same task have fought: each attacked the other, then defended and revised its own. Score both against the rubric. The one with the higher score goes through and the other is eliminated.\n\n=== THE TASK (identical for every competitor) ===\n{{task}}\n=== END OF THE TASK ===\n\nRead the rubric first: {{rubric}}\n\nSolution {{first}}\n- revised solution: {{first_solution}}\n- attacks it received: {{first_attacks}}\n- its defense: {{first_defense}}\n\nSolution {{second}}\n- revised solution: {{second_solution}}\n- attacks it received: {{second_attacks}}\n- its defense: {{second_defense}}\n\nHow to judge:\n1. Read both revised solutions in full before you score either one.\n2. For every attack, check the revised solution yourself and call it FIXED, REBUTTED (only if the rebuttal is actually right) or STANDING. A defense that says \"fixed\" is not proof. Look.\n3. Look for flaws the attackers missed, too.\n4. Score each criterion from 0 to 10 using the rubric's anchors. Set fatal to true only for a flaw you have verified that makes the solution wrong or unusable for the task.\n5. The winner is the higher weighted total (the weights are in the rubric). A fatal solution cannot beat one that is not fatal. On an exact tie, fewer standing attacks wins, then higher correctness.\n6. Judge the work, not the writing about the work. Length is not quality. You do not know either competitor's strategy and should not guess it.\n7. Do not create, edit or delete any file except the verdict. If the task is code and running something settles an attack, do it only inside {{run_dir}}\u002Fscratch\u002Fjudge-{{match}}\u002F, never in the user's project.\n\nWrite this JSON, and nothing else, to {{out}}:\n{\n  \"match\": \"{{match}}\",\n  \"scores\": {\n    \"{{first}}\": {\"correctness\": 0, \"completeness\": 0, \"specificity\": 0, \"robustness\": 0, \"clarity\": 0, \"fatal\": false},\n    \"{{second}}\": {\"correctness\": 0, \"completeness\": 0, \"specificity\": 0, \"robustness\": 0, \"clarity\": 0, \"fatal\": false}\n  },\n  \"winner\": \"{{first}} or {{second}}\",\n  \"reason\": \"one sentence: the decisive difference\",\n  \"survived\": [\"each attack the winner took and beat, in a few words\"],\n  \"standing\": {\"{{first}}\": [\"attacks still standing\"], \"{{second}}\": [\"attacks still standing\"]}\n}\n\nWhen the file is written, reply with this one line and nothing else:\nWINNER \u003Cwinner id> \u003Cwinner total>-\u003Closer total>\n```\n\u003C!-- \u002Ftemplate:judge -->\n\n### Final check, only when there is an answer to beat\n\n\u003C!-- template:final -->\n```text\nYou are the final check in a tournament. {{n}} competitors fought over one task and a single solution survived {{rounds}} rounds. Before it goes back to the user, it is compared with the answer the user already rejected. You are not told which of the two is which. Score what is in front of you. Either one can win.\n\n=== THE TASK ===\n{{task}}\n=== END OF THE TASK ===\n\nRead the rubric first: {{rubric}}\n\nSolution X: {{x_solution}}\nSolution Y: {{y_solution}}\n\nHow to judge:\n1. Read both in full before you score either.\n2. Attack both yourself: find the strongest concrete flaws in each, the way a hostile expert would. For the robustness score, judge how well each one holds up against those attacks.\n3. Score each criterion from 0 to 10 using the rubric's anchors. Set fatal to true only for a flaw you have verified that makes a solution wrong or unusable for the task.\n4. The winner is the higher weighted total. A fatal solution cannot beat one that is not fatal.\n5. Judge the work, not the writing about the work. Length is not quality.\n6. Do not create, edit or delete any file except the verdict.\n\nWrite this JSON, and nothing else, to {{out}}:\n{\n  \"scores\": {\n    \"X\": {\"correctness\": 0, \"completeness\": 0, \"specificity\": 0, \"robustness\": 0, \"clarity\": 0, \"fatal\": false},\n    \"Y\": {\"correctness\": 0, \"completeness\": 0, \"specificity\": 0, \"robustness\": 0, \"clarity\": 0, \"fatal\": false}\n  },\n  \"winner\": \"X or Y\",\n  \"reason\": \"one sentence: the decisive difference\",\n  \"fixed\": [\"each thing the winner gets right that the other gets wrong, in a few words\"]\n}\n\nWhen the file is written, reply with this one line and nothing else:\nFINAL \u003CX or Y> \u003CX total>-\u003CY total>\n```\n\u003C!-- \u002Ftemplate:final -->\n","# do better\n\nFor when the model keeps giving a bad answer. Instead of asking again and again, this runs a tournament:\nN sub-agents get the exact same task, each attacks it with a different reasoning mode, workflow and\nstrategy, and then they attack each other in a bracket until one solution is left. You are the\norchestrator. You never compete and you never judge.\n\nWhat the user typed after `\u002Fdo-better` is passed to this skill as `ARGUMENTS` (shown at the end of\nthese instructions when the skill is loaded).\n\nIf that is blank, or still reads like a placeholder, nothing was passed: take the task from the\nconversation.\n\n## The tool\n\nEvery piece of bookkeeping goes through `bracket.py` in this skill's folder:\n\n```bash\npython \"\u003Cskill-dir>\u002Fbracket.py\" \u003Ccommand>\n```\n\n`\u003Cskill-dir>` is the folder this SKILL.md lives in (the base directory the CLI reports for this\nskill; installed at user level it is `~\u002F.qoder\u002Fskills\u002Fdo-better`). Below, `DO-BETTER` means exactly that\ncommand. `bracket.py` prints its own follow-up commands with the right interpreter and absolute\npath, so once `init` has run, copy the commands it emits verbatim. The state lives in\n`.dobetter\u002F\u003Crun>\u002Fdobetter.json` in the current directory, and every command after `init` finds it through\n`.dobetter\u002FLATEST`.\n\n## Step 1: size it, and get a yes if nobody asked for it\n\nRead the flags out of the request. Everything that is not a flag is the task.\n\n| flag | meaning |\n| --- | --- |\n| `--agents N` | N competitors. Default 100. |\n| `--quick` | 16 competitors. The everyday setting. |\n| `--seed S` | Fixes the cards and the pairings. Default: random, and recorded. |\n| `--wave W` | Sub-agents per wave. Default 10. Only raise it if the user raised the CLI's sub-agent concurrency. |\n\nNo task text at all means: the task is the user's most recent request in this conversation, and your\nlast answer to it is the baseline to beat.\n\nRun `DO-BETTER plan --agents N` (or `--quick`). It prints the rounds, the sub-agent calls and the waves.\n\n- **The user asked for the tournament** (typed `\u002Fdo-better`, said \"arena\", or asked to make them compete):\n  tell them in one line how big it is, for example \"100 agents, 7 rounds, 595 sub-agent calls\", and\n  start.\n- **This skill fired because the user is unhappy** (\"that's wrong\", \"try again\", \"bad answer\") and\n  never mentioned the tournament: ask once before spending anything. Offer three options: the full tournament\n  (100 agents, 595 sub-agent calls), `--quick` (16 agents, 91 calls), or an ordinary retry. Wait for\n  the answer.\n\nSub-agents write their work into `.dobetter\u002F` in the current directory. In the default permission mode\nthat is one approval per file, which is hundreds on a big run. Before the spawn phase, suggest a\npermission mode that accepts edits automatically (e.g. acceptEdits) for the run. Do not change the\nuser's settings yourself.\n\n## Step 2: write the task file\n\nThis is the step that decides the result. **Sub-agents cannot see this conversation.** Every\ncompetitor, attacker and judge knows only what is in the task file, so write `.dobetter\u002Ftask.md` to stand\non its own:\n\n- The request, in the user's own words where you can.\n- Every requirement and constraint the user stated anywhere in the conversation: audience, length,\n  format, tone, stack, deadline, what must not change.\n- The context a stranger would need: absolute paths of the files that matter, pasted data, what the\n  product is, the conventions in the codebase.\n- What \"done\" looks like, if the user said.\n- If there is an answer to beat: what the user disliked about it, in their words.\n\nDo not add requirements the user never gave. Do not write your own view of the right answer into it:\nthat pushes 100 agents the same way, which is the opposite of the point.\n\nIf there is an earlier answer the user was not satisfied with, write it word for word to\n`.dobetter\u002Fbaseline.md`.\n\n## Step 3: init\n\n```bash\nDO-BETTER init --agents N --seed S --task-file .dobetter\u002Ftask.md --baseline-file .dobetter\u002Fbaseline.md\n```\n\nLeave out `--baseline-file` when there is nothing to beat, and `--seed` to get a random one. `init`\ncopies the task into the run folder, deals every competitor a different strategy card with no\nrepeats, pairs round 1, and writes `dobetter.json`.\n\n## Step 4: the loop\n\nAlways drive it with `DO-BETTER next`. It reads the state on disk and tells you the next step and the\nexact command.\n\nEvery phase that runs sub-agents works the same way:\n\n1. `DO-BETTER prompts \u003Cphase>` writes one brief per job and lists the jobs still to run, in waves.\n2. Launch **one wave at a time**: a single message with one Agent tool call per job in that wave.\n   Each call is:\n   - `subagent_type`: `general-purpose`\n   - `description`: `do-better \u003Cjob id>`\n   - `prompt`: `Read \u003Cprompt path> and follow it exactly. It is your whole brief.`\n   - `run_in_background`: false, where the tool has that option, so the wave comes back together.\n\n   Wait until every agent in the wave has replied before you launch the next wave.\n3. After the last wave, run `DO-BETTER next`. If an output is missing it sends you back to the same\n   phase, and `prompts` then lists only the missing jobs. Re-run those once. If a job fails twice,\n   write the single line `NO OUTPUT` into each of its output files (`DO-BETTER check \u003Cphase>` lists\n   them) and move on. A missing attack counts as no attacks. A missing solution loses its match. A\n   judge that fails twice gets a third, fresh run: never decide a match yourself.\n\nThe order `next` takes you through:\n\n- **spawn**, once: every competitor writes its own solution to the task.\n- then every round: **attack** (two per match) → **defend** (two per match) → **judge** (one per\n  match) → `DO-BETTER collect` → `DO-BETTER advance`.\n- **final**, once, only when there is a baseline: a judge compares the champion with the answer the\n  user rejected, blind to which is which. Then `DO-BETTER collect`.\n- `next` prints DONE: go to step 5.\n\nAfter each `advance`, give the user one line, such as \"Round 2 done: 25 of 100 left.\" Nothing more.\nNever paste pairings, attacks, verdicts or solutions into the chat.\n\nWhy waves: the CLI runs at most about 10 sub-agent calls at once by default. So a 100-agent spawn is\n10 waves of 10, and a 100-agent tournament is 70 waves in total, 71 with the final check.\n\n## Step 5: the result\n\nRun `DO-BETTER winner`, then read the champion's solution file at the path it prints. That is the only\nsolution file you read in the whole run. Give the user:\n\n1. **The winning solution**, in full.\n2. **Why it won**: the attacks it survived, from `winner`, as a short list. Its card on one line\n   (reasoning mode + workflow + strategy).\n3. **Rounds**: for example \"7 rounds, 100 agents in, 1 left.\"\n4. **Against the answer you rejected**, if there was one: the final check's scores, honestly. If the\n   old answer scored higher, say so plainly and show both.\n5. Where the full record lives: the run folder.\n\nIf the solution changes files in the user's project, do not apply it. Ask: apply it, or change it?\n\n## Rules for the orchestrator\n\n- You run the tournament. You do not compete, attack or judge, and you never pick a winner.\n  `collect` records what the judges decided. `record` is only for fixing bookkeeping when the user\n  asks you to.\n- Every sub-agent gets the task through its brief, which `prompts` builds from the one task file,\n  byte for byte the same for everyone. Never paraphrase the task for one agent or add a hint to one\n  agent's call.\n- Do not read solutions, attacks or verdicts during the run. There are hundreds of them. The state\n  is on disk, and `next`, `status` and `pairings` are all you need.\n- If your context gets compacted mid-run, nothing is lost. Run `DO-BETTER status`, then `DO-BETTER next`,\n  and carry on.\n- Run every `DO-BETTER` command from the directory you ran `init` in. That is where `.dobetter\u002FLATEST`\n  lives.\n- Sub-agents only write inside `.dobetter\u002F`. If one wrote anywhere else, tell the user.\n- If the user says stop, stop. `DO-BETTER status` shows where it got to, and `DO-BETTER next` resumes it\n  later.\n\n## The prompt templates\n\n`bracket.py` fills these in (the `{{placeholders}}`) and writes one brief per job, so what you see\nhere is exactly what every sub-agent is told. Never edit a brief for a single agent.\n\n### Competitor, in the spawn phase\n\n\u003C!-- template:competitor -->\n```text\nYou are competitor {{agent}} in a tournament of {{n}}. All {{n}} competitors got the exact same task, word for word. The only thing that makes you different is the strategy card below: it decides how you attack the task. Your solution will be attacked by other competitors and scored by a judge, round after round, until one solution is left.\n\n=== THE TASK (identical for every competitor) ===\n{{task}}\n=== END OF THE TASK ===\n\n{{baseline_note}}\n\n=== YOUR STRATEGY CARD ===\nReasoning mode: {{reasoning_name}}. {{reasoning_how}}\nWorkflow: {{workflow_name}}. {{workflow_how}}\nStrategy: {{strategy_name}}. {{strategy_how}}\n=== END OF THE CARD ===\n\nHow to work:\n1. Use the card for real. Think in the reasoning mode, go through the workflow's steps in order, and let the strategy settle every trade-off. A generic answer with the card's name on top will lose.\n2. Meet every requirement the task states. The judge scores you against the task, not against your card.\n3. You cannot ask the user anything. Where the task is ambiguous, take the most reasonable reading and state it in a short Assumptions section.\n4. Expect attacks: concrete flaws, counterexamples, missed requirements. Close those holes before you submit.\n5. Do not create, edit or delete anything outside {{run_dir}}. Read whatever the task points to. If the task is about code, put the exact changes in your solution (full files or a unified diff) instead of applying them. If your workflow needs scratch space, use {{run_dir}}\u002Fscratch\u002F{{agent}}\u002F.\n\nWrite your solution to {{out}}: the solution itself, written for the person who asked. Leave out your drafts and your working. Keep a checklist, tests or trade-off notes only where they help that person use the answer. Say nothing about the tournament, your card or your competitor number: the judges score the work blind.\n\nWhen the file is written, reply with this one line and nothing else:\nDONE {{agent}} \u003Cnumber of words in your solution>\n```\n\u003C!-- \u002Ftemplate:competitor -->\n\n### Attacker, in every round\n\n\u003C!-- template:attacker -->\n```text\nYou are competitor {{agent}} in round {{round}} of a tournament, match {{match}}. Your opponent is {{target}}. Only one of you gets out of this match. Right now your job is to attack your opponent's solution.\n\n=== THE TASK (identical for every competitor) ===\n{{task}}\n=== END OF THE TASK ===\n\nYour strategy card is the lens you look for flaws through:\nReasoning mode: {{reasoning_name}}. {{reasoning_how}}\nWorkflow: {{workflow_name}}. {{workflow_how}}\nStrategy: {{strategy_name}}. {{strategy_how}}\n\nRead your opponent's solution: {{target_solution}}\nYou may read your own for comparison: {{own_solution}}. Attack theirs on its merits against the task, not for being different from yours.\n\nFind the real problems:\n- WRONG: factual errors, logic errors, bugs, false claims.\n- MISSING: a requirement the task states that it skips or only half meets. Quote the requirement.\n- BREAKS: a concrete input, scenario or edge case where it fails. Give the exact counterexample.\n- VAGUE: a place where the user could not act on it without guessing.\n\nRules:\n- Every attack must be specific and checkable: point at the exact part, say what is wrong and why.\n- No praise, no summary, and no style nitpicks unless they stop the user from using it.\n- Do not invent requirements the task does not state. Do not attack the approach, only what it gets wrong.\n- At most 7 attacks, strongest first. If you only find 2 real ones, write 2.\n- Label each FATAL (wrong or unusable for the task), MAJOR (a real gap) or MINOR.\n- Do not create, edit or delete any file except the one below.\n\nWrite the attacks to {{out}} in this format:\nATTACK 1 [FATAL|MAJOR|MINOR] \u003Cone-line title>\nWhere: \u003Cquote or location>\nProblem: \u003Cwhat is wrong, with the counterexample or the missed requirement>\n(and the same for each attack after that)\n\nWhen the file is written, reply with this one line and nothing else:\nATTACKED {{target}} \u003Cnumber of attacks> (\u003Cnumber that are FATAL> fatal)\n```\n\u003C!-- \u002Ftemplate:attacker -->\n\n### Defender, in every round\n\n\u003C!-- template:defender -->\n```text\nYou are competitor {{agent}} in round {{round}} of a tournament, match {{match}}. Your opponent {{attacker}} has attacked your solution. Now you defend it and revise it. A judge will score your revised solution against your opponent's, including how well each of you dealt with the attacks you took.\n\n=== THE TASK (identical for every competitor) ===\n{{task}}\n=== END OF THE TASK ===\n\nYour strategy card. Keep your approach: it is why you are still here.\nReasoning mode: {{reasoning_name}}. {{reasoning_how}}\nWorkflow: {{workflow_name}}. {{workflow_how}}\nStrategy: {{strategy_name}}. {{strategy_how}}\n\nYour current solution: {{own_solution}}\nThe attacks against it: {{attacks}}\n\nDo this:\n1. Take every attack in turn and decide honestly. CONCEDE if it is right, and fix it. REBUT if it is wrong, and show why with evidence from the task, your solution or a concrete check. A rebuttal that only insists you are right counts as a concession. Conceding a real flaw and fixing it scores better than defending it.\n2. Write your revised solution: the complete solution, standalone, with every conceded point fixed. The judge reads only this file, so never write \"see the previous version\". Say nothing about the tournament or your card.\n3. Fix what was attacked and anything the attacks made you notice. Do not start again from scratch and do not copy your opponent.\n4. If the attacks file is empty or says NO OUTPUT, you were not attacked: write NO ATTACKS RECEIVED as your defense, and resubmit your solution with only the fixes you know it needs.\n5. Do not create, edit or delete anything outside {{run_dir}}.\n\nWrite your point-by-point defense to {{defense_out}} in this format:\nATTACK 1: CONCEDE|REBUT. \u003Cone to three lines>\n(one entry per attack)\n\nWrite your revised solution to {{solution_out}}.\n\nWhen both files are written, reply with this one line and nothing else:\nDEFENDED {{agent}} conceded \u003Cn> rebutted \u003Cn>\n```\n\u003C!-- \u002Ftemplate:defender -->\n\n### Judge, one per match\n\n\u003C!-- template:judge -->\n```text\nYou are the judge of match {{match}}, round {{round}}, in a tournament. Two solutions to the same task have fought: each attacked the other, then defended and revised its own. Score both against the rubric. The one with the higher score goes through and the other is eliminated.\n\n=== THE TASK (identical for every competitor) ===\n{{task}}\n=== END OF THE TASK ===\n\nRead the rubric first: {{rubric}}\n\nSolution {{first}}\n- revised solution: {{first_solution}}\n- attacks it received: {{first_attacks}}\n- its defense: {{first_defense}}\n\nSolution {{second}}\n- revised solution: {{second_solution}}\n- attacks it received: {{second_attacks}}\n- its defense: {{second_defense}}\n\nHow to judge:\n1. Read both revised solutions in full before you score either one.\n2. For every attack, check the revised solution yourself and call it FIXED, REBUTTED (only if the rebuttal is actually right) or STANDING. A defense that says \"fixed\" is not proof. Look.\n3. Look for flaws the attackers missed, too.\n4. Score each criterion from 0 to 10 using the rubric's anchors. Set fatal to true only for a flaw you have verified that makes the solution wrong or unusable for the task.\n5. The winner is the higher weighted total (the weights are in the rubric). A fatal solution cannot beat one that is not fatal. On an exact tie, fewer standing attacks wins, then higher correctness.\n6. Judge the work, not the writing about the work. Length is not quality. You do not know either competitor's strategy and should not guess it.\n7. Do not create, edit or delete any file except the verdict. If the task is code and running something settles an attack, do it only inside {{run_dir}}\u002Fscratch\u002Fjudge-{{match}}\u002F, never in the user's project.\n\nWrite this JSON, and nothing else, to {{out}}:\n{\n  \"match\": \"{{match}}\",\n  \"scores\": {\n    \"{{first}}\": {\"correctness\": 0, \"completeness\": 0, \"specificity\": 0, \"robustness\": 0, \"clarity\": 0, \"fatal\": false},\n    \"{{second}}\": {\"correctness\": 0, \"completeness\": 0, \"specificity\": 0, \"robustness\": 0, \"clarity\": 0, \"fatal\": false}\n  },\n  \"winner\": \"{{first}} or {{second}}\",\n  \"reason\": \"one sentence: the decisive difference\",\n  \"survived\": [\"each attack the winner took and beat, in a few words\"],\n  \"standing\": {\"{{first}}\": [\"attacks still standing\"], \"{{second}}\": [\"attacks still standing\"]}\n}\n\nWhen the file is written, reply with this one line and nothing else:\nWINNER \u003Cwinner id> \u003Cwinner total>-\u003Closer total>\n```\n\u003C!-- \u002Ftemplate:judge -->\n\n### Final check, only when there is an answer to beat\n\n\u003C!-- template:final -->\n```text\nYou are the final check in a tournament. {{n}} competitors fought over one task and a single solution survived {{rounds}} rounds. Before it goes back to the user, it is compared with the answer the user already rejected. You are not told which of the two is which. Score what is in front of you. Either one can win.\n\n=== THE TASK ===\n{{task}}\n=== END OF THE TASK ===\n\nRead the rubric first: {{rubric}}\n\nSolution X: {{x_solution}}\nSolution Y: {{y_solution}}\n\nHow to judge:\n1. Read both in full before you score either.\n2. Attack both yourself: find the strongest concrete flaws in each, the way a hostile expert would. For the robustness score, judge how well each one holds up against those attacks.\n3. Score each criterion from 0 to 10 using the rubric's anchors. Set fatal to true only for a flaw you have verified that makes a solution wrong or unusable for the task.\n4. The winner is the higher weighted total. A fatal solution cannot beat one that is not fatal.\n5. Judge the work, not the writing about the work. Length is not quality.\n6. Do not create, edit or delete any file except the verdict.\n\nWrite this JSON, and nothing else, to {{out}}:\n{\n  \"scores\": {\n    \"X\": {\"correctness\": 0, \"completeness\": 0, \"specificity\": 0, \"robustness\": 0, \"clarity\": 0, \"fatal\": false},\n    \"Y\": {\"correctness\": 0, \"completeness\": 0, \"specificity\": 0, \"robustness\": 0, \"clarity\": 0, \"fatal\": false}\n  },\n  \"winner\": \"X or Y\",\n  \"reason\": \"one sentence: the decisive difference\",\n  \"fixed\": [\"each thing the winner gets right that the other gets wrong, in a few words\"]\n}\n\nWhen the file is written, reply with this one line and nothing else:\nFINAL \u003CX or Y> \u003CX total>-\u003CY total>\n```\n\u003C!-- \u002Ftemplate:final -->\n",{"name":5,"version":24,"description":7,"argument-hint":25},"1.0.0","[--agents N | --quick] [--seed S] \u003Ctask>","main","523bc2bf98727c9fd981424f86ecba66c6d6ecd6","plugins\u002Fcaffeinity\u002Fskills\u002Fdo-better","https:\u002F\u002Fgithub.com\u002Farm-pz\u002Fcaffeinity-skills","https:\u002F\u002Fskills.caffeinity.com\u002F","https:\u002F\u002Fgithub.com\u002Farm-pz","skills.caffeinity.com","2026-11-14 01:22:10",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add arm-pz\u002Fcaffeinity-skills --skill do-better",{"tool":40,"command":41},"bunx","bunx skills add arm-pz\u002Fcaffeinity-skills --skill do-better",{"tool":43,"command":44},"pnpm","pnpm dlx skills add arm-pz\u002Fcaffeinity-skills --skill do-better","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Farm-pz\u002Fcaffeinity-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fcaffeinity\u002Fskills\u002Fdo-better\u002FSKILL.md",true,[48,54,60],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"bracket.py","SCRIPT","脚本",49617,"https:\u002F\u002Fgithub.com\u002Farm-pz\u002Fcaffeinity-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fcaffeinity\u002Fskills\u002Fdo-better\u002Fbracket.py",{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"rubric.md","REFERENCE","参考文档",3717,"https:\u002F\u002Fgithub.com\u002Farm-pz\u002Fcaffeinity-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fcaffeinity\u002Fskills\u002Fdo-better\u002Frubric.md",{"path":61,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":62,"sourceHtmlUrl":63},"strategies.json",9250,"https:\u002F\u002Fgithub.com\u002Farm-pz\u002Fcaffeinity-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fcaffeinity\u002Fskills\u002Fdo-better\u002Fstrategies.json",[65,72,79,86,93,100],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7EJR8K8FDPBY02RFPRRW19M","tune-and-ship","Takes one published skill at a time from as-is to tuned, fact-checked, released and live, then moves to the next one in the catalog. Each run tunes the skill with tune-skill, checks every version number, flag, price and command it states against the primary source, re-reads its siblings' real SKILL.md files, polishes the listing with findable-polish, writes the version and release notes, opens one PR, and after the merge confirms the site page and marketplace copy are live. Use whenever the user wants to fine-tune their other skills, work through the catalog, give a published skill the full treatment, fact-check a skill's claims, or ship a tune instead of drafting it, even if they never say \"ship\". Not for a tune with no release (use tune-skill), drafts with nothing pushed (use tune-and-polish), a new skill (use skill-launch), regressions from the nightly health check (use caffeinity-routing's Descale brew), or a whole collection (use skill-estate).","https:\u002F\u002Fgithub.com\u002Farm-pz\u002Fcaffeinity-skills\u002Fblob\u002Fmain\u002Fplugins\u002Ftune-and-ship\u002Fskills\u002Ftune-and-ship\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7EJR2D3H3EA8PT9PVR8DVTS","skill-estate","Takes a whole collection of agent skill repos from scattered to published, consistent and self-maintaining, in gated phases: inventory every repo, reconcile site, marketplace and README listings, test and tune the family, close workflow gaps, wire publishing so new skill repos go live on their own, bundle a plugin with agents, add trigger tests and directory listings, and leave a maintenance loop and a map. Each phase hands off to the skill that owns it and ends in PRs. Use when someone's skills site and GitHub disagree, wants all their skill repos audited or cleaned up, wants new skills to publish themselves, or wants that cleanup repeated on another org, even if they never say estate. Not for one skill (use tune-skill), one listing (use findable), the site pipeline alone (use publish-pipeline), or weekly upkeep (use caffeinity-routing's Descale brew).","https:\u002F\u002Fgithub.com\u002Farm-pz\u002Fcaffeinity-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fskill-estate\u002Fskills\u002Fskill-estate\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7EJQVD17QR594SGFS5Z1T34","paper-trail","Drafts the policy pages a small product needs before it takes money or data (privacy policy, terms of service, refund policy, cookie notice) from a fact sheet about what the product actually collects, stores, shares and charges, then checks the drafts for placeholders, missing sections and facts nobody supplied. Use when someone needs a privacy policy, terms, refund or cookie page for a site, app, SaaS, newsletter or digital product, asks what legal pages they need before launch, or wants existing policy pages checked against what the product really does, even if they never say \"legal\". Not legal advice and not for contracts, NDAs or employment documents (use a lawyer), and not for the launch plan itself (use solo-income-blueprint) or the site build (use site-prompt).","https:\u002F\u002Fgithub.com\u002Farm-pz\u002Fcaffeinity-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fpaper-trail\u002Fskills\u002Fpaper-trail\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7EJQM55D4W6D9SJB8WDVP27","course-builder","Designs a course for a group of learners (a class, cohort, workshop series, bootcamp or internal training): measurable outcomes, a module sequence with prerequisites, activities and assessments aligned to each outcome, a time budget that fits the hours available, and a rubric, then checks the plan with a script so no outcome goes untaught or unassessed. Use when someone is teaching others and asks for a curriculum, syllabus, course outline, module plan, cohort or workshop structure, or wants an existing course checked for gaps and overload, even if they never say \"curriculum\". Not for one person's own learning plan (use study-system), for being taught the topic (use topic-primer), or for marketing the course (use sales-copy).","https:\u002F\u002Fgithub.com\u002Farm-pz\u002Fcaffeinity-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fcourse-builder\u002Fskills\u002Fcourse-builder\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7EJQDFT8K0PW1HF7RPS6M03","wordsmith","Write, draft, rewrite, edit, proofread, polish and improve text while preserving the author's intended meaning, facts and voice. Use when the user wants clearer, shorter or better-toned writing; grammar, structure or flow fixes; emails, website or marketing copy, headlines, outlines or summaries; a different reading level; an accessibility, inclusivity or accuracy review; or content prepared for publication, even if they never say \"edit\". Also handles \u002Fwordsmith commands such as draft, critique, audit, tighten, tone and final. Not for resumes, CVs or LinkedIn profiles (use recruiter-lens if installed), not for code or code comments, and not for building .docx or .pdf files (write the text here, then use the file skill).","https:\u002F\u002Fgithub.com\u002Farm-pz\u002Fcaffeinity-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fcaffeinity\u002Fskills\u002Fwordsmith\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M7EJQ3TFWMSW96T0E49W310A","web-preflight","Use when shipping, deploying, publishing, launching, reviewing, or pre-flighting a website or API and you want a lightweight check for accidental exposure of secrets, source or configuration files, admin and debug surfaces, unsafe redirects, missing security controls, and misleading 200 responses. Trigger phrases include \"before we ship\", \"security check\", \"preflight\", \"audit the site\", \"check the production URL\", \"is my .env exposed\", and \"why does \u002F.env return 200\", including when access-log or analytics evidence is supplied. Checks only sites the user owns or is authorized to assess, with bounded GET and HEAD requests and a fixed compact path set; distinguishes genuine resources from SPA catch-all and blanket WAF responses. Not for penetration testing, exploitation, credential testing, broad port scanning, or application-code review; use a dedicated authorized security-testing or code-review workflow instead.","https:\u002F\u002Fgithub.com\u002Farm-pz\u002Fcaffeinity-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fcaffeinity\u002Fskills\u002Fweb-preflight\u002FSKILL.md",[],[]]