From nexus-orchestrator
Internal sequential reasoning protocol for nexus-orchestrator and nexus-thinker. Apply MCP-style numbered thoughts, revisions, branches, dynamic thought budgets, and verified solution hypotheses for complex decomposition, re-planning, and failure diagnosis.
How this skill is triggered — by the user, by Claude, or both
Slash command
/nexus-orchestrator:sequential-thinkingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill to run a structured reasoning loop before planning, re-planning, or diagnosing failures.
Use this skill to run a structured reasoning loop before planning, re-planning, or diagnosing failures. It mirrors the Sequential Thinking MCP concept and adapts it to the Nexus multi-agent workflow.
Sequential Thinking solves complex problems by decomposing them into small, explicit thought steps. Each step can be revised when new evidence appears, branched when alternatives exist, and consolidated into a final verified hypothesis.
Think (this skill) -> Plan -> Execute -> Validate -> Remember
Think (Sequential) -> Red -> Green -> Refactor
task: clear objective to solve.context: known facts, files, previous outputs.constraints: technical, time, policy, or tool constraints.successCriteria: explicit completion checks.failureContext (optional): error details from prior execution attempts.For each thought, track fields equivalent to MCP Sequential Thinking:
thought: current reasoning step.thoughtNumber: current thought index.totalThoughts: current estimate of total thoughts.nextThoughtNeeded: whether to continue.isRevision (optional): true when revisiting a prior thought.revisesThought (optional): thought number being revised.branchFromThought (optional): origin thought for an alternative branch.branchId (optional): identifier for branch lineage.needsMoreThoughts (optional): set when estimate must increase.Each thought should also include concise planning semantics:
## Thought N/Total [Progression | Revision | Branch | Consolidation]
Context: what is known at this point
Objective: what this thought must resolve
Decision: chosen path and why
Next Step: immediate follow-up action
Thought types:
totalThoughts) based on depth:
quick: 3-5 thoughtsstandard: 5-8 thoughtsdeep: 8-12 thoughtsisRevision: true.revisesThought.branchFromThought and branchId to keep alternatives traceable.totalThoughts when new complexity appears (needsMoreThoughts: true).Use this structure for handoff:
## Thought Chain
### Thought N/M
- thought: <text>
- thoughtNumber: <int>
- totalThoughts: <int>
- nextThoughtNeeded: <true|false>
- isRevision: <optional true|false>
- revisesThought: <optional int>
- branchFromThought: <optional int>
- branchId: <optional string>
- needsMoreThoughts: <optional true|false>
## Solution Hypothesis
- <single best proposed path>
## Verification
- Constraints: <pass/fail + reason>
- Dependencies: <pass/fail + reason>
- Risks: <top risks + mitigation>
- Success Criteria: <pass/fail + reason>
## Recommended Next Action
- <what the orchestrator should do now>
If invoked inside nexus-thinker, align the final handoff to the exact format defined in agents/thinker-subagent.md.
Before ending the loop (nextThoughtNeeded: false), ensure:
Trigger a revision when:
Trigger a branch when:
Do:
Avoid:
nexus-orchestrator: invoke this skill before first planning and after failures.nexus-thinker: use this schema as the internal reasoning protocol.nexus-planner: consume verified hypothesis and dependency map.nexus-historian: persist thought chain snapshots for decision traceability.npx claudepluginhub joaovjo/dot-agents --plugin nexus-orchestratorEnables structured step-by-step reasoning with revision and branching for complex problems, multi-stage analysis, design planning, problem decomposition, unclear scope, or alternative approaches.
Structured chain-of-thought problem-solving methodology for complex, multi-step reasoning. Deprecated in favor of native adaptive thinking; retained for deterministic audit/review traces.
Structures complex analysis into sequential thoughts with revisions, branching, and dynamic adjustments. Use for architecture design, bug debugging, performance optimization, security review, and refactoring.