[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M732966M6JDFDHAQZRV781HH":3,"skill-same:01M732966M6JDFDHAQZRV781HH":47},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M732966M6JDFDHAQZRV781HH","clarify",null,"Full execution protocol for MODE: CLARIFY -- structured clarification funnel with critic review before surfacing user decisions.","djimit\u002Fdjimitflo","djimit","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F19958832?v=4","01M7327CH792DZPFZPYAEFPRXT","Dutch Dim","01M7327CHWPSXT9AWE4MPWCX9Q",2,"MIT","https:\u002F\u002Fgithub.com\u002Fdjimit\u002Fdjimitflo\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fclarify\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: clarify\ndescription: >\n  Full execution protocol for MODE: CLARIFY -- structured clarification funnel with critic review before surfacing user decisions.\n---\n\n# Clarify Protocol\n\nThis protocol is loaded on demand by the architect stub in src\u002Fagents\u002Farchitect.ts. The architect prompt keeps only activation, action, and hard safety constraints; the full execution details live here.\n\n### MODE: CLARIFY\nAmbiguous request → Run the clarification funnel\nClear request → MODE: DISCOVER\n\n### Clarification Funnel\n\nBefore surfacing any clarification question to the user, the architect MUST run this four-stage funnel. The goal is to limit unnecessary user interruption, not planning completeness.\n\n#### Stage 1: Inventory All Material Uncertainties\n\nIdentify ALL uncertainties that could affect:\n- Scope boundaries\n- User-visible behavior\n- Destructive behavior or data loss\n- Security\u002Fprivacy posture\n- Backward compatibility\n- Migrations or rollout strategy\n- Cost\u002Fperformance tradeoffs\n- Operational complexity\n- QA gate selection or enforcement strictness\n- Architecture choice among materially different paths\n- Dependency or platform assumptions\n\nThere is NO hard cap on the internal inventory. Record every material uncertainty found.\n\n#### Stage 2: Classify Each Uncertainty\n\nClassify each item as exactly one of:\n- `self_resolved`: answered from the user request, spec, plan, codebase reality check, `.swarm\u002Fcontext.md`, repo conventions, or an informed default. **If the default is not directly supported by user request, spec, or recorded context, classify as `user_decision` rather than `self_resolved`.**\n- `critic_resolved`: sent to Critic Sounding Board and resolved by the critic.\n- `research_needed`: needs SME\u002Fexplorer\u002Fdomain lookup before user escalation. **Important:** If research is ongoing, monitor the timeout configured in `.swarm\u002Fconfig.json` under `research_needed_timeout_ms` (default: 300000ms \u002F 5 minutes). If research does not complete before the timeout expires, automatically reclassify the item to `user_decision` with a note that research was incomplete, then surface it to the user. This prevents the clarification funnel from stalling while waiting for external research.\n- `user_decision`: only the user can decide because it affects product scope, risk tolerance, policy, budget, UX, rollout, or destructive behavior.\n- `deferred_nonblocking`: useful follow-up detail that does not block a correct initial plan and can be explicitly recorded as an assumption or follow-up.\n\n#### Stage 3: Consult Critic Sounding Board\n\nBefore asking the user any clarification question, the architect MUST consult `critic_sounding_board` with the candidate question set and context.\n\nFor each item classified as `research_needed` or `user_decision` in Stage 2, send it to the critic. The critic responds with a verdict from `SoundingBoardVerdict` (see `src\u002Fagents\u002Fcritic.ts`). The mapping between critic verdicts and funnel actions is:\n\n| Critic Verdict (SoundingBoardVerdict) | Funnel Action | Meaning |\n|---|---|---|\n| `UNNECESSARY` | DROP | Item is unnecessary or answerable from existing context |\n| `RESOLVE` | RESOLVE | Critic supplies the answer or recommended default |\n| `REPHRASE` | REPHRASE | Question is valid but should be clearer, narrower, or grouped |\n| `APPROVED` | ASK_USER | User decision is genuinely required |\n\n**Hard constraint:** Items in the Always-Surface Categories list (below) MUST NOT receive `UNNECESSARY`\u002F`DROP` from the critic — only `REPHRASE` or `APPROVED`\u002F`ASK_USER` are allowed. If the critic attempts to `UNNECESSARY`\u002F`DROP` an always-surface item, override to `APPROVED`\u002F`ASK_USER`.\n\n**Overconfidence guard:** If the critic attempts to self-resolve an item by supplying an answer (verdict `RESOLVE`) but the underlying default is not directly supported by user request, spec, or recorded context, the architect MUST classify the item as `user_decision` rather than `self_resolved`. Unsupported defaults must not be silently accepted.\n\nUpdate classifications based on critic response:\n- `UNNECESSARY`\u002F`DROP` → reclassify as `self_resolved` and record the reason.\n- `RESOLVE` → reclassify as `critic_resolved` and record the answer as an assumption.\n- `REPHRASE` → update the question wording and keep as candidate.\n- `APPROVED`\u002F`ASK_USER` → confirm as `user_decision`.\n\nRecord all resolved items as explicit assumptions before proceeding.\n\n#### Stage 4: Surface User Decision Packet\n\nIf any items remain classified as `user_decision` after Stage 3, present them as a structured decision packet — NOT as an arbitrary subset.\n\nThe packet MUST include for each decision:\n- Category grouping (scope, security, compatibility, performance, UX, rollout, QA policy)\n- Why the decision matters\n- Recommended default when safe\n- Options being weighed\n- Impact of accepting the default\n- Blocking vs optional marker\n\nThe architect MAY ask questions one at a time in interactive mode, but MUST preserve and report the full unresolved list. The architect MUST NOT drop unresolved decisions because of a session question cap.\n\n### Always-Surface Categories\n\nThe critic may improve wording or confirm prior context, but these categories MUST be surfaced to the user unless already explicitly answered by the user or by recorded context:\n- Scope boundaries: what is in or out\n- Data loss or destructive behavior\n- Security\u002Fprivacy risk tolerance\n- Backward compatibility or migration policy\n- Breaking changes to existing APIs, contracts, or interfaces\n- New dependency additions or version changes\n- Deprecation decisions for existing features or APIs\n- Cross-platform impact (Windows\u002FmacOS\u002FLinux differences)\n- Cost\u002Fperformance tradeoffs\n- User-visible behavior and UX choices\n- Release\u002Frollout strategy\n- Optional QA gates or stricter enforcement modes\n- Any choice that changes whether the work is advisory vs hard-blocking\n\n### Assumptions Recording\n\nAll items resolved in Stages 2-3 (self_resolved, critic_resolved, deferred_nonblocking) MUST be recorded as explicit assumptions in the spec, plan, or `.swarm\u002Fcontext.md`. Silently dropping resolved uncertainties is a protocol violation — every uncertainty that entered the funnel must have a recorded outcome.\n\n### Mechanical Enforcement of DROP Protection\n\n**Implementation Note:** The hard constraint against `DROP` on always-surface items (defined in Stage 3 of the clarification funnel) is currently enforced via skill instructions to the architect. A lightweight runtime enforcement mechanism is recommended: when processing the critic sounding board verdict response in `src\u002Fagents\u002Fcritic.ts`, validate that any items tagged as \"always-surface\" do not receive `UNNECESSARY`\u002F`DROP` verdicts. If a DROP verdict is encountered on an always-surface item, override it to `APPROVED`\u002F`ASK_USER` at the code level rather than relying solely on prompt-based enforcement.\n\nThis mechanical enforcement prevents the following failure mode: the architect prompt instructs the override, but due to parsing errors, context limits, or model behavior variance, the DROP verdict is mistakenly applied to an always-surface item and silently accepted. The validation should occur in the decision-packet assembly code (when building the final clarification packet to surface to the user) and should emit a warning log when an override is applied.\n","# Clarify Protocol\n\nThis protocol is loaded on demand by the architect stub in src\u002Fagents\u002Farchitect.ts. The architect prompt keeps only activation, action, and hard safety constraints; the full execution details live here.\n\n### MODE: CLARIFY\nAmbiguous request → Run the clarification funnel\nClear request → MODE: DISCOVER\n\n### Clarification Funnel\n\nBefore surfacing any clarification question to the user, the architect MUST run this four-stage funnel. The goal is to limit unnecessary user interruption, not planning completeness.\n\n#### Stage 1: Inventory All Material Uncertainties\n\nIdentify ALL uncertainties that could affect:\n- Scope boundaries\n- User-visible behavior\n- Destructive behavior or data loss\n- Security\u002Fprivacy posture\n- Backward compatibility\n- Migrations or rollout strategy\n- Cost\u002Fperformance tradeoffs\n- Operational complexity\n- QA gate selection or enforcement strictness\n- Architecture choice among materially different paths\n- Dependency or platform assumptions\n\nThere is NO hard cap on the internal inventory. Record every material uncertainty found.\n\n#### Stage 2: Classify Each Uncertainty\n\nClassify each item as exactly one of:\n- `self_resolved`: answered from the user request, spec, plan, codebase reality check, `.swarm\u002Fcontext.md`, repo conventions, or an informed default. **If the default is not directly supported by user request, spec, or recorded context, classify as `user_decision` rather than `self_resolved`.**\n- `critic_resolved`: sent to Critic Sounding Board and resolved by the critic.\n- `research_needed`: needs SME\u002Fexplorer\u002Fdomain lookup before user escalation. **Important:** If research is ongoing, monitor the timeout configured in `.swarm\u002Fconfig.json` under `research_needed_timeout_ms` (default: 300000ms \u002F 5 minutes). If research does not complete before the timeout expires, automatically reclassify the item to `user_decision` with a note that research was incomplete, then surface it to the user. This prevents the clarification funnel from stalling while waiting for external research.\n- `user_decision`: only the user can decide because it affects product scope, risk tolerance, policy, budget, UX, rollout, or destructive behavior.\n- `deferred_nonblocking`: useful follow-up detail that does not block a correct initial plan and can be explicitly recorded as an assumption or follow-up.\n\n#### Stage 3: Consult Critic Sounding Board\n\nBefore asking the user any clarification question, the architect MUST consult `critic_sounding_board` with the candidate question set and context.\n\nFor each item classified as `research_needed` or `user_decision` in Stage 2, send it to the critic. The critic responds with a verdict from `SoundingBoardVerdict` (see `src\u002Fagents\u002Fcritic.ts`). The mapping between critic verdicts and funnel actions is:\n\n| Critic Verdict (SoundingBoardVerdict) | Funnel Action | Meaning |\n|---|---|---|\n| `UNNECESSARY` | DROP | Item is unnecessary or answerable from existing context |\n| `RESOLVE` | RESOLVE | Critic supplies the answer or recommended default |\n| `REPHRASE` | REPHRASE | Question is valid but should be clearer, narrower, or grouped |\n| `APPROVED` | ASK_USER | User decision is genuinely required |\n\n**Hard constraint:** Items in the Always-Surface Categories list (below) MUST NOT receive `UNNECESSARY`\u002F`DROP` from the critic — only `REPHRASE` or `APPROVED`\u002F`ASK_USER` are allowed. If the critic attempts to `UNNECESSARY`\u002F`DROP` an always-surface item, override to `APPROVED`\u002F`ASK_USER`.\n\n**Overconfidence guard:** If the critic attempts to self-resolve an item by supplying an answer (verdict `RESOLVE`) but the underlying default is not directly supported by user request, spec, or recorded context, the architect MUST classify the item as `user_decision` rather than `self_resolved`. Unsupported defaults must not be silently accepted.\n\nUpdate classifications based on critic response:\n- `UNNECESSARY`\u002F`DROP` → reclassify as `self_resolved` and record the reason.\n- `RESOLVE` → reclassify as `critic_resolved` and record the answer as an assumption.\n- `REPHRASE` → update the question wording and keep as candidate.\n- `APPROVED`\u002F`ASK_USER` → confirm as `user_decision`.\n\nRecord all resolved items as explicit assumptions before proceeding.\n\n#### Stage 4: Surface User Decision Packet\n\nIf any items remain classified as `user_decision` after Stage 3, present them as a structured decision packet — NOT as an arbitrary subset.\n\nThe packet MUST include for each decision:\n- Category grouping (scope, security, compatibility, performance, UX, rollout, QA policy)\n- Why the decision matters\n- Recommended default when safe\n- Options being weighed\n- Impact of accepting the default\n- Blocking vs optional marker\n\nThe architect MAY ask questions one at a time in interactive mode, but MUST preserve and report the full unresolved list. The architect MUST NOT drop unresolved decisions because of a session question cap.\n\n### Always-Surface Categories\n\nThe critic may improve wording or confirm prior context, but these categories MUST be surfaced to the user unless already explicitly answered by the user or by recorded context:\n- Scope boundaries: what is in or out\n- Data loss or destructive behavior\n- Security\u002Fprivacy risk tolerance\n- Backward compatibility or migration policy\n- Breaking changes to existing APIs, contracts, or interfaces\n- New dependency additions or version changes\n- Deprecation decisions for existing features or APIs\n- Cross-platform impact (Windows\u002FmacOS\u002FLinux differences)\n- Cost\u002Fperformance tradeoffs\n- User-visible behavior and UX choices\n- Release\u002Frollout strategy\n- Optional QA gates or stricter enforcement modes\n- Any choice that changes whether the work is advisory vs hard-blocking\n\n### Assumptions Recording\n\nAll items resolved in Stages 2-3 (self_resolved, critic_resolved, deferred_nonblocking) MUST be recorded as explicit assumptions in the spec, plan, or `.swarm\u002Fcontext.md`. Silently dropping resolved uncertainties is a protocol violation — every uncertainty that entered the funnel must have a recorded outcome.\n\n### Mechanical Enforcement of DROP Protection\n\n**Implementation Note:** The hard constraint against `DROP` on always-surface items (defined in Stage 3 of the clarification funnel) is currently enforced via skill instructions to the architect. A lightweight runtime enforcement mechanism is recommended: when processing the critic sounding board verdict response in `src\u002Fagents\u002Fcritic.ts`, validate that any items tagged as \"always-surface\" do not receive `UNNECESSARY`\u002F`DROP` verdicts. If a DROP verdict is encountered on an always-surface item, override it to `APPROVED`\u002F`ASK_USER` at the code level rather than relying solely on prompt-based enforcement.\n\nThis mechanical enforcement prevents the following failure mode: the architect prompt instructs the override, but due to parsing errors, context limits, or model behavior variance, the DROP verdict is mistakenly applied to an always-surface item and silently accepted. The validation should occur in the decision-packet assembly code (when building the final clarification packet to surface to the user) and should emit a warning log when an override is applied.\n",{"name":5,"description":7},"main","1667541871a3a917f9e544e5584ef06a544a119d",".opencode\u002Fskills\u002Fclarify",0,"https:\u002F\u002Fgithub.com\u002Fdjimit\u002Fdjimitflo","https:\u002F\u002Fgithub.com\u002Fdjimit","https:\u002F\u002Fdjimit.nl\u002F","About me\r\n\r\nI’m Dennis a strategic IT advisor specializing in cloud, cybersecurity, privacy, AI, and enterprise architecture. ","2026-11-15 04:42:36",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add djimit\u002Fdjimitflo --skill clarify",{"tool":39,"command":40},"bunx","bunx skills add djimit\u002Fdjimitflo --skill clarify",{"tool":42,"command":43},"pnpm","pnpm dlx skills add djimit\u002Fdjimitflo --skill clarify","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdjimit\u002Fdjimitflo\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fclarify\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M732DRW7MHQP9VTJ5JSBMWC3","provider-step-usage-v1-0-0","Sum measured OpenCode step_finish token totals with replay deduplication and fail-closed validation.","https:\u002F\u002Fgithub.com\u002Fdjimit\u002Fdjimitflo\u002Fblob\u002Fmain\u002Fskills\u002Fprovider-step-usage-v1-0-0\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M732DKXHWZ1P99ZDNA4PX7BV","writing-tests","Guidelines for writing, organizing, and maintaining tests in the opencode-swarm repository. Covers framework rules (bun:test), mock isolation, CI pipeline structure, file placement, and anti-patterns that break cross-platform CI. Load this skill before writing or modifying any test file.","https:\u002F\u002Fgithub.com\u002Fdjimit\u002Fdjimitflo\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fwriting-tests\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M732DCEG1R9S45A68T5WR2T7","worktree-retry-cleanup","Protocol for cleaning parallel-coder worktree lanes before retry. Triggered before re-dispatching any task that already has a lane (completed, denied, cancelled, or failed).","https:\u002F\u002Fgithub.com\u002Fdjimit\u002Fdjimitflo\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fworktree-retry-cleanup\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M732D8KYWE5RHJ1AA76F70K7","swarm","Cross-agent swarm-mode behavior model — a higher-rigor workflow using parallel investigation, independent reviewer validation, and critic challenge, plus the mandatory implementation closeout gate. Runtime adapters (.claude, .agents) add execution-specific notes and command wiring.","https:\u002F\u002Fgithub.com\u002Fdjimit\u002Fdjimitflo\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fswarm\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M732D232XCMYP3XYKEAQC3YT","swarm-pr-subscribe","Monitor a pull request after creation and act autonomously on pushed PR activity. Use when subscribing to a PR after opening it, when asked to watch, babysit, or autofix a PR until merge, or when a \u003Cpr-activity> wake message or [pr-monitor:...] advisory arrives for a subscribed PR. Owns event triage (fix \u002F ask \u002F skip), bounded-retry escalation, and terminal-state cleanup.","https:\u002F\u002Fgithub.com\u002Fdjimit\u002Fdjimitflo\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fswarm-pr-subscribe\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M732CVKJ4QEN83DQ30EYG75A","swarm-pr-review","Run a graph-guided, tool-augmented Swarm PR review using context packing, parallel exploration, triggered plugin micro-lanes, independent reviewer validation, critic challenge, and metrics writeback. Use for deep pull request review with low false-positive tolerance and high recall.","https:\u002F\u002Fgithub.com\u002Fdjimit\u002Fdjimitflo\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fswarm-pr-review\u002FSKILL.md",[],[]]