[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75KAVYMSH491NE3KJ56J7VF":3,"skill-same:01M75KAVYMSH491NE3KJ56J7VF":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"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":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M75KAVYMSH491NE3KJ56J7VF","unstuck",null,"Break through stagnation with lateral thinking personas — single or multi-persona debate","agisota\u002Fold-one","agisota","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F121413592?v=4","01M75B4BRNT67EC1NDRT8QZEP2","01M75B4BS7QR9VP580MSCPTS3X",3,"MIT","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Funstuck\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: unstuck\ndescription: \"Break through stagnation with lateral thinking personas — single or multi-persona debate\"\n---\n\n# \u002Fouroboros:unstuck\n\nBreak through stagnation with lateral thinking personas. Two modes:\n- **Solo** — one persona reframes the problem (fast, cheap).\n- **Debate** — multiple personas run in parallel as sub-agents and the user picks the verdict (visual, thorough).\n\n## Usage\n\n```\nooo lateral                       # debate (default) — all 5 lateral personas\nooo lateral \u003Cpersona>             # solo — single persona\nooo lateral debate \u003Cp1> \u003Cp2> ...  # debate with explicit members\nooo lateral @\u003Cpreset>             # debate with preset (Phase 1: only @all = 5 personas)\n```\n\nTrigger keywords: \"I'm stuck\", \"think sideways\", \"ooo lateral\", \"\u002Fouroboros:unstuck\".\n\n## Personas (Lateral Pool)\n\nThe lateral pool is **stateless mindset personas only** — five reframing lenses. Stateful roles (evaluator, qa-judge, ontologist, socratic-interviewer, etc.) are NOT mixed into this pool; they have their own SKILLs.\n\n| Persona | Style | When to Use |\n|---------|-------|-------------|\n| **hacker** | \"Make it work first, elegance later\" | When overthinking blocks progress |\n| **researcher** | \"What information are we missing?\" | When the problem is unclear |\n| **simplifier** | \"Cut scope, return to MVP\" | When complexity is overwhelming |\n| **architect** | \"Restructure the approach entirely\" | When the current design is wrong |\n| **contrarian** | \"What if we're solving the wrong problem?\" | When assumptions need challenging |\n\n## When to Call\n\n**Direct user invocation** — `ooo lateral …` from the prompt.\n\n**Autonomous chain from another SKILL** — when you (the main session) are operating in another SKILL's persona (e.g., `socratic-interviewer` during `ooo interview`, or any agent role) and judge that the current question requires multi-perspective deliberation, you MAY invoke this SKILL on your own. No forced trigger; this is your self-assessment. After the debate, summarize the options for the user, return to the original SKILL's flow, and let the user decide. The user will see the sub-agent fan-out as it happens — that visibility is the point.\n\n## Instructions\n\n### Step 1 — Parse args → mode\n\nParse the user's argument string (or your autonomous-chain intent) into a mode (solo \u002F debate):\n\n| Input | Mode | Members |\n|---|---|---|\n| no args | `debate` | all 5 lateral personas |\n| `debate` (keyword alone) | `debate` | all 5 lateral personas |\n| `\u003Cpersona>` (e.g., `hacker`) | `solo` | that one persona |\n| `debate \u003Cp1> \u003Cp2> ...` | `debate` | the listed personas |\n| `@all` | `debate` | all 5 lateral personas |\n| `@\u003Cunknown-preset>` | error | reject + list known presets |\n| `\u003Cunknown-persona>` | error | reject + list the 5 lateral personas |\n| `\u003Cpersona1> \u003Cpersona2> ...` (no `debate` keyword) | error | reject + suggest `ooo lateral debate \u003Cp1> \u003Cp2>` |\n\nValidate every persona name against the lateral pool above. If invalid, emit a brief error message naming the valid personas — do NOT silently coerce. Multiple persona tokens without the explicit `debate` keyword are rejected to keep the syntax unambiguous.\n\n### Step 2 — Gather required context **before** the MCP call\n\n`ouroboros_lateral_think` hard-fails if either `problem_context` or `current_approach` is empty (`evaluation_handlers.py:1324, 1333`). A bare `ooo lateral` from a fresh session has neither — calling MCP directly would crash before any persona work. Resolve both fields *before* Step 3, in this order:\n\n1. **Reuse session state.** If a parent SKILL is invoking this one (autonomous chain) or the current Claude Code \u002F Codex session has clearly recent stuck-point context, extract it. Build:\n   - `problem_context` — what the user is stuck on (1–3 sentences, current state of the world).\n   - `current_approach` — what has been tried so far (1–3 sentences). For a brand-new attempt, this can be `\"none yet — first attempt\"`.\n   - `failed_attempts` (optional) — short list of prior failures, when the user has volunteered them.\n2. **If either field is unrecoverable**, ask the user *one* short combined question before going further (this applies to both solo and debate — the handler requires both fields either way):\n   > \"Two things I need before lateral thinking can run: (1) what are you stuck on right now, (2) what have you already tried? A sentence each is enough.\"\n   Wait for the answer. Do **not** invent or paraphrase past turns into these fields if you are not certain — `current_approach=\"not specified\"` is acceptable, fabricated content is not.\n3. Only when both fields are populated, proceed to Step 3.\n\nThis pre-call branch applies to solo *and* debate. Skipping it makes `ooo lateral` (no args, fresh session) reliably error.\n\n### Step 3 — Always call `ouroboros_lateral_think` (routing contract)\n\nPer the `ooo` routing contract in `src\u002Fouroboros\u002Fcodex\u002Fouroboros.md`, every `ooo lateral` invocation MUST route through the MCP tool — solo *and* debate, in every runtime. This SKILL never substitutes a direct sub-agent fan-out for the MCP call.\n\n1. Call `ToolSearch` with query `\"+ouroboros lateral\"` to load `ouroboros_lateral_think` (often prefixed, e.g., `mcp__plugin_ouroboros_ouroboros__ouroboros_lateral_think`). Deferred tools won't appear until `ToolSearch` runs.\n2. Invoke the tool with the parsed mode and the context from Step 2:\n   - **Solo**: `persona=\u003Cone>`, `problem_context`, `current_approach`, `failed_attempts`.\n   - **Debate**: `personas=[...]`, `problem_context`, `current_approach`, `failed_attempts`.\n3. If `ToolSearch` cannot load the tool, **stop and report that the MCP dispatch surface is broken** — same rule the contract applies to `ooo auto`. Do not improvise a sub-agent fan-out as a workaround; that bypasses the contract the bot review explicitly flagged.\n\nThe MCP call is cheap. The handler's inline path is a *deterministic prompt builder* — it constructs per-persona reframing prompts via `LateralThinker.generate_alternative` (`src\u002Fouroboros\u002Fmcp\u002Ftools\u002Fevaluation_handlers.py:1444+`); it does not run an LLM rollout.\n\n### Step 4 — Branch on the handler's response shape\n\nThe handler picks one of two response shapes based on `should_dispatch_via_plugin(...)` (`src\u002Fouroboros\u002Fmcp\u002Ftools\u002Fsubagent.py:186-218`). You do not choose; you observe and act. The envelope key further depends on the mode you called with — solo and debate are not symmetric:\n\n| Mode | Plugin response | Inline response |\n|---|---|---|\n| Solo (`persona=...`) | single `_subagent` envelope (one object) — `evaluation_handlers.py:1536-1563` | single `# Lateral Thinking: \u003Capproach>` block in `content` |\n| Debate (`personas=[...]`) | `_subagents` array (N objects) — `evaluation_handlers.py:1414+` | N blocks joined by `\\n\\n---\\n\\n` in `content`, **plus** an appended hidden dispatch block carrying the same canonical N payloads (see \"Inline dispatch block\" below) |\n\n**Inline dispatch block (debate, inline response only).** The handler appends a versioned, sentinel-bracketed dispatch block to the end of `content` so that callers can recover the canonical structured payloads even though the FastMCP adapter drops `meta` on the wire (`src\u002Fouroboros\u002Fmcp\u002Fserver\u002Fadapter.py:923`, `src\u002Fouroboros\u002Fmcp\u002Ftools\u002Fsubagent.py:141-144`). Format:\n\n```\n\u003C!-- ouroboros-lateral-inline-dispatch-v1 base64\n\u003Cbase64-encoded-JSON>\n-->\n```\n\nTwo pieces matter:\n\n- **Hidden HTML comment** — markdown viewers render nothing for `\u003C!-- ... -->`, so the block doesn't pollute the human-visible output.\n- **Base64 body** — base64's alphabet is `[A-Za-z0-9+\u002F=]`, which can never produce the sequence `-->`. So even if a user-supplied `problem_context` or `current_approach` contains `-->` (HTML\u002FJS debugging is the obvious case), the encoded body cannot prematurely close the wrapper and leak the dispatch into the visible markdown.\n\nDecoded, the body is JSON:\n\n```json\n{\"dispatch_mode\": \"inline_fallback\", \"persona_count\": N, \"payloads\": [...]}\n```\n\nTo recover: locate the substring between `\u003C!-- ouroboros-lateral-inline-dispatch-v1 base64\\n` and `\\n-->` at the end of `content`, base64-decode it, then `JSON.parse`. (See `tests\u002Funit\u002Fmcp\u002Ftools\u002Ftest_lateral_think_handler.py::_extract_inline_dispatch` for the canonical extraction helper.)\n\n#### Shape A — `dispatch_mode = \"plugin\"` (OpenCode plugin mode only)\n\nThe plugin runtime spawns Task panes automatically from whichever envelope the handler emitted. You only need to read the right key and await the result(s):\n\n##### Solo (plugin)\n\nThe response carries a single `_subagent` object (singular) — `{tool_name, title, prompt, agent, model, context}` — produced by `build_subagent_result` (`evaluation_handlers.py:1554+`). The plugin spawns one Task pane. Await its single result, then present the persona's reframing.\n\n##### Debate (plugin)\n\nThe response carries a `_subagents` array (plural) — `[{tool_name, title, prompt, agent, model, context}, ...]` — produced by `build_multi_subagent_result` (`evaluation_handlers.py:1419+`). The plugin spawns N Task panes in parallel. Await all N results, then synthesize per the **Synthesize** block below.\n\nIf you expected plugin mode but the response is inline text (neither `_subagent` nor `_subagents`), you are not actually in plugin mode — fall through to Shape B; do not wait for an envelope that will not arrive.\n\n#### Shape B — inline response (Claude Code, Codex CLI, OpenCode subprocess, every other runtime)\n\nThe handler ran the prompt builder internally and returned ready-to-use markdown:\n\n- Solo response: a single `# Lateral Thinking: \u003Capproach>` block followed by the reframing prompt.\n- Debate response (`dispatch_mode = \"inline_fallback\"`): N such blocks concatenated with `\\n\\n---\\n\\n` separators.\n\n##### Solo (any runtime)\n\nPresent the persona's approach summary, reframing prompt, questions to consider, and a `📍 Next:` suggestion routing back to the workflow.\n\n##### Debate, runtime supports sub-agent dispatch (Claude Code Task tool, Codex CLI sub-agent, etc.)\n\nThis is the **default debate UX for Claude Code and Codex**. The MCP call has already happened (Step 3), so the routing contract is satisfied; this step only changes how the *already-built* canonical prompts are rendered to the user.\n\nRecover the structured dispatch from the inline dispatch block appended to `content` (see the \"Inline dispatch block\" note above the table). Each entry under `payloads[]` is a `{tool_name, title, prompt, agent, model, context}` dict; `prompt` is self-contained — it carries the **same canonical reframing plus the \"Task for you (subagent)\" wrapper** that plugin mode dispatches via `_subagents` (asking for a concrete plan, the biggest assumption challenged, and a one-line verdict). Same builder, byte-identical prompts across runtimes.\n\nDriving fan-out from this dispatch block — instead of from the joined human-display text — avoids two pitfalls the bot review surfaced:\n- **Separator collision** — `\\n\\n---\\n\\n` can legitimately appear inside a user-supplied `problem_context` or `current_approach`, so splitting the joined text would over-fragment and corrupt prompts. The dispatch block uses a unique versioned sentinel that user content cannot collide with.\n- **Behavioral drift across runtimes** — the dispatch block carries the same canonical payloads `_subagents` carries, so debate results don't diverge by environment.\n\n1. Locate the dispatch block at the end of the MCP response's `content` text — the substring between `\u003C!-- ouroboros-lateral-inline-dispatch-v1 base64\\n` and `\\n-->`. Base64-decode the captured body, then `JSON.parse` to get `{dispatch_mode, persona_count, payloads}`. If the block is missing (older handler that pre-dates the v1 sentinel), fall through to the constrained-runtime path below — *do not* split the joined text.\n2. Surface a short \"what the lateral toolkit suggests\" header to the user, with the markdown above the dispatch block, so the MCP call is visible as a real product surface, not silent.\n3. In a **single message**, emit N parallel `Task` calls (`general-purpose` subagent) — one per entry in `payloads`. Each Task receives the payload's `prompt` verbatim plus the payload's `context` so the persona is grounded. Strict isolation per Task. The user sees \"Running N agents…\".\n4. Wait for all N to return.\n5. (Optional) **Round 2 cross-attack** — only if Round 1 answers diverge meaningfully. Dispatch a second N-fan-out where each persona receives short summaries of the other answers and is asked: \"Identify one weakness in each. ≤200 words.\" Skip if Round 1 already converges.\n6. Synthesize per the **Synthesize** block below.\n\n##### Debate, runtime cannot dispatch sub-agents (constrained subprocess, no Task surface)\n\nPresent the concatenated markdown the handler returned, as-is — no parsing required, the user reads the whole text. There is no per-persona visualization and no Round 2 cross-attack — both require a sub-agent surface. Synthesize directly from the inline text.\n\n##### Synthesize (debate, all shapes)\n\nDo **not** auto-emit a verdict. Present:\n\n```\n## Debate result — N personas\n\n### Options\n- **Option A** (from \u003Cpersona>): \u003Cone-liner>\n- **Option B** (from \u003Cpersona>): \u003Cone-liner>\n- …\n\n### Disagreements\n- \u003Cpersona X> vs \u003Cpersona Y>: \u003Cwhat they disagree about>\n\n### Recommended (with reasoning)\n\u003Cyour single best read of the debate, clearly labeled as your\nrecommendation, not a verdict>\n\n📍 Next: pick an option, or `ooo lateral debate \u003Csubset>` to drill into a disagreement\n```\n\nThe verdict is the user's. Never auto-progress to the next workflow step on the user's behalf — wait for their choice.\n\n## Persona-selection heuristics (when args are empty and you must pick one for solo)\n\nYou only need this if a parent SKILL or the user explicitly requests *one* persona but doesn't name one. In debate mode, no selection needed (use all 5).\n\n- Repeated similar failures → **contrarian** (challenge assumptions)\n- Too many options → **simplifier** (reduce scope)\n- Missing information → **researcher** (seek data)\n- Analysis paralysis → **hacker** (just make it work)\n- Structural issues → **architect** (redesign)\n\n## When MCP is unavailable\n\nThe contract is \"fail loud, don't substitute\": if `ouroboros_lateral_think` cannot be loaded via `ToolSearch`, stop and report that the MCP dispatch surface is broken. Do not improvise either solo or debate by reading persona files directly when MCP-driven invocation was requested — that re-introduces the contract bypass the bot review flagged.\n\nThe one exception, retained for documented offline use: a parent SKILL operating in degraded-offline mode that has *already* announced it cannot reach MCP MAY read `src\u002Fouroboros\u002Fagents\u002F\u003Cpersona>.md` and adopt that persona inline for solo reframing. This is not a fallback for `ooo lateral`; it's a degraded helper for a parent SKILL that has already given up on MCP. Debate has no offline equivalent — report the broken surface and stop.\n\n## Examples\n\n### Solo\n```\nUser: I'm stuck on the database schema design.\n> ooo lateral simplifier\n\n# Lateral Thinking: Reduce to Minimum Viable Schema\nStart with exactly 2 tables. If you can't build the core feature\nwith 2 tables, you haven't found the core feature yet.\n\n📍 Next: try this, then `ooo run` — or `ooo interview` to re-examine.\n```\n\n### Debate (default — Claude Code \u002F Codex CLI)\n```\n> ooo lateral\n\n[Step 2: Confirm problem_context + current_approach are present;\n ask the user one short combined question if not]\n[ToolSearch loads ouroboros_lateral_think]\n[Call ouroboros_lateral_think(personas=[hacker,researcher,simplifier,architect,contrarian], ...)]\n[Handler returns: content = N persona blocks joined by ---,\n                  followed by hidden \u003C!-- ouroboros-lateral-inline-dispatch-v1 base64\n                  \u003Cbase64 body> --> sentinel block]\n[Extract via the sentinel; base64-decode then JSON.parse → payloads[]]\n[Single message: 5 parallel Task calls — one per payloads[] entry,\n each Task receives payload.prompt + payload.context verbatim;\n the visible markdown is shown to the user as the lateral scaffold]\n[User sees \"Running 5 agents…\"]\n[Round 1 returns]\n\n## Debate result — 5 personas\n### Options\n- A (hacker): ship the 50-line version, defer correctness\n- B (architect): the data model is wrong, redesign before coding\n- C (simplifier): cut feature X, the rest fits in one file\n- D (researcher): we don't have user data; instrument first\n- E (contrarian): are users actually asking for this?\n\n### Disagreements\n- hacker vs architect: ship-first vs redesign-first\n- contrarian vs all: whether the problem is real\n\n### Recommended\nLean toward C+E: validate the need (E) before scoping (C); A and B\nboth assume the feature is wanted.\n\n📍 Next: pick an option, or `ooo lateral debate hacker contrarian` to drill in.\n```\n\n### Autonomous chain from interview\n```\n[ooo interview mid-flow; main session is wearing the socratic-interviewer persona]\n[Main session judges that the next question is too tangled — multiple\n reframings could be valid and asking the user to disambiguate would itself\n be confusing. It chains to this SKILL on its own.]\n\n(autonomous) ooo lateral\n[5-agent debate runs in parallel sub-agents; the user sees \"Running 5 agents…\"]\n[Main session presents options + disagreements + a recommendation]\n[User picks an option — or asks for a follow-up debate]\n[Main session resumes the interview with the chosen framing]\n```\n","# \u002Fouroboros:unstuck\n\nBreak through stagnation with lateral thinking personas. Two modes:\n- **Solo** — one persona reframes the problem (fast, cheap).\n- **Debate** — multiple personas run in parallel as sub-agents and the user picks the verdict (visual, thorough).\n\n## Usage\n\n```\nooo lateral                       # debate (default) — all 5 lateral personas\nooo lateral \u003Cpersona>             # solo — single persona\nooo lateral debate \u003Cp1> \u003Cp2> ...  # debate with explicit members\nooo lateral @\u003Cpreset>             # debate with preset (Phase 1: only @all = 5 personas)\n```\n\nTrigger keywords: \"I'm stuck\", \"think sideways\", \"ooo lateral\", \"\u002Fouroboros:unstuck\".\n\n## Personas (Lateral Pool)\n\nThe lateral pool is **stateless mindset personas only** — five reframing lenses. Stateful roles (evaluator, qa-judge, ontologist, socratic-interviewer, etc.) are NOT mixed into this pool; they have their own SKILLs.\n\n| Persona | Style | When to Use |\n|---------|-------|-------------|\n| **hacker** | \"Make it work first, elegance later\" | When overthinking blocks progress |\n| **researcher** | \"What information are we missing?\" | When the problem is unclear |\n| **simplifier** | \"Cut scope, return to MVP\" | When complexity is overwhelming |\n| **architect** | \"Restructure the approach entirely\" | When the current design is wrong |\n| **contrarian** | \"What if we're solving the wrong problem?\" | When assumptions need challenging |\n\n## When to Call\n\n**Direct user invocation** — `ooo lateral …` from the prompt.\n\n**Autonomous chain from another SKILL** — when you (the main session) are operating in another SKILL's persona (e.g., `socratic-interviewer` during `ooo interview`, or any agent role) and judge that the current question requires multi-perspective deliberation, you MAY invoke this SKILL on your own. No forced trigger; this is your self-assessment. After the debate, summarize the options for the user, return to the original SKILL's flow, and let the user decide. The user will see the sub-agent fan-out as it happens — that visibility is the point.\n\n## Instructions\n\n### Step 1 — Parse args → mode\n\nParse the user's argument string (or your autonomous-chain intent) into a mode (solo \u002F debate):\n\n| Input | Mode | Members |\n|---|---|---|\n| no args | `debate` | all 5 lateral personas |\n| `debate` (keyword alone) | `debate` | all 5 lateral personas |\n| `\u003Cpersona>` (e.g., `hacker`) | `solo` | that one persona |\n| `debate \u003Cp1> \u003Cp2> ...` | `debate` | the listed personas |\n| `@all` | `debate` | all 5 lateral personas |\n| `@\u003Cunknown-preset>` | error | reject + list known presets |\n| `\u003Cunknown-persona>` | error | reject + list the 5 lateral personas |\n| `\u003Cpersona1> \u003Cpersona2> ...` (no `debate` keyword) | error | reject + suggest `ooo lateral debate \u003Cp1> \u003Cp2>` |\n\nValidate every persona name against the lateral pool above. If invalid, emit a brief error message naming the valid personas — do NOT silently coerce. Multiple persona tokens without the explicit `debate` keyword are rejected to keep the syntax unambiguous.\n\n### Step 2 — Gather required context **before** the MCP call\n\n`ouroboros_lateral_think` hard-fails if either `problem_context` or `current_approach` is empty (`evaluation_handlers.py:1324, 1333`). A bare `ooo lateral` from a fresh session has neither — calling MCP directly would crash before any persona work. Resolve both fields *before* Step 3, in this order:\n\n1. **Reuse session state.** If a parent SKILL is invoking this one (autonomous chain) or the current Claude Code \u002F Codex session has clearly recent stuck-point context, extract it. Build:\n   - `problem_context` — what the user is stuck on (1–3 sentences, current state of the world).\n   - `current_approach` — what has been tried so far (1–3 sentences). For a brand-new attempt, this can be `\"none yet — first attempt\"`.\n   - `failed_attempts` (optional) — short list of prior failures, when the user has volunteered them.\n2. **If either field is unrecoverable**, ask the user *one* short combined question before going further (this applies to both solo and debate — the handler requires both fields either way):\n   > \"Two things I need before lateral thinking can run: (1) what are you stuck on right now, (2) what have you already tried? A sentence each is enough.\"\n   Wait for the answer. Do **not** invent or paraphrase past turns into these fields if you are not certain — `current_approach=\"not specified\"` is acceptable, fabricated content is not.\n3. Only when both fields are populated, proceed to Step 3.\n\nThis pre-call branch applies to solo *and* debate. Skipping it makes `ooo lateral` (no args, fresh session) reliably error.\n\n### Step 3 — Always call `ouroboros_lateral_think` (routing contract)\n\nPer the `ooo` routing contract in `src\u002Fouroboros\u002Fcodex\u002Fouroboros.md`, every `ooo lateral` invocation MUST route through the MCP tool — solo *and* debate, in every runtime. This SKILL never substitutes a direct sub-agent fan-out for the MCP call.\n\n1. Call `ToolSearch` with query `\"+ouroboros lateral\"` to load `ouroboros_lateral_think` (often prefixed, e.g., `mcp__plugin_ouroboros_ouroboros__ouroboros_lateral_think`). Deferred tools won't appear until `ToolSearch` runs.\n2. Invoke the tool with the parsed mode and the context from Step 2:\n   - **Solo**: `persona=\u003Cone>`, `problem_context`, `current_approach`, `failed_attempts`.\n   - **Debate**: `personas=[...]`, `problem_context`, `current_approach`, `failed_attempts`.\n3. If `ToolSearch` cannot load the tool, **stop and report that the MCP dispatch surface is broken** — same rule the contract applies to `ooo auto`. Do not improvise a sub-agent fan-out as a workaround; that bypasses the contract the bot review explicitly flagged.\n\nThe MCP call is cheap. The handler's inline path is a *deterministic prompt builder* — it constructs per-persona reframing prompts via `LateralThinker.generate_alternative` (`src\u002Fouroboros\u002Fmcp\u002Ftools\u002Fevaluation_handlers.py:1444+`); it does not run an LLM rollout.\n\n### Step 4 — Branch on the handler's response shape\n\nThe handler picks one of two response shapes based on `should_dispatch_via_plugin(...)` (`src\u002Fouroboros\u002Fmcp\u002Ftools\u002Fsubagent.py:186-218`). You do not choose; you observe and act. The envelope key further depends on the mode you called with — solo and debate are not symmetric:\n\n| Mode | Plugin response | Inline response |\n|---|---|---|\n| Solo (`persona=...`) | single `_subagent` envelope (one object) — `evaluation_handlers.py:1536-1563` | single `# Lateral Thinking: \u003Capproach>` block in `content` |\n| Debate (`personas=[...]`) | `_subagents` array (N objects) — `evaluation_handlers.py:1414+` | N blocks joined by `\\n\\n---\\n\\n` in `content`, **plus** an appended hidden dispatch block carrying the same canonical N payloads (see \"Inline dispatch block\" below) |\n\n**Inline dispatch block (debate, inline response only).** The handler appends a versioned, sentinel-bracketed dispatch block to the end of `content` so that callers can recover the canonical structured payloads even though the FastMCP adapter drops `meta` on the wire (`src\u002Fouroboros\u002Fmcp\u002Fserver\u002Fadapter.py:923`, `src\u002Fouroboros\u002Fmcp\u002Ftools\u002Fsubagent.py:141-144`). Format:\n\n```\n\u003C!-- ouroboros-lateral-inline-dispatch-v1 base64\n\u003Cbase64-encoded-JSON>\n-->\n```\n\nTwo pieces matter:\n\n- **Hidden HTML comment** — markdown viewers render nothing for `\u003C!-- ... -->`, so the block doesn't pollute the human-visible output.\n- **Base64 body** — base64's alphabet is `[A-Za-z0-9+\u002F=]`, which can never produce the sequence `-->`. So even if a user-supplied `problem_context` or `current_approach` contains `-->` (HTML\u002FJS debugging is the obvious case), the encoded body cannot prematurely close the wrapper and leak the dispatch into the visible markdown.\n\nDecoded, the body is JSON:\n\n```json\n{\"dispatch_mode\": \"inline_fallback\", \"persona_count\": N, \"payloads\": [...]}\n```\n\nTo recover: locate the substring between `\u003C!-- ouroboros-lateral-inline-dispatch-v1 base64\\n` and `\\n-->` at the end of `content`, base64-decode it, then `JSON.parse`. (See `tests\u002Funit\u002Fmcp\u002Ftools\u002Ftest_lateral_think_handler.py::_extract_inline_dispatch` for the canonical extraction helper.)\n\n#### Shape A — `dispatch_mode = \"plugin\"` (OpenCode plugin mode only)\n\nThe plugin runtime spawns Task panes automatically from whichever envelope the handler emitted. You only need to read the right key and await the result(s):\n\n##### Solo (plugin)\n\nThe response carries a single `_subagent` object (singular) — `{tool_name, title, prompt, agent, model, context}` — produced by `build_subagent_result` (`evaluation_handlers.py:1554+`). The plugin spawns one Task pane. Await its single result, then present the persona's reframing.\n\n##### Debate (plugin)\n\nThe response carries a `_subagents` array (plural) — `[{tool_name, title, prompt, agent, model, context}, ...]` — produced by `build_multi_subagent_result` (`evaluation_handlers.py:1419+`). The plugin spawns N Task panes in parallel. Await all N results, then synthesize per the **Synthesize** block below.\n\nIf you expected plugin mode but the response is inline text (neither `_subagent` nor `_subagents`), you are not actually in plugin mode — fall through to Shape B; do not wait for an envelope that will not arrive.\n\n#### Shape B — inline response (Claude Code, Codex CLI, OpenCode subprocess, every other runtime)\n\nThe handler ran the prompt builder internally and returned ready-to-use markdown:\n\n- Solo response: a single `# Lateral Thinking: \u003Capproach>` block followed by the reframing prompt.\n- Debate response (`dispatch_mode = \"inline_fallback\"`): N such blocks concatenated with `\\n\\n---\\n\\n` separators.\n\n##### Solo (any runtime)\n\nPresent the persona's approach summary, reframing prompt, questions to consider, and a `📍 Next:` suggestion routing back to the workflow.\n\n##### Debate, runtime supports sub-agent dispatch (Claude Code Task tool, Codex CLI sub-agent, etc.)\n\nThis is the **default debate UX for Claude Code and Codex**. The MCP call has already happened (Step 3), so the routing contract is satisfied; this step only changes how the *already-built* canonical prompts are rendered to the user.\n\nRecover the structured dispatch from the inline dispatch block appended to `content` (see the \"Inline dispatch block\" note above the table). Each entry under `payloads[]` is a `{tool_name, title, prompt, agent, model, context}` dict; `prompt` is self-contained — it carries the **same canonical reframing plus the \"Task for you (subagent)\" wrapper** that plugin mode dispatches via `_subagents` (asking for a concrete plan, the biggest assumption challenged, and a one-line verdict). Same builder, byte-identical prompts across runtimes.\n\nDriving fan-out from this dispatch block — instead of from the joined human-display text — avoids two pitfalls the bot review surfaced:\n- **Separator collision** — `\\n\\n---\\n\\n` can legitimately appear inside a user-supplied `problem_context` or `current_approach`, so splitting the joined text would over-fragment and corrupt prompts. The dispatch block uses a unique versioned sentinel that user content cannot collide with.\n- **Behavioral drift across runtimes** — the dispatch block carries the same canonical payloads `_subagents` carries, so debate results don't diverge by environment.\n\n1. Locate the dispatch block at the end of the MCP response's `content` text — the substring between `\u003C!-- ouroboros-lateral-inline-dispatch-v1 base64\\n` and `\\n-->`. Base64-decode the captured body, then `JSON.parse` to get `{dispatch_mode, persona_count, payloads}`. If the block is missing (older handler that pre-dates the v1 sentinel), fall through to the constrained-runtime path below — *do not* split the joined text.\n2. Surface a short \"what the lateral toolkit suggests\" header to the user, with the markdown above the dispatch block, so the MCP call is visible as a real product surface, not silent.\n3. In a **single message**, emit N parallel `Task` calls (`general-purpose` subagent) — one per entry in `payloads`. Each Task receives the payload's `prompt` verbatim plus the payload's `context` so the persona is grounded. Strict isolation per Task. The user sees \"Running N agents…\".\n4. Wait for all N to return.\n5. (Optional) **Round 2 cross-attack** — only if Round 1 answers diverge meaningfully. Dispatch a second N-fan-out where each persona receives short summaries of the other answers and is asked: \"Identify one weakness in each. ≤200 words.\" Skip if Round 1 already converges.\n6. Synthesize per the **Synthesize** block below.\n\n##### Debate, runtime cannot dispatch sub-agents (constrained subprocess, no Task surface)\n\nPresent the concatenated markdown the handler returned, as-is — no parsing required, the user reads the whole text. There is no per-persona visualization and no Round 2 cross-attack — both require a sub-agent surface. Synthesize directly from the inline text.\n\n##### Synthesize (debate, all shapes)\n\nDo **not** auto-emit a verdict. Present:\n\n```\n## Debate result — N personas\n\n### Options\n- **Option A** (from \u003Cpersona>): \u003Cone-liner>\n- **Option B** (from \u003Cpersona>): \u003Cone-liner>\n- …\n\n### Disagreements\n- \u003Cpersona X> vs \u003Cpersona Y>: \u003Cwhat they disagree about>\n\n### Recommended (with reasoning)\n\u003Cyour single best read of the debate, clearly labeled as your\nrecommendation, not a verdict>\n\n📍 Next: pick an option, or `ooo lateral debate \u003Csubset>` to drill into a disagreement\n```\n\nThe verdict is the user's. Never auto-progress to the next workflow step on the user's behalf — wait for their choice.\n\n## Persona-selection heuristics (when args are empty and you must pick one for solo)\n\nYou only need this if a parent SKILL or the user explicitly requests *one* persona but doesn't name one. In debate mode, no selection needed (use all 5).\n\n- Repeated similar failures → **contrarian** (challenge assumptions)\n- Too many options → **simplifier** (reduce scope)\n- Missing information → **researcher** (seek data)\n- Analysis paralysis → **hacker** (just make it work)\n- Structural issues → **architect** (redesign)\n\n## When MCP is unavailable\n\nThe contract is \"fail loud, don't substitute\": if `ouroboros_lateral_think` cannot be loaded via `ToolSearch`, stop and report that the MCP dispatch surface is broken. Do not improvise either solo or debate by reading persona files directly when MCP-driven invocation was requested — that re-introduces the contract bypass the bot review flagged.\n\nThe one exception, retained for documented offline use: a parent SKILL operating in degraded-offline mode that has *already* announced it cannot reach MCP MAY read `src\u002Fouroboros\u002Fagents\u002F\u003Cpersona>.md` and adopt that persona inline for solo reframing. This is not a fallback for `ooo lateral`; it's a degraded helper for a parent SKILL that has already given up on MCP. Debate has no offline equivalent — report the broken surface and stop.\n\n## Examples\n\n### Solo\n```\nUser: I'm stuck on the database schema design.\n> ooo lateral simplifier\n\n# Lateral Thinking: Reduce to Minimum Viable Schema\nStart with exactly 2 tables. If you can't build the core feature\nwith 2 tables, you haven't found the core feature yet.\n\n📍 Next: try this, then `ooo run` — or `ooo interview` to re-examine.\n```\n\n### Debate (default — Claude Code \u002F Codex CLI)\n```\n> ooo lateral\n\n[Step 2: Confirm problem_context + current_approach are present;\n ask the user one short combined question if not]\n[ToolSearch loads ouroboros_lateral_think]\n[Call ouroboros_lateral_think(personas=[hacker,researcher,simplifier,architect,contrarian], ...)]\n[Handler returns: content = N persona blocks joined by ---,\n                  followed by hidden \u003C!-- ouroboros-lateral-inline-dispatch-v1 base64\n                  \u003Cbase64 body> --> sentinel block]\n[Extract via the sentinel; base64-decode then JSON.parse → payloads[]]\n[Single message: 5 parallel Task calls — one per payloads[] entry,\n each Task receives payload.prompt + payload.context verbatim;\n the visible markdown is shown to the user as the lateral scaffold]\n[User sees \"Running 5 agents…\"]\n[Round 1 returns]\n\n## Debate result — 5 personas\n### Options\n- A (hacker): ship the 50-line version, defer correctness\n- B (architect): the data model is wrong, redesign before coding\n- C (simplifier): cut feature X, the rest fits in one file\n- D (researcher): we don't have user data; instrument first\n- E (contrarian): are users actually asking for this?\n\n### Disagreements\n- hacker vs architect: ship-first vs redesign-first\n- contrarian vs all: whether the problem is real\n\n### Recommended\nLean toward C+E: validate the need (E) before scoping (C); A and B\nboth assume the feature is wanted.\n\n📍 Next: pick an option, or `ooo lateral debate hacker contrarian` to drill in.\n```\n\n### Autonomous chain from interview\n```\n[ooo interview mid-flow; main session is wearing the socratic-interviewer persona]\n[Main session judges that the next question is too tangled — multiple\n reframings could be valid and asking the user to disambiguate would itself\n be confusing. It chains to this SKILL on its own.]\n\n(autonomous) ooo lateral\n[5-agent debate runs in parallel sub-agents; the user sees \"Running 5 agents…\"]\n[Main session presents options + disagreements + a recommendation]\n[User picks an option — or asks for a follow-up debate]\n[Main session resumes the interview with the chosen framing]\n```\n",{"name":5,"description":7},"main","f37de8f681f0c0ca0e0ebab6e5fddf764ca7553d","skills\u002Funstuck",1,"https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one","https:\u002F\u002Fagisota.github.io\u002Fold-one\u002F","https:\u002F\u002Fgithub.com\u002Fagisota","pzd.world","2026-07-04 22:32:06",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add agisota\u002Fold-one --skill unstuck",{"tool":38,"command":39},"bunx","bunx skills add agisota\u002Fold-one --skill unstuck",{"tool":41,"command":42},"pnpm","pnpm dlx skills add agisota\u002Fold-one --skill unstuck","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Funstuck\u002FSKILL.md",true,[],[47,54,61,70,77,84],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":18},"01M75KRGZWQWE9JDBS6RX42NWV","zoom-out","Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-out\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M75KRCZHKE0ZYAQFFYHS0YNP","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\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fzeroize-audit\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":65,"licenseFileUrl":66,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M75KR94KYQ30DTE1P9WNDAE0","yeet","Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M75KR3H13YJ9QHMD49818FA1","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\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyara-rule-authoring\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M75KQMPY8A4Y8XTDD2DT0M9T","x-twitter-growth","X\u002FTwitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X\u002FTwitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fx-twitter-growth\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M75KQHNZ0ANZNJGZY6M8MDAK","x-api","X\u002FTwitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fx-api\u002FSKILL.md",[],[]]