

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
12345678910# Guide to Using the `sequentialthinking` MCP Tool1112## 1. Objective1314This rule guides Cline (the AI) in effectively utilizing the `sequentialthinking` MCP tool. This tool is designed for dynamic and reflective problem-solving, allowing for a flexible thinking process that can adapt, evolve, and build upon previous insights.1516## 2. When to Use the `sequentialthinking` Tool1718Cline SHOULD consider using the `sequentialthinking` tool when faced with tasks that involve:1920* **Complex Problem Decomposition:** Breaking down large, multifaceted problems into smaller, manageable steps.21* **Planning and Design (Iterative):** Architecting solutions where the plan might need revision as understanding deepens.22* **In-depth Analysis:** Situations requiring careful analysis where initial assumptions might be challenged or course correction is needed.23* **Unclear Scope:** Problems where the full scope isn't immediately obvious and requires exploratory thinking.24* **Multi-Step Solutions:** Tasks that inherently require a sequence of interconnected thoughts or actions to resolve.25* **Context Maintenance:** Scenarios where maintaining a coherent line of thought across multiple steps is crucial.26* **Information Filtering:** When it's necessary to sift through information and identify what's relevant at each stage of thinking.27* **Hypothesis Generation and Verification:** Forming and testing hypotheses as part of the problem-solving process.2829## 3. Core Principles for Using `sequentialthinking`3031When invoking the `sequentialthinking` tool, Cline MUST adhere to the following principles:3233* **Iterative Thought Process:** Each use of the tool represents a single "thought." Build upon, question, or revise previous thoughts in subsequent calls.34* **Dynamic Thought Count:**35 * Start with an initial estimate for `totalThoughts`.36 * Be prepared to adjust `totalThoughts` (up or down) as the thinking process evolves.37 * If more thoughts are needed than initially estimated, increment `thoughtNumber` beyond the original `totalThoughts` and update `totalThoughts` accordingly.38* **Honest Reflection:**39 * Express uncertainty if it exists.40 * Explicitly mark thoughts that revise previous thinking using `isRevision: true` and `revisesThought: <thought_number>`.41 * If exploring an alternative path, consider using `branchFromThought` and `branchId` to track divergent lines of reasoning.42* **Hypothesis-Driven Approach:**43 * Generate a solution `hypothesis` when a potential solution emerges from the thought process.44 * Verify the `hypothesis` based on the preceding Chain of Thought steps.45 * Repeat the thinking process (more thoughts) if the hypothesis is not satisfactory.46* **Relevance Filtering:** Actively ignore or filter out information that is irrelevant to the current `thought` or step in the problem-solving process.47* **Clarity in Each Thought:** Each `thought` string should be clear, concise, and focused on a specific aspect of the problem or a step in the reasoning.48* **Completion Condition:** Only set `nextThoughtNeeded: false` when truly finished and a satisfactory answer or solution has been reached and verified.4950## 4. Parameters of the `sequentialthinking` Tool5152Cline MUST correctly use the following parameters when calling the `use_mcp_tool` for `sequentialthinking`:5354* **`thought` (string, required):** The current thinking step. This can be an analytical step, a question, a revision, a hypothesis, etc.55* **`nextThoughtNeeded` (boolean, required):**56 * `true`: If more thinking steps are required.57 * `false`: If the thinking process is complete and a satisfactory solution/answer is reached.58* **`thoughtNumber` (integer, required, min: 1):** The current sequential number of the thought.59* **`totalThoughts` (integer, required, min: 1):** The current *estimated* total number of thoughts needed. This can be adjusted.60* **`isRevision` (boolean, optional):** Set to `true` if this thought revises or reconsiders a previous thought.61* **`revisesThought` (integer, optional, min: 1):** If `isRevision` is true, this specifies the `thoughtNumber` of the thought being revised.62* **`branchFromThought` (integer, optional, min: 1):** If this thought represents a branching point from a previous line of thought, specify the `thoughtNumber` it branches from.63* **`branchId` (string, optional):** An identifier for the current branch of thought, if applicable.64* **`needsMoreThoughts` (boolean, optional):** Use this if `thoughtNumber` has reached `totalThoughts`, but Cline realizes more thinking is necessary. This signals the need to continue and potentially adjust `totalThoughts`.6566## 5. Workflow Example (Conceptual)6768This illustrates how Cline might use the tool iteratively.6970**User Task:** "Plan the architecture for a new e-commerce feature: 'Personalized Recommendations'."7172**Cline's Internal Process using `sequentialthinking`:**73741. **Thought 1:**75 * `thought`: "Initial approach: Identify key components for personalized recommendations. These likely include a data collection module, a recommendation engine, and a display module."76 * `nextThoughtNeeded`: true77 * `thoughtNumber`: 178 * `totalThoughts`: 5 (initial estimate)792. **Thought 2 (User provides feedback or Cline realizes something):**80 * `thought`: "Refining components: Data collection needs to capture user behavior (views, purchases, ratings). The engine might use collaborative filtering. Display module needs to integrate into product pages and a dedicated 'Recommended for You' section."81 * `nextThoughtNeeded`: true82 * `thoughtNumber`: 283 * `totalThoughts`: 5843. **Thought 3 (Considering alternatives/constraints):**85 * `thought`: "Constraint: Real-time vs. batch processing for recommendations. Real-time offers better UX but is more complex. Batch might be a good MVP. Let's assume batch for MVP to simplify."86 * `nextThoughtNeeded`: true87 * `thoughtNumber`: 388 * `totalThoughts`: 5894. **Thought 4 (Hypothesis):**90 * `thought`: "Hypothesis: A batch-processed collaborative filtering engine, with data collected from user interaction logs, displayed on product pages and a dedicated section, is a viable MVP architecture."91 * `nextThoughtNeeded`: true92 * `thoughtNumber`: 493 * `totalThoughts`: 5945. **Thought 5 (Verification & Realization):**95 * `thought`: "Verification: The hypothesis covers core aspects. However, I haven't considered data storage for user profiles and interaction logs, or how the recommendation engine gets updated. More thoughts needed."96 * `nextThoughtNeeded`: true97 * `thoughtNumber`: 598 * `totalThoughts`: 7 (revised estimate)99 * `needsMoreThoughts`: true1006. **Thought 6 (Addressing omissions):**101 * `thought`: "Addressing data storage: A NoSQL database (e.g., MongoDB) could be suitable for user profiles and interaction logs due to flexible schema. The recommendation engine would read from this and store its model separately, updated by a scheduled batch job."102 * `nextThoughtNeeded`: true103 * `thoughtNumber`: 6104 * `totalThoughts`: 71057. **Thought 7 (Finalizing plan for MVP):**106 * `thought`: "Final MVP Plan: 1. User interaction logger (to NoSQL DB). 2. Batch collaborative filtering engine (reads from NoSQL, updates model). 3. API to serve recommendations. 4. UI integration on product pages & dedicated section. This seems complete for an MVP."107 * `nextThoughtNeeded`: false108 * `thoughtNumber`: 7109 * `totalThoughts`: 7110111## 6. Critical Reminders for Cline112113* **DO NOT** use this tool for simple, single-step tasks. It is for complex reasoning.114* **ALWAYS** ensure `thoughtNumber` increments correctly.115* **BE PREPARED** to adjust `totalThoughts` as understanding evolves.116* **FOCUS** on making progress towards a solution with each thought.117* If a line of thinking becomes a dead end, **EXPLICITLY** state this in a `thought` and consider revising a previous thought or starting a new branch.118119This guide should help Cline leverage the `sequentialthinking` MCP tool to its full potential.120
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| cline/prompts.clinerules/ai-dlc-adaptive-workflow.md · 1.2k | Cline rules | agent-behaviour | 54/100 | today | |
| cline/prompts.clinerules/audio-plugin-developer.md · 1.2k | Cline rules | styleperformancedo-notagent-behaviour | 57/100 | today | |
| cline/prompts.clinerules/ba.md · 1.2k | Cline rules | archgitagent-behaviour | 50/100 | today | |
| cline/prompts.clinerules/baby-steps.md · 1.2k | Cline rules | do-notagent-behaviour | 50/100 | today | |
| cline/prompts.clinerules/c#-guide.md · 1.2k | Cline rules | style | 27/100 | today | |
| cline/prompts.clinerules/claude-code-subagents.md · 1.2k | Cline rules | testarchdo-notagent-behaviour | 77/100 | today | |
| cline/prompts.clinerules/cline-architecture.md · 1.2k | Cline rules | archtypesapi | 54/100 | today | |
| cline/prompts.clinerules/cline-continuous-improvement-protocol.md · 1.2k | Cline rules | testgitperformance | 58/100 | today | |
| cline/prompts.clinerules/cline-for-research.md · 1.2k | Cline rules | agent-behaviour | 34/100 | today | |
| cline/prompts.clinerules/cline-for-slides.md · 1.2k | Cline rules | setupbuildstylearch+1 | 86/100 | today | |
| cline/prompts.clinerules/cline-for-webdev-ui.md · 1.2k | Cline rules | archagent-behaviour | 58/100 | today | |
| cline/prompts.clinerules/code-review.md · 1.2k | Cline rules | lint-formatgitsecurityperformance | 48/100 | today | |
| cline/prompts.clinerules/codebase-onboarding.md · 1.2k | Cline rules | lint-formatstylearchdependencies | 56/100 | today | |
| cline/prompts.clinerules/comprehensive-slide-dev-guide.md · 1.2k | Cline rules | buildarchtypesui | 62/100 | today | |
| cline/prompts.clinerules/create-documentation.md · 1.2k | Cline rules | apidocs | 44/100 | today | |
| cline/prompts.clinerules/gemini-comprehensive-software-engineering-guide.md · 1.2k | Cline rules | buildstyletesting-strategysecurity+4 | 36/100 | today | |
| cline/prompts.clinerules/general-development-rules.md · 1.2k | Cline rules | stylegitdeploymentdo-not | 73/100 | today | |
| cline/prompts.clinerules/google-apps-script-developer.md · 1.2k | Cline rules | setupstylegitsecurity+3 | 66/100 | today | |
| cline/prompts.clinerules/helm-chart-developer.md · 1.2k | Cline rules | setuplint-formatstylearch+6 | 81/100 | today | |
| cline/prompts.clinerules/mcp-development-protocol.md · 1.2k | Cline rules | setupteststyle | 73/100 | today |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/cline-prompts-clinerules-sequential-thinking)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.