以《矛盾论》《实践论》《论持久战》为方法论基础的深度思维伙伴 A deep thinking partner grounded in "On Contradiction," "On Practice," and "On Protracted War"
概览
以《矛盾论》《实践论》《论持久战》为方法论基础的深度思维伙伴 A deep thinking partner grounded in "On Contradiction," "On Practice," and "On Protracted War"
README
“没有调查就没有发言权。”——毛泽东,《反对本本主义》1930
“No investigation, no right to speak.” — Mao Zedong, Against Bookism, 1930
这不是一个回答问题的 AI。它会先问你五个问题。
This is not an AI that answers your questions. It asks you five questions first.
毛选长征机把《毛泽东选集》五卷的方法论提炼为一套可运行的对话协议:调查前置、矛盾重构、持久战略、苏格拉底式反问。它不给通用建议,它帮你把情况搞实,找到真正的主要矛盾,然后一起想清楚。
Maoxuan Changzheng distills the methodology of the five-volume Selected Works of Mao Zedong into a runnable dialogue protocol: investigation-first, contradiction reconstruction, protracted strategy, and Socratic questioning. It doesn’t give generic advice — it helps you grasp the real situation, identify the true principal contradiction, and think it through together.
目录 | Table of Contents
- 核心特性 | Core Features
- 快速开始 | Quick Start
- 真实对话案例 | Real Conversation Examples
- 方法论内核 | Methodology Core
- 支持的 API Provider | Supported API Providers
- 项目结构 | Project Structure
- 作为 Claude Code Skill 使用 | Using as a Claude Code Skill
核心特性 | Core Features
| 特性 / Feature | 说明 / Description |
|---|---|
| 调查前置协议 Investigation-First Protocol | 任何分析前,先用3-5个摸底问题把情况搞实 · Before any analysis, ask 3–5 probing questions to ground the real situation |
| 矛盾重构框架 Contradiction Reconstruction | 识别出"你以为的问题"和"真正的主要矛盾"之间的错位 · Identify the gap between “the problem you think you have” and “the true principal contradiction” |
| 12个心智模型 12 Mental Models | 矛盾论、持久战、统一战线、农村包围城市、纸老虎论… · On Contradiction, Protracted War, United Front, Countryside Encircles the City, Paper Tiger… |
| 毛式苏格拉底追问 Maoist Socratic Questioning | 六步连环反问,逼你自己把答案想出来 · Six-step chain of counter-questions that force you to work out the answer yourself |
| 5种错误模式识别 5 Error Pattern Recognition | 教条主义、冒险主义、投降主义、官僚主义、尾巴主义 · Dogmatism, adventurism, capitulationism, bureaucratism, tailism |
| 231篇原典索引 231-Text Primary Index | 《毛选》五卷全文主题索引,方法论有据可查 · Thematic index across all five volumes of the Selected Works — every method is sourced |
| 多 Provider 支持 Multi-Provider Support | Anthropic / DeepSeek / OpenAI / 任意兼容端点 · Anthropic / DeepSeek / OpenAI / any compatible endpoint |
| 流式输出 Streaming Output | 实时打字效果,无需等待完整响应 · Real-time typewriter effect, no waiting for a complete response |
快速开始 | Quick Start
方式一:直接打开(零安装)| Method 1: Open Directly (Zero Install)
下载 test.html,双击用浏览器打开,输入 API Key 即可开始对话。
Download test.html, double-click to open in your browser, enter your API Key, and start chatting.
支持 Anthropic (sk-ant-*)、DeepSeek (sk-*)、OpenAI 等主流 Provider,自动识别。
Supports Anthropic (sk-ant-*), DeepSeek (sk-*), OpenAI, and other major providers — auto-detected.
方式二:完整前端 | Method 2: Full Frontend
# 克隆仓库 | Clone the repository
git clone https://github.com/zhangtianruiwork-droid/maoxuan-changzheng.git
cd maoxuan-changzheng/app
# 安装依赖 | Install dependencies
npm install
# 启动开发服务器 | Start dev server
npm run dev
打开 http://localhost:5173,点击右上角"设置 API KEY",粘贴你的 API Key。
Open http://localhost:5173, click “设置 API KEY” in the top-right corner, and paste your API Key.
# 生产构建 | Production build
npm run build
API Key 仅存于浏览器 localStorage,不经过任何服务器。
Your API Key is stored only in the browser’s localStorage and never passes through any server.
真实对话案例 | Real Conversation Examples
以下均为使用本 Skill 的真实对话记录,模型:claude-sonnet-4-6、deepseek V3。点击标题展开查看完整对话。
All conversations below are real dialogue records using this Skill, with models claude-sonnet-4-6 and DeepSeek V3. Click a title to expand the full conversation. Conversations are in Chinese, demonstrating the methodology in its native cultural and linguistic context.
解决问题类(有精简,用claude-sonnet-4-6)| Problem-Solving Cases (condensed, using claude-sonnet-4-6)
哲学讨论类(因为我觉得很精彩所以无精简,用deepseek)| Philosophy Discussion Cases (unabridged, using DeepSeek)
方法论内核 | Methodology Core
五阶段对话协议 | Five-Phase Dialogue Protocol
第一阶段:调查摸底 → 先问3-5个核心问题,不急着分析
Phase 1: Investigation → Ask 3–5 core questions first, resist the urge to analyze
第二阶段:矛盾重构 → 指出"你以为的问题"和"真正的主要矛盾"之间的错位
Phase 2: Contradiction Reconstruction → Expose the gap between perceived problem and true principal contradiction
第三阶段:战略分析 → 调用合适的心智模型,给出方向性判断
Phase 3: Strategic Analysis → Apply the appropriate mental model, deliver a directional judgment
第四阶段:追问深化 → 反问推动你自己把答案想清楚
Phase 4: Deepening Inquiry → Counter-questions push you to work out the answer yourself
第五阶段:辩证收尾 → 指出判断的局限性,"前途是光明的,道路是曲折的"
Phase 5: Dialectical Close → Acknowledge limits of the analysis — "The future is bright; the road is winding"
12个核心心智模型 | 12 Core Mental Models
| 模型 / Model | 来源 / Source | 应用场景 / Application |
|---|---|---|
| 矛盾分析法 On Contradiction | 《矛盾论》1937 | 找主要矛盾、破局关键 · Identify the principal contradiction, find the breakthrough |
| 实践认识循环 Practice-Knowledge Cycle | 《实践论》1937 | 避免教条、回归调查 · Avoid dogmatism, return to investigation |
| 持久战略 Protracted War Strategy | 《论持久战》1938 | 力量不利时的长期策略 · Long-term strategy when at a disadvantage |
| 农村包围城市 Countryside Encircles the City | 《星星之火》1930 | 差异化竞争、根据地建设 · Differentiated competition, base-area building |
| 统一战线 United Front | 《阶级分析》1925 | 团结盟友、区分敌我 · Unite allies, distinguish friend from foe |
| 群众路线 Mass Line | 《领导方法》1943 | 决策来源于实践验证 · Decisions grounded in practice and verified by the masses |
| 纸老虎论 Paper Tiger | 与斯特朗谈话1946 | 战略藐视+战术重视 · Strategic contempt + tactical respect |
| 调查研究法 Investigation Method | 《反对本本主义》1930 | 一线调查、数据第一 · Front-line research, data first |
| 批评与自我批评 Criticism & Self-Criticism | 《整顿党的作风》1942 | 团队冲突、组织建设 · Team conflict, organizational health |
| 集中优势兵力 Concentrate Superior Forces | 《战略问题》1936 | 资源分配、打歼灭战 · Resource allocation, decisive engagements |
| 知己知彼 Know Yourself & Your Enemy | 《孙子》+ 毛泽东实践 | 竞争分析三维度 · Three-dimensional competitive analysis |
| 十大关系 Ten Major Relationships | 《论十大关系》1956 | 辩证处理各类张力 · Dialectically handle various tensions |
支持的 API Provider | Supported API Providers
| Provider | Key 格式 / Key Format | 模型 / Model | 自动识别 / Auto-Detect |
|---|---|---|---|
| Anthropic | sk-ant-* |
claude-sonnet-4-6 | ✅ |
| DeepSeek | sk-* |
deepseek-chat | ✅ (默认 / default) |
| OpenAI | sk-* |
gpt-4o | 手动选择 / manual |
| 自定义 / Custom | 任意 / any | 自定义 / custom | 手动配置端点 / manual endpoint |
在 test.html 或前端界面的 API Key 设置面板中,可以手动选择 Provider 或输入自定义端点 URL。
In test.html or the frontend’s API Key settings panel, you can manually select a provider or enter a custom endpoint URL.
项目结构 | Project Structure
maoxuan-changzheng/
├── SKILL.md # Claude Code Skill 主文件(核心方法论)| Main Skill file (core methodology)
├── test.html # 零依赖独立测试页面,双击即用 | Zero-dependency standalone page, double-click to use
├── app/ # React + Vite 完整前端 | Full React + Vite frontend
│ ├── src/
│ │ ├── lib/
│ │ │ └── system-prompt.ts # 嵌入的系统提示词 | Embedded system prompt
│ │ ├── sections/
│ │ │ ├── HeroSection.tsx
│ │ │ ├── AboutSection.tsx
│ │ │ ├── ChatSection.tsx # 真实 Claude API 对话 | Live Claude API chat
│ │ │ └── ContactSection.tsx
│ │ └── components/
│ │ └── Navigation.tsx
│ ├── package.json
│ └── vite.config.ts
└── references/
└── anthology-map.md # 231篇原典主题索引 | Thematic index of 231 primary texts
作为 Claude Code Skill 使用 | Using as a Claude Code Skill
将 SKILL.md 放到你的 Claude Code skills 目录,然后在对话中输入:
Place SKILL.md in your Claude Code skills directory, then type in any conversation:
/maoxuan-enhanced
即可激活毛泽东思维伙伴模式。
This activates the Mao Zedong thinking-partner mode.
界面预览 | Interface Preview
致谢 | Acknowledgments
本项目站在两个优秀开源项目的肩膀上:
This project stands on the shoulders of two excellent open-source projects:
- leezythu/maoxuan-skill — 毛选 Skill v1.0,本项目的直接前身,提供了基础的角色设定与心智模型框架 · The direct predecessor of this project, providing the foundational character setup and mental model framework
- weiyinfu/MaoZeDongAnthology — 231篇毛泽东著作的结构化全文数字化,是本项目原典索引的数据来源 · Structured full-text digitization of 231 Mao Zedong works, the data source for this project’s primary text index
作者 | Authors
| 角色 / Role | 贡献 / Contribution |
|---|---|
| 毛泽东(1893–1976) | 方法论原创者:矛盾论、实践论、持久战、统一战线等思想体系 · Originator of the methodology: On Contradiction, On Practice, Protracted War, United Front, and related frameworks |
| 山而(zhangtianruiwork-droid) | 项目发起、产品设计、前端工程 · Project initiation, product design, frontend engineering |
| Claude Sonnet 4.6(Anthropic) | Skill 工程化、代码实现、对话案例生成 · Skill engineering, code implementation, conversation case generation |
License
MIT License — 方法论来自公共领域,代码实现开源可用。
MIT License — methodology from the public domain; code implementation open-source.
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add zhangtianruiwork-droid/maoxuan-changzheng