[PR #1687] [CLOSED] feat: New Plugin Submission. feat: claude-think tool plugin v1.0.1 #1785

Closed
opened 2026-02-22 18:07:37 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugins/pull/1687
Author: @sonnam0904
Created: 12/7/2025
Status: Closed

Base: mainHead: sonnguyennam0904


📝 Commits (6)

📊 Changes

2 files changed (+110 additions, -0 deletions)

View changed files

sonnguyennam0904/claude-think/PRIVACY.md (+110 -0)
sonnguyennam0904/claude-think/claude-think.difypkg (+0 -0)

📄 Description

Plugin Submission Form

1. Metadata

2. Submission Type

  • New plugin submission

  • Version update for existing plugin

3. Description

Claude Think Tool - Multi-Step Reasoning Plugin for Dify Node Agents

Claude Think Tool is a Dify plugin that provides Node Agents with a structured multi-step reasoning capability, enabling them to perform complex problem-solving through iterative thinking steps. This plugin is inspired by Claude's "think tool" research, which demonstrated a 54% improvement in complex scenarios (τ-Bench).

Key Features

  1. Multi-Step Thinking: Allows Node Agents to perform structured reasoning across multiple steps, breaking down complex problems into smaller, manageable thought processes.

  2. Context Accumulation: Automatically accumulates thoughts across tool calls within a session, creating a rich context that agents can reference for better decision-making.

  3. Zero Configuration: No credentials or external API keys required. Works out of the box with any Dify Node Agent workflow.

  4. Session-Based Context Management: Each workflow session maintains its own isolated context, ensuring thoughts are properly scoped and don't interfere across different agent instances.

  5. Thread-Safe Implementation: Built with thread-safe context management to handle concurrent agent invocations safely.

Use Cases

  • Complex Problem Solving: Break down intricate tasks into reasoning steps
  • Decision Making: Accumulate and evaluate multiple considerations before making decisions
  • Context Building: Create rich context across multiple tool invocations
  • Debugging Agent Reasoning: Track and review the agent's thought process

Technical Implementation

The plugin implements:

  • A think tool that accepts a "thought" parameter and appends it to the session context
  • A context manager that maintains session-specific thought history
  • Configurable maximum thoughts per session to manage memory
  • Automatic cleanup of expired sessions

Integration

The tool seamlessly integrates with Dify's Node Agent system. Agents can call the think tool like any other tool in their workflow, and the accumulated thoughts are automatically available in subsequent tool calls within the same session.

4. Checklist

  • I have read and followed the Publish to Dify Marketplace guidelines

  • I have read and comply with the Plugin Developer Agreement

  • I confirm my plugin works properly on both Dify Community Edition and Cloud Version

  • I confirm my plugin has been thoroughly tested for completeness and functionality

  • My plugin brings new value to Dify

5. Documentation Checklist

Please confirm that your plugin README includes all necessary information:

  • Step-by-step setup instructions

    The README.md includes detailed setup instructions including:

    • Prerequisites (Python 3.12+, Dify Plugin CLI)
    • Installation steps for macOS and Linux
    • Environment configuration
    • Running the plugin
  • Detailed usage instructions

    README.md explains:

    • How the tool works
    • How Node Agents can use it
    • Example usage in workflows
  • All required APIs and credentials are clearly listed

    The plugin requires no external APIs or credentials. It works entirely within Dify's plugin system without any external dependencies.

  • Connection requirements and configuration details

    No connection requirements. The plugin operates locally within the Dify plugin runtime environment. Configuration is handled through environment variables (optional) for advanced settings.

  • Link to the repository for the plugin source code

    (To be updated with actual repository URL)

6. Privacy Protection Information

Based on Dify Plugin Privacy Protection Guidelines:

Data Collection

This plugin does NOT collect any user personal data.

The plugin:

  • Does not require any user credentials or authentication
  • Does not make external API calls
  • Only processes "thought" text provided by Node Agents during tool invocation
  • Stores thoughts temporarily in memory within the plugin runtime environment (session-scoped)
  • Automatically cleans up session data when sessions expire or are closed
  • Does not log, store, or transmit any personal information outside of the Dify plugin runtime

Data Processing:

  • The plugin receives "thought" parameters from Node Agents (structured text)
  • Processes and stores thoughts in memory for the duration of the workflow session
  • Makes thoughts available to subsequent tool calls within the same session
  • No persistent storage, no external transmission, no data collection

Compliance:

  • No GDPR-sensitive data collection
  • No personal information processing
  • No third-party data sharing
  • Fully compliant with Dify Plugin Privacy Protection Guidelines

Privacy Policy

  • I confirm that I have prepared and included a privacy policy in my plugin package based on the Plugin Privacy Protection Guidelines

    A PRIVACY.md file is included in the plugin package, clearly stating that:

    • No personal data is collected
    • No external API calls are made
    • Data is processed only within the plugin runtime
    • Session data is automatically cleaned up

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-plugins/pull/1687 **Author:** [@sonnam0904](https://github.com/sonnam0904) **Created:** 12/7/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `sonnguyennam0904` --- ### 📝 Commits (6) - [`ab7390c`](https://github.com/langgenius/dify-plugins/commit/ab7390c8ba121bf127596cb7214e17163383d7c8) claude-tthink init project - [`1d52e0e`](https://github.com/langgenius/dify-plugins/commit/1d52e0ed89ad2f0b73276892848efe8bce851730) add privacy - [`824f7df`](https://github.com/langgenius/dify-plugins/commit/824f7df761631c988d375948a55525e2da0aa5f0) add privacy - [`eaf223d`](https://github.com/langgenius/dify-plugins/commit/eaf223de871aeecf38f582963086c5b9d0a49e68) add Privacy to metadata - [`39acb00`](https://github.com/langgenius/dify-plugins/commit/39acb00bb676fe1f17a4d39ced27c573223d2298) add Privacy complain to metadata - [`2a29fb2`](https://github.com/langgenius/dify-plugins/commit/2a29fb28b1dc9c527a67d2507c5c697d794b7f49) update manifest.json ### 📊 Changes **2 files changed** (+110 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `sonnguyennam0904/claude-think/PRIVACY.md` (+110 -0) ➕ `sonnguyennam0904/claude-think/claude-think.difypkg` (+0 -0) </details> ### 📄 Description # Plugin Submission Form ## 1. Metadata <!-- Please provide the following metadata of your plugin to make it easier for the reviewer to check the changes. - Plugin Author : The author of the plugin which is defined in your manifest.yaml - Plugin Name : The name of the plugin which is defined in your manifest.yaml - Repository URL: The URL of the repository where the source code of your plugin is hosted --> - **Plugin Author**: sonnguyennam0904 - **Plugin Name**: claude-think-tool - **Repository URL**: https://github.com/sonnam0904/claude-think ## 2. Submission Type - [x] New plugin submission - [ ] Version update for existing plugin ## 3. Description <!-- Please briefly describe the purpose of the new plugin or the updates made to the existing plugin --> ### Claude Think Tool - Multi-Step Reasoning Plugin for Dify Node Agents **Claude Think Tool** is a Dify plugin that provides Node Agents with a structured multi-step reasoning capability, enabling them to perform complex problem-solving through iterative thinking steps. This plugin is inspired by Claude's "think tool" research, which demonstrated a 54% improvement in complex scenarios (τ-Bench). #### Key Features 1. **Multi-Step Thinking**: Allows Node Agents to perform structured reasoning across multiple steps, breaking down complex problems into smaller, manageable thought processes. 2. **Context Accumulation**: Automatically accumulates thoughts across tool calls within a session, creating a rich context that agents can reference for better decision-making. 3. **Zero Configuration**: No credentials or external API keys required. Works out of the box with any Dify Node Agent workflow. 4. **Session-Based Context Management**: Each workflow session maintains its own isolated context, ensuring thoughts are properly scoped and don't interfere across different agent instances. 5. **Thread-Safe Implementation**: Built with thread-safe context management to handle concurrent agent invocations safely. #### Use Cases - **Complex Problem Solving**: Break down intricate tasks into reasoning steps - **Decision Making**: Accumulate and evaluate multiple considerations before making decisions - **Context Building**: Create rich context across multiple tool invocations - **Debugging Agent Reasoning**: Track and review the agent's thought process #### Technical Implementation The plugin implements: - A `think` tool that accepts a "thought" parameter and appends it to the session context - A context manager that maintains session-specific thought history - Configurable maximum thoughts per session to manage memory - Automatic cleanup of expired sessions #### Integration The tool seamlessly integrates with Dify's Node Agent system. Agents can call the `think` tool like any other tool in their workflow, and the accumulated thoughts are automatically available in subsequent tool calls within the same session. ## 4. Checklist - [x] I have read and followed the Publish to Dify Marketplace guidelines - [x] I have read and comply with the Plugin Developer Agreement - [x] I confirm my plugin works properly on both Dify Community Edition and Cloud Version - [x] I confirm my plugin has been thoroughly tested for completeness and functionality - [x] My plugin brings new value to Dify ## 5. Documentation Checklist Please confirm that your plugin README includes all necessary information: - [x] Step-by-step setup instructions The README.md includes detailed setup instructions including: - Prerequisites (Python 3.12+, Dify Plugin CLI) - Installation steps for macOS and Linux - Environment configuration - Running the plugin - [x] Detailed usage instructions README.md explains: - How the tool works - How Node Agents can use it - Example usage in workflows - [x] All required APIs and credentials are clearly listed The plugin requires **no external APIs or credentials**. It works entirely within Dify's plugin system without any external dependencies. - [x] Connection requirements and configuration details No connection requirements. The plugin operates locally within the Dify plugin runtime environment. Configuration is handled through environment variables (optional) for advanced settings. - [x] Link to the repository for the plugin source code *(To be updated with actual repository URL)* ## 6. Privacy Protection Information Based on Dify Plugin Privacy Protection [Guidelines](https://docs.dify.ai/plugins/publish-plugins/publish-to-dify-marketplace/plugin-privacy-protection-guidelines): ### Data Collection **This plugin does NOT collect any user personal data.** The plugin: - Does not require any user credentials or authentication - Does not make external API calls - Only processes "thought" text provided by Node Agents during tool invocation - Stores thoughts temporarily in memory within the plugin runtime environment (session-scoped) - Automatically cleans up session data when sessions expire or are closed - Does not log, store, or transmit any personal information outside of the Dify plugin runtime **Data Processing:** - The plugin receives "thought" parameters from Node Agents (structured text) - Processes and stores thoughts in memory for the duration of the workflow session - Makes thoughts available to subsequent tool calls within the same session - No persistent storage, no external transmission, no data collection **Compliance:** - No GDPR-sensitive data collection - No personal information processing - No third-party data sharing - Fully compliant with Dify Plugin Privacy Protection Guidelines ### Privacy Policy - [x] I confirm that I have prepared and included a privacy policy in my plugin package based on the Plugin Privacy Protection Guidelines A PRIVACY.md file is included in the plugin package, clearly stating that: - No personal data is collected - No external API calls are made - Data is processed only within the plugin runtime - Session data is automatically cleaned up --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:07:37 -05:00
yindo closed this issue 2026-02-22 18:07:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugins#1785