commit 0958425bbcaefb7987b79d5350b4be18cff26403 Author: Zhongwei Li Date: Sat Nov 29 18:18:01 2025 +0800 Initial commit diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..c9b0bb6 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,11 @@ +{ + "name": "ultrathink", + "description": "Invoke deep sequential thinking for complex problem-solving. Use when the user says 'use ultrathink', 'ultrathink', or when tackling problems that require careful step-by-step reasoning, planning, hypothesis generation, or multi-step analysis.", + "version": "1.0.0", + "author": { + "name": "Alberto Leal" + }, + "skills": [ + "./" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..8975450 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# ultrathink + +Invoke deep sequential thinking for complex problem-solving. Use when the user says 'use ultrathink', 'ultrathink', or when tackling problems that require careful step-by-step reasoning, planning, hypothesis generation, or multi-step analysis. diff --git a/SKILL.md b/SKILL.md new file mode 100644 index 0000000..d80adf0 --- /dev/null +++ b/SKILL.md @@ -0,0 +1,85 @@ +--- +name: ultrathink +description: "Invoke deep sequential thinking for complex problem-solving. Use when the user says 'use ultrathink', 'ultrathink', or when tackling problems that require careful step-by-step reasoning, planning, hypothesis generation, or multi-step analysis." +license: MIT +--- + +# Ultrathink + +Ultrathink activates the Sequential Thinking MCP tool (`mcp__sequential_thinking__sequentialthinking`) to enable deep, structured reasoning through complex problems. + +## When to Use + +Invoke ultrathink when: + +- User explicitly requests it ("use ultrathink", "ultrathink this") +- Complex problems requiring step-by-step decomposition +- Planning and design with room for revision +- Analysis that might need course correction +- Problems where full scope isn't initially clear +- Multi-step solutions requiring maintained context +- Situations requiring hypothesis generation and verification + +## How to Use + +Call the sequential thinking tool with structured thoughts: + +``` +mcp__sequential_thinking__sequentialthinking: + thought: "Your current thinking step" + nextThoughtNeeded: true/false + thoughtNumber: 1 + totalThoughts: 5 (estimate, can adjust) +``` + +### Parameters + +| Parameter | Type | Required | Description | +|-----------|------|----------|-------------| +| `thought` | string | Yes | Current thinking step - analysis, revision, question, or realization | +| `nextThoughtNeeded` | boolean | Yes | True if more thinking needed, false when done | +| `thoughtNumber` | integer | Yes | Current thought number in sequence | +| `totalThoughts` | integer | Yes | Estimated total thoughts (can adjust up/down) | +| `isRevision` | boolean | No | Whether this revises previous thinking | +| `revisesThought` | integer | No | Which thought number is being reconsidered | +| `branchFromThought` | integer | No | Branching point thought number | +| `branchId` | string | No | Branch identifier | +| `needsMoreThoughts` | boolean | No | Signal that more thoughts needed at "end" | + +### Key Capabilities + +1. **Dynamic adjustment**: Revise total thought count as understanding evolves +2. **Revision support**: Question or revise previous thoughts +3. **Branching**: Explore alternative approaches from any point +4. **Hypothesis cycle**: Generate hypothesis, verify, repeat until satisfied +5. **Non-linear thinking**: Don't need to build linearly - can backtrack + +### Process Pattern + +1. Start with initial estimate of needed thoughts +2. Break down the problem systematically +3. Question or revise previous thoughts as needed +4. Generate solution hypotheses when appropriate +5. Verify hypotheses against the chain of thought +6. Add more thoughts if needed, even at the "end" +7. Express uncertainty when present +8. Set `nextThoughtNeeded: false` only when truly done + +### Example + +``` +Thought 1: "Let me analyze this authentication bug. The user reports login failures after password reset..." +Thought 2: "Looking at the code flow: reset generates token -> user clicks link -> new password set. The issue might be..." +Thought 3: "Hypothesis: The session isn't being invalidated after password change. Let me verify..." +Thought 4 (revision): "Actually, reconsidering thought 2 - the token expiry might be the issue, not session..." +Thought 5: "Verified: Token expiry is set to 1 hour but email delivery can take longer. Solution: extend to 24 hours." +``` + +## Best Practices + +- Start with reasonable thought estimate (3-7 for most problems) +- Don't hesitate to revise or add thoughts +- Mark revisions with `isRevision: true` and `revisesThought: N` +- Express uncertainty rather than guessing +- Use branching for exploring alternatives +- Only set `nextThoughtNeeded: false` when confident in solution diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..79003c2 --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:dashed/claude-marketplace:plugins/ultrathink", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "4b16628a330d5c44958898bceb47eb111fb1f87f", + "treeHash": "cd12c6fbe03aed5e15e287daccf0b466b3385c52085ac5afb75b13a32af06ab5", + "generatedAt": "2025-11-28T10:16:04.295754Z", + "toolVersion": "publish_plugins.py@0.2.0" + }, + "origin": { + "remote": "git@github.com:zhongweili/42plugin-data.git", + "branch": "master", + "commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390", + "repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data" + }, + "manifest": { + "name": "ultrathink", + "description": "Invoke deep sequential thinking for complex problem-solving. Use when the user says 'use ultrathink', 'ultrathink', or when tackling problems that require careful step-by-step reasoning, planning, hypothesis generation, or multi-step analysis.", + "version": "1.0.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "d17bebefa3384bededeb013960a9a8144db254c8b460d82ea40c5baed17e3b83" + }, + { + "path": "SKILL.md", + "sha256": "c72a20b1688977916fa5cd101a850205907e615b429cbffe5ec16f315bab0dde" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "ac01c466352ab0ed33b39569faaee77859d0846b9bbcfe8f7e35e2222ee08291" + } + ], + "dirSha256": "cd12c6fbe03aed5e15e287daccf0b466b3385c52085ac5afb75b13a32af06ab5" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file