[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7E8MW7YJW2PCMDW3G9RTGNK":3,"skill-same:01M7E8MW7YJW2PCMDW3G9RTGNK":62},{"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":35,"commitSha":36,"skillDirectory":37,"forksCount":14,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":40,"ownerDescription":41,"updatedAt":42,"install":43,"resources":55},"01M7E8MW7YJW2PCMDW3G9RTGNK","plan",null,"Weave planning: compare independent adversarial plans, then synthesize the best one","tony\u002Fskills","tony","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F26336?v=4","01M72E5RNJ7SQV8F9KBM5RKRMN","Tony Narlock","01M7E7MBN5C6YZ4JJJ5Y82KBJG",0,"MIT","https:\u002F\u002Fgithub.com\u002Ftony\u002Fskills\u002Fblob\u002Fmain\u002Fplugins\u002Fweave\u002Fskills\u002Fplan\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: plan\ndescription: \"Weave planning: compare independent adversarial plans, then synthesize the best one\"\nallowed-tools: [\"Bash\", \"Read\", \"Grep\", \"Glob\", \"Write\", \"Task\", \"AskUserQuestion\", \"EnterPlanMode\"]\nargument-hint: \"[--passes=N] [--timeout=N|none] [--mode=fast|balanced|deep] [--no-deslop|--quiet-deslop|--verbose-deslop] [--workers=subagents|model-clis] \u003Ctask description>\"\ndisable-model-invocation: true\n---\n\n# Weave Plan\n\nGet implementation plans from independent adversarial workers in parallel, then synthesize the best plan. The output is a finalized plan file ready for execution.\n\nSession artifacts live in the session directory, outside your repository.\n\nThe task comes from `$ARGUMENTS`; if there are none, ask the user what they want planned.\n\n`\u003Cengine>` is `..\u002F..\u002Fscripts\u002Fengine.py` resolved from this skill's directory to an absolute path, written literally in every command, and run with `python3`.\n\n## Worker selection\n\n\u003C!-- portable: ask-user-choice=headless-default -->\n\nBefore any other unresolved configuration choice or operational step, read\n`..\u002F..\u002Freferences\u002Fworker-backends.md` (Caller contract). Resolve\n`worker_backend` from `--workers=subagents|model-clis` using that reference;\nif the flag is absent, ask its worker question first.\nIf interactive choice is unavailable, honor its documented headless default.\n\n---\n\n## Phase 0: Enter plan mode\n\nCall `EnterPlanMode` immediately and stay in it: the final output is the host's plan file, and the user approves execution from it. Never call `ExitPlanMode`. Emit `Plan mode active: drafting implementation plan.`\n\nIn plan mode the main agent reads (`Read`, `Grep`, `Glob`), asks questions, launches Task agents, and writes the plan file. It runs the read-only engine commands (`flags`, `context`, `judge-parse`) directly. Everything else goes through a session relay: a `general-purpose` Task agent with `mode: \"default\"` that receives exact engine commands or exact file contents, runs or writes them verbatim, and returns each command's JSON verbatim. It never judges, scores, edits content, or works in the repository checkout. The relay carries `init`, `prompt`, `worktrees`, `labels`, `packet`, `update`, `guard`, `participant`, `write`, and the deslop file work. Workers, the judge, and the critic still run in `participant start` snapshots. Never act on relayed JSON alone: after each relayed engine command, Read the file it writes (`session.json`, the guard result, the pass files) and check the relayed result against it.\n\nWithout plan mode (headless runs), the main agent runs those commands directly. Present the final plan as markdown text instead of a plan file.\n\n---\n\n## Phase 1: Start the session\n\n1. Read the project's CLAUDE.md \u002F AGENTS.md. Explore the files most relevant to the task for architecture, patterns, and constraints.\n\n2. Follow `..\u002F..\u002Freferences\u002Fensemble-core.md` (Start the session) with `--command plan`. Run `init` through the relay. It asks each unresolved setting through `AskUserQuestion`.\n\n3. Build the context packet per `ensemble-core.md` (Context packet), using `context` for the repo state. Without a repository, say \"no repository\" up front and plan as greenfield: no existing files, conventions, or tests are assumed. Lead with the changed files and their diff stats, key snippets of code the plan touches, and known unknowns the plan should address. The relay writes it to `\u003Csession_dir>\u002Fcontext-packet.md`.\n\n---\n\n## Phase 2: Get plans in parallel\n\nThe shared worker prompt body is:\n\n> Create a detailed implementation plan for the following task. Read the codebase for the existing architecture, patterns, and conventions, and the project's CLAUDE.md\u002FAGENTS.md for standards.\n>\n> Task: \u003Cthe task>\n>\n> Your plan must include:\n> 1. **Files to create or modify**: every file, with the changes it needs\n> 2. **Implementation sequence**: ordered steps with dependencies between them\n> 3. **Architecture decisions**: key choices justified by existing patterns\n> 4. **Test strategy**: tests to add or extend, using the project's test patterns\n> 5. **Risks and edge cases**: potential problems and mitigations\n> 6. **Commit boundaries**: each step is one atomic commit, with a commit message (no `Co-Authored-By`, no tool trailer, no emoji) and the quality gates (lint, format, type-check, fast tests) to verify before committing\n>\n> Be specific: reference actual files, functions, and patterns from the codebase. Separate the user's requirements from proposed defaults. Explain how normal, failure and capacity paths satisfy each hard constraint; a fallback meets the same requirement as the main path. State the assumptions behind resource estimates, and label an estimate that covers only part of the cost as partial, never as a total.\n>\n> Length cap: at most 700 words in total. One line per file and per step; no code blocks, no rejected alternatives, no restating the task.\n\nFollow `ensemble-core.md` (Dispatch lanes) with this body, running the engine commands through the relay, then (Close the repo guard). If only one lane responds, continue with it alone and say so.\n\n---\n\n## Phase 3: Synthesize the best plan\n\nApply `ensemble-core.md` (Blind judging, Synthesis protocol) to this pass's outputs, with the default rubric. The convergence mode is **Merge**. The judge participant scores the packet (`ensemble-core.md`, Synthesis protocol); you adjudicate and the relay writes the artifacts.\n\nPut in the judge's brief: record the task's hard constraints in `verification.md` and check each plan's constraint traces and bounds as the worker brief requires. A fallback must satisfy the same requirement as the main path. Keep an unresolved policy choice explicit and block the affected step until the user decides, and recheck these constraints after integrating critic findings.\n\nThe synthesis holds at most 900 words: state each agreed step once and drop worker prose.\n\nSteps 2 to 4 run on the final pass only (pass 1 when `passes` is 1, else the last pass of Phase 4), so the plan is rendered once. In this order:\n\n1. Read `..\u002F..\u002Freferences\u002Fpresent-results.md` and `..\u002F..\u002Freferences\u002Fresults\u002Fplan.md`, then have the relay write the synthesis to `\u003Csession_dir>\u002Fpass-NNNN\u002Fsynthesis.md` using that result contract and `..\u002F..\u002Freferences\u002Fprose-rules.md`. Raw critic deltas stay in `critic.md`; the plan's Critic Findings uses the final risk\u002Fsafeguard format from the result template. The plan must tell the executor to run the project's quality gates before each commit, and to write commit messages with no `Co-Authored-By` line, no \"Generated with\" or other tool trailer, and no emoji.\n\n2. Unless `--no-deslop` was set, deslop through the relay: it reads `..\u002F..\u002Freferences\u002Fdeslop-pass.md` and applies it with `ARTIFACT_PATH` set to that file, `SESSION_DIR`, `BASELINE_SHA` set to `baseline_sha` from `init`, and `DESLOP_MODE` from the flags. Re-read `synthesis.md` for the desloped plan. The summary block stays out of the plan body; print its one line after `Plan ready for review.`\n\n3. Apply the result references from step 1 with `RESULT_KIND` = `plan`, `ARTIFACT_PATH` = the desloped `synthesis.md`, `SESSION_DIR`, `PASS_COUNT` = the resolved pass count, `IN_PLAN_MODE` = true, `LABEL_MAP_PATH` = `\u003Csession_dir>\u002Fpass-NNNN\u002Flabel-map.json`.\n\n4. Write the rendered plan to the plan file, then emit `Plan ready for review.`\n\n5. After every pass, record it through the relay (`update --completed-passes \u003CN> --event pass_complete`).\n\n---\n\n## Phase 4: Multi-pass refinement\n\nSkip when `passes` is 1. Run the later passes per `ensemble-core.md` (Later passes), targeting only unresolved conflicts from the prior adjudication, critic findings from the prior pass, and any dimension scored below 5 on any response; the relay creates the pass and writes the prompt. The Claude lane reads prior artifacts by path; external lanes get them inline. Re-synthesize per Phase 3.\n\nOn the final pass, run Phase 3 steps 2 to 5 on `pass-\u003CN>\u002Fsynthesis.md`, adding a **Plan Evolution** section that says what was strengthened, corrected, or added across passes.\n\n---\n\n## Finish\n\nFollow `ensemble-core.md` (Finish), through the relay.\n\n## Rules\n\n- Never exit plan mode.\n- Every plan step is one atomic commit.\n","# Weave Plan\n\nGet implementation plans from independent adversarial workers in parallel, then synthesize the best plan. The output is a finalized plan file ready for execution.\n\nSession artifacts live in the session directory, outside your repository.\n\nThe task comes from `$ARGUMENTS`; if there are none, ask the user what they want planned.\n\n`\u003Cengine>` is `..\u002F..\u002Fscripts\u002Fengine.py` resolved from this skill's directory to an absolute path, written literally in every command, and run with `python3`.\n\n## Worker selection\n\n\u003C!-- portable: ask-user-choice=headless-default -->\n\nBefore any other unresolved configuration choice or operational step, read\n`..\u002F..\u002Freferences\u002Fworker-backends.md` (Caller contract). Resolve\n`worker_backend` from `--workers=subagents|model-clis` using that reference;\nif the flag is absent, ask its worker question first.\nIf interactive choice is unavailable, honor its documented headless default.\n\n---\n\n## Phase 0: Enter plan mode\n\nCall `EnterPlanMode` immediately and stay in it: the final output is the host's plan file, and the user approves execution from it. Never call `ExitPlanMode`. Emit `Plan mode active: drafting implementation plan.`\n\nIn plan mode the main agent reads (`Read`, `Grep`, `Glob`), asks questions, launches Task agents, and writes the plan file. It runs the read-only engine commands (`flags`, `context`, `judge-parse`) directly. Everything else goes through a session relay: a `general-purpose` Task agent with `mode: \"default\"` that receives exact engine commands or exact file contents, runs or writes them verbatim, and returns each command's JSON verbatim. It never judges, scores, edits content, or works in the repository checkout. The relay carries `init`, `prompt`, `worktrees`, `labels`, `packet`, `update`, `guard`, `participant`, `write`, and the deslop file work. Workers, the judge, and the critic still run in `participant start` snapshots. Never act on relayed JSON alone: after each relayed engine command, Read the file it writes (`session.json`, the guard result, the pass files) and check the relayed result against it.\n\nWithout plan mode (headless runs), the main agent runs those commands directly. Present the final plan as markdown text instead of a plan file.\n\n---\n\n## Phase 1: Start the session\n\n1. Read the project's CLAUDE.md \u002F AGENTS.md. Explore the files most relevant to the task for architecture, patterns, and constraints.\n\n2. Follow `..\u002F..\u002Freferences\u002Fensemble-core.md` (Start the session) with `--command plan`. Run `init` through the relay. It asks each unresolved setting through `AskUserQuestion`.\n\n3. Build the context packet per `ensemble-core.md` (Context packet), using `context` for the repo state. Without a repository, say \"no repository\" up front and plan as greenfield: no existing files, conventions, or tests are assumed. Lead with the changed files and their diff stats, key snippets of code the plan touches, and known unknowns the plan should address. The relay writes it to `\u003Csession_dir>\u002Fcontext-packet.md`.\n\n---\n\n## Phase 2: Get plans in parallel\n\nThe shared worker prompt body is:\n\n> Create a detailed implementation plan for the following task. Read the codebase for the existing architecture, patterns, and conventions, and the project's CLAUDE.md\u002FAGENTS.md for standards.\n>\n> Task: \u003Cthe task>\n>\n> Your plan must include:\n> 1. **Files to create or modify**: every file, with the changes it needs\n> 2. **Implementation sequence**: ordered steps with dependencies between them\n> 3. **Architecture decisions**: key choices justified by existing patterns\n> 4. **Test strategy**: tests to add or extend, using the project's test patterns\n> 5. **Risks and edge cases**: potential problems and mitigations\n> 6. **Commit boundaries**: each step is one atomic commit, with a commit message (no `Co-Authored-By`, no tool trailer, no emoji) and the quality gates (lint, format, type-check, fast tests) to verify before committing\n>\n> Be specific: reference actual files, functions, and patterns from the codebase. Separate the user's requirements from proposed defaults. Explain how normal, failure and capacity paths satisfy each hard constraint; a fallback meets the same requirement as the main path. State the assumptions behind resource estimates, and label an estimate that covers only part of the cost as partial, never as a total.\n>\n> Length cap: at most 700 words in total. One line per file and per step; no code blocks, no rejected alternatives, no restating the task.\n\nFollow `ensemble-core.md` (Dispatch lanes) with this body, running the engine commands through the relay, then (Close the repo guard). If only one lane responds, continue with it alone and say so.\n\n---\n\n## Phase 3: Synthesize the best plan\n\nApply `ensemble-core.md` (Blind judging, Synthesis protocol) to this pass's outputs, with the default rubric. The convergence mode is **Merge**. The judge participant scores the packet (`ensemble-core.md`, Synthesis protocol); you adjudicate and the relay writes the artifacts.\n\nPut in the judge's brief: record the task's hard constraints in `verification.md` and check each plan's constraint traces and bounds as the worker brief requires. A fallback must satisfy the same requirement as the main path. Keep an unresolved policy choice explicit and block the affected step until the user decides, and recheck these constraints after integrating critic findings.\n\nThe synthesis holds at most 900 words: state each agreed step once and drop worker prose.\n\nSteps 2 to 4 run on the final pass only (pass 1 when `passes` is 1, else the last pass of Phase 4), so the plan is rendered once. In this order:\n\n1. Read `..\u002F..\u002Freferences\u002Fpresent-results.md` and `..\u002F..\u002Freferences\u002Fresults\u002Fplan.md`, then have the relay write the synthesis to `\u003Csession_dir>\u002Fpass-NNNN\u002Fsynthesis.md` using that result contract and `..\u002F..\u002Freferences\u002Fprose-rules.md`. Raw critic deltas stay in `critic.md`; the plan's Critic Findings uses the final risk\u002Fsafeguard format from the result template. The plan must tell the executor to run the project's quality gates before each commit, and to write commit messages with no `Co-Authored-By` line, no \"Generated with\" or other tool trailer, and no emoji.\n\n2. Unless `--no-deslop` was set, deslop through the relay: it reads `..\u002F..\u002Freferences\u002Fdeslop-pass.md` and applies it with `ARTIFACT_PATH` set to that file, `SESSION_DIR`, `BASELINE_SHA` set to `baseline_sha` from `init`, and `DESLOP_MODE` from the flags. Re-read `synthesis.md` for the desloped plan. The summary block stays out of the plan body; print its one line after `Plan ready for review.`\n\n3. Apply the result references from step 1 with `RESULT_KIND` = `plan`, `ARTIFACT_PATH` = the desloped `synthesis.md`, `SESSION_DIR`, `PASS_COUNT` = the resolved pass count, `IN_PLAN_MODE` = true, `LABEL_MAP_PATH` = `\u003Csession_dir>\u002Fpass-NNNN\u002Flabel-map.json`.\n\n4. Write the rendered plan to the plan file, then emit `Plan ready for review.`\n\n5. After every pass, record it through the relay (`update --completed-passes \u003CN> --event pass_complete`).\n\n---\n\n## Phase 4: Multi-pass refinement\n\nSkip when `passes` is 1. Run the later passes per `ensemble-core.md` (Later passes), targeting only unresolved conflicts from the prior adjudication, critic findings from the prior pass, and any dimension scored below 5 on any response; the relay creates the pass and writes the prompt. The Claude lane reads prior artifacts by path; external lanes get them inline. Re-synthesize per Phase 3.\n\nOn the final pass, run Phase 3 steps 2 to 5 on `pass-\u003CN>\u002Fsynthesis.md`, adding a **Plan Evolution** section that says what was strengthened, corrected, or added across passes.\n\n---\n\n## Finish\n\nFollow `ensemble-core.md` (Finish), through the relay.\n\n## Rules\n\n- Never exit plan mode.\n- Every plan step is one atomic commit.\n",{"name":5,"description":7,"allowed-tools":24,"argument-hint":33,"disable-model-invocation":34},[25,26,27,28,29,30,31,32],"Bash","Read","Grep","Glob","Write","Task","AskUserQuestion","EnterPlanMode","[--passes=N] [--timeout=N|none] [--mode=fast|balanced|deep] [--no-deslop|--quiet-deslop|--verbose-deslop] [--workers=subagents|model-clis] \u003Ctask description>",true,"main","5fbeb3b47beedea13813be7b7023f736a8d97a65","plugins\u002Fweave\u002Fskills\u002Fplan","https:\u002F\u002Fgithub.com\u002Ftony\u002Fskills","https:\u002F\u002Fgithub.com\u002Ftony","https:\u002F\u002Ftony.sh","lighthouse keeper","2026-11-08 17:57:34",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":34},[45,48,51],{"tool":46,"command":47},"npx","npx skills add tony\u002Fskills --skill plan",{"tool":49,"command":50},"bunx","bunx skills add tony\u002Fskills --skill plan",{"tool":52,"command":53},"pnpm","pnpm dlx skills add tony\u002Fskills --skill plan","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftony\u002Fskills\u002Fblob\u002Fmain\u002Fplugins\u002Fweave\u002Fskills\u002Fplan\u002FSKILL.md",[56],{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"agents\u002Fopenai.yaml","REFERENCE","参考文档",280,"https:\u002F\u002Fgithub.com\u002Ftony\u002Fskills\u002Fblob\u002Fmain\u002Fplugins\u002Fweave\u002Fskills\u002Fplan\u002Fagents\u002Fopenai.yaml",[63,70,77,84,91,98],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7E8NCSHXV2JPW4J61R0TQS7","serene-bliss","Use when asked to make a CLI --help, docs page, error message, or tooling UX more serene or calmer for developer experience; returns text, no edits.","https:\u002F\u002Fgithub.com\u002Ftony\u002Fskills\u002Fblob\u002Fmain\u002Fplugins\u002Fweave\u002Fskills\u002Fserene-bliss\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7E8N87MAVJD8RRQKQB1ZPS6","review","Weave code review: run independent adversarial reviews in parallel, then synthesize findings","https:\u002F\u002Fgithub.com\u002Ftony\u002Fskills\u002Fblob\u002Fmain\u002Fplugins\u002Fweave\u002Fskills\u002Freview\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7E8N402XG4ZBFNACQ413163","refine","Use when asked to refine a draft, iterate on code until cleaner, or polish a README through repeated critique and improvement.","https:\u002F\u002Fgithub.com\u002Ftony\u002Fskills\u002Fblob\u002Fmain\u002Fplugins\u002Fweave\u002Fskills\u002Frefine\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7E8N01KB86A7136P00GVKJW","prompt","Weave prompt: compare independent adversarial implementations, then adopt the single best one","https:\u002F\u002Fgithub.com\u002Ftony\u002Fskills\u002Fblob\u002Fmain\u002Fplugins\u002Fweave\u002Fskills\u002Fprompt\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7E8MSBYXNCV4ZYWDS4PFJXK","fix-review","Fix weave review findings: validate, add test coverage, fix, and commit each as atomic changes","https:\u002F\u002Fgithub.com\u002Ftony\u002Fskills\u002Fblob\u002Fmain\u002Fplugins\u002Fweave\u002Fskills\u002Ffix-review\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M7E8MMH1PC5WS7FT0X5FXWK8","execute","Weave execute: compare independent adversarial implementations, then synthesize their best parts","https:\u002F\u002Fgithub.com\u002Ftony\u002Fskills\u002Fblob\u002Fmain\u002Fplugins\u002Fweave\u002Fskills\u002Fexecute\u002FSKILL.md",[],[]]