General

threads - Claude MCP Skill

List all conversation threads

SEO Guide: Enhance your AI agent with the threads tool. This Model Context Protocol (MCP) server allows Claude Desktop and other LLMs to list all conversation threads... Download and configure this skill to unlock new capabilities for your AI workflow.

🌟73 stars • 36 forks
📥0 downloads

Documentation

SKILL.md
# List Threads Command

List all available conversation threads with their status and statistics.

## Usage

```bash
/threads [options]
```

## Options

- `--sort [field]`: Sort by `updatedAt`, `createdAt`, or `messageCount` (default: `updatedAt`)
- `--order [asc|desc]`: Sort order (default: `desc`)
- `--tags [tag1,tag2]`: Filter by tags
- `--limit [number]`: Limit the number of results (default: 50)

## Implementation Details for Claude

### ⚠ 前眮检查最高䌘先级

**圚执行任䜕操䜜之前必须先检查 `thread-manager` MCP 服务噚是吊可甚。**

刀断方法检查圓前可甚的工具列衚䞭是吊包含 `mcp__thread-manager__list_threads` 工具。

**劂果 MCP 工具䞍可甚必须立即蟓出以䞋错误信息并停止䞍芁尝试调甚任䜕工具**

```
❌ thread-manager MCP 服务噚未配眮

圓前项目未配眮 thread-manager MCP 服务噚无法䜿甚线皋管理功胜。

🔧 解决方案

方案 1党局安装掚荐䞀次配眮党局可甚
   claude mcp add thread-manager -s user -- node <path-to-thread-manager>/dist/index.js

方案 2项目级安装
   claude mcp add thread-manager -s project -- node <path-to-thread-manager>/dist/index.js

方案 3切换到已配眮该服务的项目目圕

添加后需芁重启 Claude Code 䌚话才胜生效。
```

**🔎 重芁绝对䞍芁圚 MCP 䞍可甚时尝试调甚工具这䌚富臎呜什卡䜏无响应**

---

### 正垞流皋

When the user invokes `/threads`, call the `thread-manager.list_threads` tool.

**Example:**
If user types: `/threads --sort messageCount`
You call:
```javascript
use_mcp_tool({
  server_name: "thread-manager",
  tool_name: "list_threads",
  arguments: {
    sortBy: "messageCount"
  }
});
```

**Output Format:**
Please format the output as a **compact table** with the following structure:

```
 状态  标题                          ID         消息   文件   曎新时闎
────────────────────────────────────────────────────────────────────────
 ✅   [圓前线皋标题]                 [short-id]  [n]    [n]   [æ—¶é—Ž]
      [其他线皋标题]                 [short-id]  [n]    [n]   [æ—¶é—Ž]
      [描述] (劂果有)
      ...
────────────────────────────────────────────────────────────────────────
总计: [n] 䞪线皋
```

**栌匏芁求:**
- 圓前掻跃线皋甚 ✅ 标记
- ID 星瀺前 8 䜍短 ID
- 劂果线皋有描述圚标题䞋方猩进星瀺
- 消息列星瀺消息数量
- 文件列星瀺文件变曎数量
- 曎新时闎䜿甚盞对时闎劂刚刚、3分钟前、1小时前
- 衚栌䜿甚 ASCII 字笊分隔线

Signals

Avg rating⭐ 0.0
Reviews0
Favorites0

Information

Repository
peterfei/ai-agent-team
Author
peterfei
Last Sync
3/12/2026
Repo Updated
3/10/2026
Created
1/16/2026

Reviews (0)

No reviews yet. Be the first to review this skill!

Related Skills

Related Guides