Think tank: a built-in library of 161 classic mental models (decision/strategy/cognition/psychology/communication/learning/system/innovation/execution) — enter one question and several selected models analyze it in parallel via AI, producing a synthesized report with consensus, disagreements, blind spots and an action checklist; supports both automatic analysis and prompt round-trip import.
Install
# from npm (prebuilt)
dsh plugin --profile web add @weibaohui/dsh-thinktank
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:weibaohui/dsh-thinktank
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
智囊团:把 161 个经典思维模型变成你的智囊团。输入一个问题,多位「思维顾问」从决策、战略、认知、心理、沟通、学习、系统、产品、执行九个视角各自献策,AI 跨模型汇总出共识 / 分歧 / 盲区 / 行动清单的综合报告——像请了一个顾问团,而不是只问一个人。
效果演示
| 向导三步 | 综合报告 |
|---|---|
| 第 2 步:关键词匹配推荐 + 绿色绶带选中态 | 真实报告:8 模型交叉分析民宿短租决策 |
| AI 智能推荐 | 实时进度 |
|---|---|
| AI 通读模型库后选型,每个推荐带具体理由 | 提交后自动跳转历史页,批次进度与结论实时填满 |
核心功能
- 四步向导:输入问题(可附背景)→ 🪞 拷问澄清(可选,可跳过)→ 选择模型(搜索 / 分类筛选 / 双推荐)→ 确认提交(胶囊上点 × 可最后移除);提交后自动跳历史页,向导重置等待下一次输入
- 🪞 拷问澄清(grill-me 风格):分析前 AI 先扮演拷问者,针对你的问题出 3-6 个要害追问——隐藏假设、成功标准、真实约束、机会成本、最坏承受力;每个追问说明它能把什么逼到台面上。回答自动并入背景,让多模型分析明显更贴身;不想答可一键跳过,流程与原来完全一致
- 161 个经典思维模型:第一性原理、逆向思维、二阶思维、SWOT、PESTEL、波特五力、蓝海战略、商业模式画布、护城河、北极星指标、确认偏误、锚定效应、达克效应、人类误判心理学、峰终定律、损失厌恶、鸟笼效应、沉默的螺旋、课题分离、金字塔原理、MECE、SCQA、非暴力沟通、乔哈里视窗、费曼学习法、刻意练习、心流、复利效应、反馈回路、杠杆点、黑天鹅、反脆弱、路径依赖、熵增、第二曲线、HOOK 上瘾、JTBD、福格行为模型、PDCA、5Why、事前验尸……每个模型含定义、要点、适用场景与引导分析问题,「模型库」页可当思维模式手册浏览
- 两种推荐:
- 🔍 关键词匹配——本地 n-gram 加权匹配(场景关键词 ×8、名称 ×6、定义 ×2),毫秒出结果,不经 AI
- ✨ AI 智能推荐——起一个 AI 会话通读 161 个模型后为你的问题选型(6-12 个、跨分类),弹窗实时显示 AI 输出过程,每个推荐带具体理由,勾选采用
- 双模式分析:
- 🧠 自动分析——host 把选中模型按每批 6 个分给多个 agent 会话并行执行(3 路并发),完成后跨模型综合;单批失败不影响其余
- 📋 提示词往返——一键生成含全部模型与输出契约的提示词,粘贴到任意 AI 会话执行后把结果粘回导入(无 agents 服务时的完整降级路径)
- 综合报告页:🧭 综合结论 + 🤝 模型共识 + ⚡ 观点分歧 + 🕳️ 盲区提醒 + ✅ 行动清单(注明依据模型),信号总览(有利/不利/风险/中性),每模型一张卡(结论、洞察、建议、可展开完整分析),按分类过滤,一键导出 Markdown
- 💬 基于结论追问:报告页底部可直接向「首席顾问」继续盘问——它持有整份报告的上下文(综合结论 + 各模型结论),回答会注明依据;超出报告范围的问题如实注明「报告外的补充视角」。问答对持久化保存,重启不丢
- 历史与实时进度:报告持久化保存(最近 50 份)可回看;提交后历史页顶部出现实时任务卡片,批次状态与各模型结论随执行逐渐填满,完成后自动转入历史列表
- 会话可辨:插件发起的每个 AI 会话都带「🦉 智囊团 · 问题摘要 · 阶段」标题,侧边栏一眼可认
- 明暗主题跟随:按官方约定监听
body[data-ds-dark-theme]/html[data-ds-theme-source]属性,事件驱动即时跟随,无轮询
安装
dsh plugin add @weibaohui/dsh-thinktank
入口默认在左侧栏 Global panels(🦉 智囊团);刷新页面即用。
使用
- 输入问题:一句话说清要分析什么;补充背景(约束、资源、时间线、相关方)会让分析明显更贴身
- 拷问澄清(可选):让 AI 拷问你的意图并作答,回答并入背景;拿得准可直接跳过
- 选择模型:手动勾选,或用两种推荐;建议 6-24 个、跨分类组合
- 确认提交:胶囊可点 × 最后调整;提交后自动跳历史页看实时进度
- 看报告:综合结论 → 模型共识/分歧/盲区 → 行动清单 → 逐模型卡片;可导出 Markdown
- 继续追问:在报告底部针对结论继续盘问(预算砍半会怎样?行动清单排个 30 天计划?),上下文完整、答案持久化
技术说明
- host 半体(
src/):纯 CJS 零运行时依赖。models.js模型库前后端同源(client 经 esbuild 内联);prompt.js负责提示词构建与===MIND-JSON===标记协议的提取/校验(容忍代码围栏与尾随散文,id 白名单 + 长度钳制 + signal 枚举兜底);index.js提供路由(全部挂connection.requestRejection信任栅栏)、分批任务调度(并发池 + 12 分钟会话超时)与报告持久化(storageDomain 域dsh_thinktank,域打不开退化内存并如实标注) - client 半体(
client/):React 函数组件,无 class 组件、渲染路径全 total 化;CSS 变量双主题 - AI 输出协议:回复末尾
===MIND-JSON===+ 单个 JSON 对象,解析失败 fail-safe(批次级降级,不废整份报告) - 测试:25 个离线测试覆盖模型库完整性、协议容错、全部路由(含栅栏拦截断言)、分析流水线端到端(mock agents 模拟分批失败/综合失败)与重启读回持久化;
test/render-harness.html可在无宿主环境下用真实 Chrome 渲染面板
开发
npm install
npm run build:client # 改了 client/index.js 必须重跑(宿主加载的是 bundle.js)
npm run check # 语法检查
npm test # 离线测试
本地联调:
dsh plugin --profile web add /path/to/dsh-thinktank
发版
GitHub Release 触发 npm Trusted Publishing(OIDC 直发,无需 NPM_TOKEN):
npm version patch
git push --follow-tags
gh release create vX.Y.Z --generate-notes
License
MIT
Links
More in this category
loopx-project/loopx#dsh-loopx-plugin★ 6797
LoopX, a provider-neutral, local-first state kernel and control plane for long-horizon agents: keeps Goal, Todo, gate, evidence, quota, recovery, and handoff state above DeepSeek Harness, while the plugin bootstraps the CLI and skills, admits bounded same-session continuation, and adds a loopback GoalBar for the exact bound loop. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.
Q00/ouroboros#integrations/dsh-plugin★ 6408
Config-only bundle that mounts Ouroboros through the DSH MCP client, exposing 36 interview, Seed, execution, evaluation, and evolution workflow tools in DSH.
chuspeeism/dashi-taskboard#deepseek-harness★ 3576
Embeds the active installed Codex Taskboard runtime in the DeepSeek Harness sidebar, using its launcher runtime descriptor instead of a fixed port.
NanmiCoder/dsh-agent-teams★ 3196
AgentTeams multi-agent teams.
EthanYoQ/AI-Novel-Writer#dsh-ai-novel-writer★ 3052
Installs a dedicated AI novel-writing preset and workbench: revisioned local project assets, a compact side drawer, and native approval-gated single-file changes.
shanliuling/dsh-image-gen★ 1974
Native conversational image generation for DeepSeek Harness: ask the agent to create an image, and it handles generation and keeps the result directly in the conversation.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.