[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CH97MRSA81YHRMPBB7ZGCH":3,"skill-same:01M7CH97MRSA81YHRMPBB7ZGCH":61},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7CH97MRSA81YHRMPBB7ZGCH","goal-prompt",null,"Drafts copy-paste-ready \u002Fgoal commands for goal mode in Claude Code and Codex. Use when the user asks to create, write, rewrite, improve, compress, clean up, or prepare a goal prompt, goal condition, \u002Fgoal command, goal-mode objective, or copy-ready long-running task objective.","bongkage\u002Ftrailofbits-skills","bongkage","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F101378796?v=4","01M7CH419QTJ16DNJ33P0WCWBE","01M7CH41A9NWK8D2JBRK9F0M2C",1,"CC-BY-SA-4.0","https:\u002F\u002Fgithub.com\u002Fbongkage\u002Ftrailofbits-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fgoal-prompt\u002Fskills\u002Fgoal-prompt\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: goal-prompt\ndescription: \"Drafts copy-paste-ready \u002Fgoal commands for goal mode in Claude Code and Codex. Use when the user asks to create, write, rewrite, improve, compress, clean up, or prepare a goal prompt, goal condition, \u002Fgoal command, goal-mode objective, or copy-ready long-running task objective.\"\nallowed-tools: Bash Read Write\n---\n\n# Goal Prompt\n\n`\u002Fgoal` keeps the agent working until a completion condition is met. Both Claude Code and Codex take it as one line, max 4,000 characters. In Claude Code a small model re-judges the condition after each turn from the transcript alone — it cannot run commands.\n\nDraft a condition that can terminate, then format it. A goal fits work bigger than one turn with a checkable finish line; chain small goals with review between them rather than writing one giant goal.\n\n## Draft\n\nInclude, joined with AND — never \"or\", the loop takes the cheaper branch:\n\n1. **End state, not activity** — \"all `legacyAuth()` call sites use `auth.verify()`\", not \"migrate the auth code\". An activity can be claimed; an end state is true or false.\n2. **Scope to read first** — the files, issue, logs, or plan to read before acting.\n3. **Stated check** — the exact command and its observable result (\"`npm test` exits 0\"), plus an instruction to run it and show the output; a result that never lands in the transcript does not exist to the evaluator.\n4. **Invariants** — what must not change (\"without modifying vendor\u002F\"), always including \"do not weaken, skip, or edit the checks themselves\".\n5. **Stop bound or blocked clause** — \"or stop after 20 turns\", \"if blocked, stop and report the blocker\". Without one, a mis-stated condition loops forever; the formatter warns when it is missing. (Claude Code resets the turn counter on session resume, so a turn bound silently extends across resumes.)\n\n**Keep it small.** Every constraint narrows the state space the model can explore. Collapse to one terminating criterion when possible, move scope and definitions into a referenced file, and drop non-goals — a constraint earns its place only by closing a real easy-out.\n\nFor long goals, also name the final evidence (diff, report, artifact) and require a progress log file — durable state across compaction and resume. If the brief exceeds 4,000 characters, put the details in a `GOAL.md` and reference that file from the objective.\n\n**Never invent missing elements.** Ground every element in the user's request, the conversation, or the repository — look things up rather than guessing. If an element cannot be filled from available information, still optimize and format what the user provided, leave the element out, and flag it as missing (see Format). A goal with an invented success condition terminates on the wrong contract.\n\n## Close the easy-outs\n\nBefore formatting, reread the drafted condition as a lazy model would: what is the cheapest way to make every check pass without doing the intended work? Close the cheapest ones — prefer pairing checks you already have over adding constraints, and do not enumerate every conceivable out into a non-goal list. The recurring outs:\n\n- **Delete or stub instead of fix** — \"search prints nothing\" also holds when the callers are gone; pair such checks with one that proves the feature still works.\n- **Pass on a subset** — running one test file, narrowing the search path, excluding directories from the check.\n- **Game the gate** — skipping\u002Fxfail-ing tests, hardcoding expected outputs, special-casing the test inputs, editing the check (the invariants rule).\n- **Claim without running** — declaring done or blocked with no check output in the transcript (the show-the-output rule).\n\nSame discipline as above: an out you cannot close from available information goes in the `Missing:` list as a warning — an invented or absurd constraint is worse than a flagged gap.\n\n## Security research goals\n\nCollapse audit goals to one terminating criterion, such as identifying, triggering, and validating one high-severity vulnerability valid under a referenced threat-model file. That file, not the goal, carries scope, attacker powers, severity baseline, and known findings to skip. Use neutral wording (\"trigger and validate\", not \"prove this is exploitable\"), require demonstrated preconditions — assumed attacker access is the most common false positive — and stop for human review after each finding rather than piling up untriaged reports. Validate findings with a second pass by a fresh agent, never the finder alone.\n\n## Format\n\nRun `uv run --no-project {baseDir}\u002Fscripts\u002Fformat_goal_prompt.py --fenced` on the draft (file or stdin). It collapses whitespace to one line, strips `\u002Fgoal` prefixes, quotes, and fences, warns on a missing stop clause, and rejects output over 4,000 characters — shorten or move detail to a file and rerun.\n\nReturn exactly one fenced `text` block, one line:\n\n```text\n\u002Fgoal \u003Csingle normalized objective>\n```\n\nAdd no prose around it — except when checklist elements could not be grounded: then follow the block with a `Missing:` list, one line per gap, telling the user what to supply.\n\n## Example\n\nDraft:\n\n```\n\u002Fgoal Migrate the auth module:\n  - replace legacyAuth() with auth.verify()\n  - make sure the tests still work\n```\n\nRedrafted and formatted:\n\n```text\n\u002Fgoal All legacyAuth() call sites use auth.verify(): `rg \"legacyAuth\\(\" -t ts` prints nothing AND `npm test` exits 0 (run both, show the output), without modifying vendor\u002F or weakening any test. If blocked, stop and report attempted paths and the blocker, or stop after 20 turns.\n```\n\nHere `npm test` came from the repo's package.json — not a guess — and pairing it with the zero-matches check closes the cheapest out: deleting the call sites instead of migrating them. When nothing grounds an element, format what exists and flag the gaps:\n\nDraft: `make checkout faster`, with no metric or benchmark anywhere in context:\n\n```text\n\u002Fgoal Make checkout faster\n```\n\nMissing:\n- measurable end state — which metric and threshold count as \"faster\"\n- verification — the benchmark or command that proves it\n- stop bound — e.g. \"or stop after 20 turns\"\n","# Goal Prompt\n\n`\u002Fgoal` keeps the agent working until a completion condition is met. Both Claude Code and Codex take it as one line, max 4,000 characters. In Claude Code a small model re-judges the condition after each turn from the transcript alone — it cannot run commands.\n\nDraft a condition that can terminate, then format it. A goal fits work bigger than one turn with a checkable finish line; chain small goals with review between them rather than writing one giant goal.\n\n## Draft\n\nInclude, joined with AND — never \"or\", the loop takes the cheaper branch:\n\n1. **End state, not activity** — \"all `legacyAuth()` call sites use `auth.verify()`\", not \"migrate the auth code\". An activity can be claimed; an end state is true or false.\n2. **Scope to read first** — the files, issue, logs, or plan to read before acting.\n3. **Stated check** — the exact command and its observable result (\"`npm test` exits 0\"), plus an instruction to run it and show the output; a result that never lands in the transcript does not exist to the evaluator.\n4. **Invariants** — what must not change (\"without modifying vendor\u002F\"), always including \"do not weaken, skip, or edit the checks themselves\".\n5. **Stop bound or blocked clause** — \"or stop after 20 turns\", \"if blocked, stop and report the blocker\". Without one, a mis-stated condition loops forever; the formatter warns when it is missing. (Claude Code resets the turn counter on session resume, so a turn bound silently extends across resumes.)\n\n**Keep it small.** Every constraint narrows the state space the model can explore. Collapse to one terminating criterion when possible, move scope and definitions into a referenced file, and drop non-goals — a constraint earns its place only by closing a real easy-out.\n\nFor long goals, also name the final evidence (diff, report, artifact) and require a progress log file — durable state across compaction and resume. If the brief exceeds 4,000 characters, put the details in a `GOAL.md` and reference that file from the objective.\n\n**Never invent missing elements.** Ground every element in the user's request, the conversation, or the repository — look things up rather than guessing. If an element cannot be filled from available information, still optimize and format what the user provided, leave the element out, and flag it as missing (see Format). A goal with an invented success condition terminates on the wrong contract.\n\n## Close the easy-outs\n\nBefore formatting, reread the drafted condition as a lazy model would: what is the cheapest way to make every check pass without doing the intended work? Close the cheapest ones — prefer pairing checks you already have over adding constraints, and do not enumerate every conceivable out into a non-goal list. The recurring outs:\n\n- **Delete or stub instead of fix** — \"search prints nothing\" also holds when the callers are gone; pair such checks with one that proves the feature still works.\n- **Pass on a subset** — running one test file, narrowing the search path, excluding directories from the check.\n- **Game the gate** — skipping\u002Fxfail-ing tests, hardcoding expected outputs, special-casing the test inputs, editing the check (the invariants rule).\n- **Claim without running** — declaring done or blocked with no check output in the transcript (the show-the-output rule).\n\nSame discipline as above: an out you cannot close from available information goes in the `Missing:` list as a warning — an invented or absurd constraint is worse than a flagged gap.\n\n## Security research goals\n\nCollapse audit goals to one terminating criterion, such as identifying, triggering, and validating one high-severity vulnerability valid under a referenced threat-model file. That file, not the goal, carries scope, attacker powers, severity baseline, and known findings to skip. Use neutral wording (\"trigger and validate\", not \"prove this is exploitable\"), require demonstrated preconditions — assumed attacker access is the most common false positive — and stop for human review after each finding rather than piling up untriaged reports. Validate findings with a second pass by a fresh agent, never the finder alone.\n\n## Format\n\nRun `uv run --no-project {baseDir}\u002Fscripts\u002Fformat_goal_prompt.py --fenced` on the draft (file or stdin). It collapses whitespace to one line, strips `\u002Fgoal` prefixes, quotes, and fences, warns on a missing stop clause, and rejects output over 4,000 characters — shorten or move detail to a file and rerun.\n\nReturn exactly one fenced `text` block, one line:\n\n```text\n\u002Fgoal \u003Csingle normalized objective>\n```\n\nAdd no prose around it — except when checklist elements could not be grounded: then follow the block with a `Missing:` list, one line per gap, telling the user what to supply.\n\n## Example\n\nDraft:\n\n```\n\u002Fgoal Migrate the auth module:\n  - replace legacyAuth() with auth.verify()\n  - make sure the tests still work\n```\n\nRedrafted and formatted:\n\n```text\n\u002Fgoal All legacyAuth() call sites use auth.verify(): `rg \"legacyAuth\\(\" -t ts` prints nothing AND `npm test` exits 0 (run both, show the output), without modifying vendor\u002F or weakening any test. If blocked, stop and report attempted paths and the blocker, or stop after 20 turns.\n```\n\nHere `npm test` came from the repo's package.json — not a guess — and pairing it with the zero-matches check closes the cheapest out: deleting the call sites instead of migrating them. When nothing grounds an element, format what exists and flag the gaps:\n\nDraft: `make checkout faster`, with no metric or benchmark anywhere in context:\n\n```text\n\u002Fgoal Make checkout faster\n```\n\nMissing:\n- measurable end state — which metric and threshold count as \"faster\"\n- verification — the benchmark or command that proves it\n- stop bound — e.g. \"or stop after 20 turns\"\n",{"name":5,"description":7,"allowed-tools":23},"Bash Read Write","main","321ccfe628eca0d314b0ee4eaffcdd8a05639aaf","plugins\u002Fgoal-prompt\u002Fskills\u002Fgoal-prompt",0,"https:\u002F\u002Fgithub.com\u002Fbongkage\u002Ftrailofbits-skills","https:\u002F\u002Fgithub.com\u002Fbongkage","2026-11-06 12:15:06",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add bongkage\u002Ftrailofbits-skills --skill goal-prompt",{"tool":37,"command":38},"bunx","bunx skills add bongkage\u002Ftrailofbits-skills --skill goal-prompt",{"tool":40,"command":41},"pnpm","pnpm dlx skills add bongkage\u002Ftrailofbits-skills --skill goal-prompt","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbongkage\u002Ftrailofbits-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fgoal-prompt\u002Fskills\u002Fgoal-prompt\u002FSKILL.md",true,[45,51,57],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"agents\u002Fopenai.yaml","REFERENCE","参考文档",185,"https:\u002F\u002Fgithub.com\u002Fbongkage\u002Ftrailofbits-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fgoal-prompt\u002Fskills\u002Fgoal-prompt\u002Fagents\u002Fopenai.yaml",{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"scripts\u002Fformat_goal_prompt.py","SCRIPT","脚本",3620,"https:\u002F\u002Fgithub.com\u002Fbongkage\u002Ftrailofbits-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fgoal-prompt\u002Fskills\u002Fgoal-prompt\u002Fscripts\u002Fformat_goal_prompt.py",{"path":58,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":59,"sourceHtmlUrl":60},"scripts\u002Ftest_format_goal_prompt.py",3331,"https:\u002F\u002Fgithub.com\u002Fbongkage\u002Ftrailofbits-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fgoal-prompt\u002Fskills\u002Fgoal-prompt\u002Fscripts\u002Ftest_format_goal_prompt.py",[62,69,76,83,90,97],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M7CHJAESZRWKJXFQG55BMNAA","zeroize-audit","Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C\u002FC++\u002FRust code handling secrets, keys, passwords, or other sensitive data.","https:\u002F\u002Fgithub.com\u002Fbongkage\u002Ftrailofbits-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fzeroize-audit\u002Fskills\u002Fzeroize-audit\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M7CHJ543G42A9GQC3PJE4F4V","yara-rule-authoring","Guides authoring of high-quality YARA-X detection rules for malware identification. Use when writing, reviewing, or optimizing YARA rules. Covers naming conventions, string selection, performance optimization, migration from legacy YARA, and false positive reduction. Triggers on: YARA, YARA-X, malware detection, threat hunting, IOC, signature, crx module, dex module.","https:\u002F\u002Fgithub.com\u002Fbongkage\u002Ftrailofbits-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fyara-authoring\u002Fskills\u002Fyara-rule-authoring\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M7CHHYVFS1AKDTH3YDS1Y4K4","writing-lean-proofs","Writes and reviews structured Lean 4 proofs and designs Lean libraries following Mathlib conventions. Use when proving theorems in Lean, formalizing mathematics or specifications in Lean 4, defining new types or definitions in a Lean library, reviewing Lean proofs for readability and maintainability, refactoring long tactic proofs into lemmas, filling in sorry placeholders in a Lean development, setting up CI or linters for a Lean project, diagnosing slow proofs or maxHeartbeats timeouts, or writing custom tactics, macros, or linters.","https:\u002F\u002Fgithub.com\u002Fbongkage\u002Ftrailofbits-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fwriting-lean-proofs\u002Fskills\u002Fwriting-lean-proofs\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M7CHHQXA39M4965MV2RMM5YS","vulnerability-triage-brocards","This skill should be used when the user asks to \"triage a vulnerability report\", \"assess a CVE\", \"evaluate a bug bounty submission\", \"decide if a finding is valid\", \"review a security finding\", \"dismiss a vulnerability\", \"should we fix this CVE\", \"prioritize a vulnerability report\", or needs to determine whether an incoming vulnerability report warrants investigation. Applies 7 brocards (rules of thumb) to systematically accept, dismiss, or request more information on vulnerability reports, or needs to filter raw findings from agentic vulnerability discovery pipelines before human review.","https:\u002F\u002Fgithub.com\u002Fbongkage\u002Ftrailofbits-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fvulnerability-triage-brocards\u002Fskills\u002Fvulnerability-triage-brocards\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":18},"01M7CHHJVQC2ZG2M310GXT0T42","variant-analysis","Hunts for the other instances of a bug already found — the variants of one root cause across a codebase. Use immediately after a vulnerability, logic bug, or bad pattern turns up in a specific file and the question becomes where else it occurs, including the bare conversational form (\"are there others like this?\", \"is this the same bug?\"). Also for generalizing one known instance into a CodeQL or Semgrep query for its whole pattern family, and for triaging a set of look-alike candidates against a known root cause. Not for initial discovery with no bug in hand.","https:\u002F\u002Fgithub.com\u002Fbongkage\u002Ftrailofbits-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fvariant-analysis\u002Fskills\u002Fvariant-analysis\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":18},"01M7CHHC1GM5GH585ZWGP7D03P","vector-forge","Mutation-driven test vector generation. Finds implementations of a cryptographic algorithm or protocol, runs mutation testing to identify escaped mutants, then generates new test vectors that deliberately exercise the uncovered code paths. Compares before\u002Fafter mutation kill rates to prove vector effectiveness. Use when generating cryptographic test vectors, measuring Wycheproof coverage gaps, finding escaped mutants via mutation testing, creating cross-implementation test suites, or improving test vector coverage for crypto primitives.","https:\u002F\u002Fgithub.com\u002Fbongkage\u002Ftrailofbits-skills\u002Fblob\u002Fmain\u002Fplugins\u002Ftrailmark\u002Fskills\u002Fvector-forge\u002FSKILL.md",[],[]]