毛泽东方法论AI助手 - 基于六层认知架构的智能分析系统 | Mao Zedong Methodology AI Assistant with Six-Layer Cognitive Architecture

MITAuto-check: notes

Install Mao

skills CLI
$ npx skills add wwwaapplleecu-source/mao-skill --skill mao -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install wwwaapplleecu-source/mao-skill mao --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
mao
GitHub stars
109
Token cost
~1.8k tokens
SKILL.md length
141 words
Files
222
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

毛泽东方法论AI助手 - 基于六层认知架构的智能分析系统 | Mao Zedong Methodology AI Assistant with Six-Layer Cognitive Architecture

  • Works in 4 steps: 哲学方法论 → 工作方法 → 战略思维 → …
  • SKILL.md covers 概述, 核心能力, 使用方法 and 技术实现, plus 5 more sections
  • Calls git and pip

What it does

Mao is an agent skill from wwwaapplleecu-source/mao-skill. 毛泽东方法论AI助手 - 基于六层认知架构的智能分析系统 | Mao Zedong Methodology AI Assistant with Six-Layer Cognitive Architecture

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 226 other files (for example `CHANGELOG.md`, `CONTRIBUTING.md` and `README.de.md`).

The licence is MIT.

Example prompts

  • “/mao”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Bash

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. 哲学方法论
  2. 工作方法
  3. 战略思维
  4. 分析框架

What it can do on your machine

Read from SKILL.md and the folder at commit b6b3963. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git and pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Mao loads about 1.8k tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 141 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~27
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Edit, Bash

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from wwwaapplleecu-source/mao-skill at commit b6b3963, republished under its MIT licence (© wwwaapplleecu-source). 141 words, ~1,776 tokens.

Download SKILL.mdSave it as .claude/skills/mao/SKILL.md (or your agent's skills folder). This skill also uses 221 other files; get the full folder from GitHub.
name
mao
description
毛泽东方法论AI助手 - 基于六层认知架构的智能分析系统 | Mao Zedong Methodology AI Assistant with Six-Layer Cognitive Architecture
allowed-tools
Read, Write, Edit, Bash
argument-hint
[command] [args]
version
1.2.0
user-invocable
true

毛泽东 — AI Colleague Skill

基于毛泽东著作的方法论体系和表达风格构建的AI Skill | 六层认知架构 v1.2.0


概述

本Skill将毛泽东的哲学方法论、工作方法和表达风格蒸馏为AI可用的格式,采用现代化六层认知架构,提供智能分析、渐进学习、概念查询等完整功能体系。

核心特性:

  • 🏗️ 六层认知架构:现代化分层设计,确保系统稳定性和扩展性
  • 🎯 智能分析推荐:基于问题内容自动推荐最佳分析方法(准确率78%+)
  • 📚 四级渐进学习:入门→基础→进阶→专业,支持从零基础到专业研究
  • 🔍 概念知识网络:674个毛泽东核心概念库,支持深度查询和关系探索
  • 🔄 向后完全兼容:所有老命令继续支持,平滑过渡到新架构

版本信息:

  • 当前版本: 1.2.0 (六层架构版)
  • 发布日期: 2026-04-09
  • 架构版本: Six-Layer Cognitive Architecture

核心能力

1. 哲学方法论
  • 实践论方法:实践 → 认识 → 再实践 → 再认识
  • 矛盾论方法:对立统一规律,主要矛盾分析,矛盾转化
  • 实事求是原则:理论联系实际,反对教条主义
2. 工作方法
  • 调查研究法:没有调查就没有发言权
  • 群众路线法:从群众中来,到群众中去
  • 试点推广法:典型试验,逐步推广
  • 批评与自我批评:惩前毖后,治病救人
3. 战略思维
  • 持久战思维:防御 → 相持 → 反攻
  • 统一战线思维:团结一切可以团结的力量
  • 根据地思维:建立巩固的根据地,逐步发展
  • 运动战原则:集中优势兵力,各个歼灭敌人
4. 分析框架
  • 阶级分析法:分析社会各阶级的状况和态度
  • 矛盾分析法:分析事物内部的矛盾运动
  • 历史分析法:用历史的眼光看问题
  • 调查研究法:通过调查掌握实际情况

使用方法

🚀 核心命令架构

毛泽东.skill采用主命令+子命令架构,提供直观易用的使用体验:

bash
# 快捷方式
/mao [问题]                     # 智能分析快捷方式

# 完整命令
/mao help                      # 获取帮助(智能引导)
/mao analyze [问题]            # 智能分析(主功能)
/mao learn                     # 学习系统
/mao concepts                  # 概念系统
/mao compare                   # 比较系统
/mao settings                  # 设置系统

# 向后兼容的老命令(继续支持)
/mao-work [问题]
/mao-persona [文本]
/mao-analyze [方法] [问题]
/mao-concepts
/mao-examples
/mao-help
/mao-version
📖 详细命令说明
1. 智能分析(核心功能)
bash
/mao analyze [问题]              # 智能推荐分析方法
/mao analyze --method=矛盾 [问题] # 指定矛盾分析法
/mao analyze --method=实践 [问题] # 指定实践论方法

支持的分析方法:

  • 矛盾分析法:识别主要矛盾和次要矛盾,分析矛盾转化
  • 实践论方法:遵循"实践-认识-再实践"循环,指导具体工作
  • 调查研究法:没有调查就没有发言权,典型与普遍结合
  • 战略思维法:持久战思维,战略藐视战术重视
  • 群众路线法:从群众中来,到群众中去
  • 综合分析法:智能选择最适合的方法(默认)
2. 学习系统
bash
/mao learn                      # 开始学习(智能推荐路径)
/mao learn [主题]               # 学习特定主题
/mao learn --path=入门          # 选择入门学习路径
/mao learn --path=基础          # 选择基础学习路径
/mao learn --path=进阶          # 选择进阶学习路径
/mao learn --path=专业          # 选择专业学习路径

四级渐进学习路径:

  • 入门:15分钟快速了解毛泽东方法论核心
  • 基础:1小时掌握核心方法论和应用
  • 进阶:3小时深入学习复杂问题分析
  • 专业:10小时专业研究深度理论
3. 概念系统
bash
/mao concepts                   # 查看核心概念列表(674+概念)
/mao concepts [概念]            # 查看特定概念详细解释
/mao concepts --search=[关键词] # 搜索相关概念
4. 帮助系统
bash
/mao help                       # 获取总体帮助和快速入门
/mao help [主题]                # 获取特定主题详细帮助
5. 比较系统
bash
/mao compare                    # 查看比较系统介绍
/mao compare [主题1] [主题2]    # 比较两个方法论或主题
6. 设置系统
bash
/mao settings                   # 查看和修改个性化设置

技术实现

六层认知架构

毛泽东.skill采用现代化六层认知架构设计:

┌─────────────────────────────────────────────┐
│            用户界面层 (UI Layer)            │
│  • 命令解析、响应格式化、用户交互          │
│  • 向后兼容性保证、智能错误处理            │
└──────────────────────┬──────────────────────┘
                       ↓
┌─────────────────────────────────────────────┐
│         分析决策层 (Analytics Layer)        │
│  • 智能分析方法推荐(准确率78%+)          │
│  • 问题理解、意图识别、路径规划            │
└──────────────────────┬──────────────────────┘
                       ↓
┌─────────────────────────────────────────────┐
│          方法执行层 (Method Layer)          │
│  • 6种具体分析方法执行                     │
│  • 矛盾分析、实践论方法、调查研究法等      │
└──────────────────────┬──────────────────────┘
                       ↓
┌─────────────────────────────────────────────┐
│         知识检索层 (Knowledge Layer)        │
│  • 674个概念库查询、四级学习路径管理       │
│  • 用户进度跟踪、个性化推荐                │
└──────────────────────┬──────────────────────┘
                       ↓
┌─────────────────────────────────────────────┐
│           性能监控层 (Performance Layer)    │
│  • 实时性能监控、响应时间优化              │
│  • 缓存管理、资源优化                      │
└──────────────────────┬──────────────────────┘
                       ↓
┌─────────────────────────────────────────────┐
│             集成接口层 (Integration Layer)  │
│  • 统一接口、向后兼容性、多平台支持        │
│  • 标准化响应格式、错误处理机制            │
└─────────────────────────────────────────────┘
核心组件
  • 智能推荐器 (tools/smart_recommender.py):基于问题内容推荐最佳分析方法
  • 命令解析器 (tools/command_parser.py):统一的主命令+子命令解析架构
  • 学习管理系统 (tools/learning_system.py):四级渐进学习路径和进度跟踪
  • 概念查询系统:674个核心概念的关系网络查询
  • 六层集成系统 (tools/six_layer_integration.py):完整的六层架构实现
  • 现代化接口 (tools/mao_skill_integration_v2.py):向后兼容的主接口

安装与部署

OpenClaw
bash
# 安装完整Skill
git clone https://github.com/wwwaapplleecu-source/mao-skill ~/.openclaw/workspace/skills/mao-colleague

# 安装依赖(如需要)
cd ~/.openclaw/workspace/skills/mao-colleague
pip install -r requirements.txt
Claude Code
bash
# 项目级安装
mkdir -p .claude/skills
git clone https://github.com/wwwaapplleecu-source/mao-skill .claude/skills/mao-colleague

# 或全局安装
git clone https://github.com/wwwaapplleecu-source/mao-skill ~/.claude/skills/mao-colleague

效果示例

示例1:智能矛盾分析

用户输入:

/mao 分析公司部门协作矛盾

Skill响应:

## 🔍 问题分析: 分析公司部门协作矛盾

🎯 **智能推荐方法**: 矛盾分析法 (置信度: 78%)

**推荐理由**: 问题中包含"矛盾"、"协作"、"问题"等关键词,适合使用矛盾分析法识别主要矛盾和次要矛盾。

## 📋 矛盾分析步骤

1. **识别矛盾**:找出部门协作中的各种矛盾
2. **区分主次**:确定主要矛盾和次要矛盾
3. **分析关系**:分析矛盾双方的对立统一关系
4. **制定对策**:针对主要矛盾制定解决方案

**核心概念**: 主要矛盾, 次要矛盾, 矛盾转化, 对立统一

> *"事物发展的根本原因,不是在事物的外部而是在事物的内部,在于事物内部的矛盾性。"*

---

💡 **建议**: 如需深入学习矛盾分析法,请使用 `/mao learn 矛盾论`
示例2:实践论方法指导

用户输入:

/mao analyze --method=实践 如何改进产品设计流程

Skill响应:

## 🔍 实践论方法指导: 如何改进产品设计流程

**方法**: 实践-认识-再实践循环

## 📋 实践论步骤

1. **实践探索**:进行小范围产品设计实践,获取感性认识
2. **总结提升**:总结经验,形成理性认识和改进方案
3. **指导实践**:用理性认识指导更大范围的设计实践
4. **循环验证**:实践-认识-再实践循环,逐步完善流程

**核心原则**: 理论联系实际,反对教条主义

> *"实践、认识、再实践、再认识,这种形式,循环往复以至无穷。"*

限制说明

适用场景
  • 战略分析与规划
  • 矛盾分析与解决
  • 工作方法指导
  • 调查研究设计
  • 领导力与团队建设
不适用场景
  • 技术细节问题
  • 情感咨询
  • 个人隐私问题
  • 当代政治评论
  • 敏感历史评价
表达边界
  • 专注于方法论和思维方式的提取
  • 保持学术中立,尊重历史事实
  • 不进行政治宣传或意识形态灌输
  • 不讨论敏感历史时期和事件

项目结构

mao-colleague/
├── SKILL.md                    # 主技能入口文件(本文件)
├── tools/                      # 核心工具库
│   ├── command_parser.py       # 命令解析器
│   ├── smart_recommender.py    # 智能推荐器
│   ├── learning_system.py      # 学习管理系统
│   ├── mao_skill_integration_v2.py # 现代化接口
│   ├── analytics_layer.py      # 分析决策层
│   ├── method_executor.py      # 方法执行层
│   ├── knowledge_retriever.py  # 知识检索层
│   ├── six_layer_integration.py # 六层集成
│   └── text_processor.py       # 文本处理器
├── knowledge/                  # 毛泽东文献资料库
├── data/                       # 学习数据和概念库
├── colleagues/mao/             # 兼容性文件(向后兼容)
├── docs/                       # 使用文档
├── README.md                   # 项目说明
├── CHANGELOG.md                # 版本历史
├── LICENSE                     # MIT许可证
└── requirements.txt            # Python依赖

技术支持


版本状态:1.2.0 (六层架构版) ✅ 更新日期:2026-04-09

© wwwaapplleecu-source, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 221 other files in the repository root of wwwaapplleecu-source/mao-skill.

  • SKILL.md
  • .gitignore
  • CHANGELOG.md
  • CONTRIBUTING.md
  • LICENSE
  • README.de.md
  • README.en.md
  • README.es.md
  • README.ja.md
  • README.ko.md
  • README.md
  • colleagues
  • data/learning_paths.json
  • docs/design/command_architecture.md
  • docs/design/user_experience_diagnosis.md
  • docs/language/de/quick_start.md
  • … and 206 more

Open the folder on GitHubat commit b6b3963

Compare with similar skills

Mao next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Mao compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mao this skillwwwaapplleecu-source/mao-skill109—~1.8kAutomated safety check: NotesMIT
Mao Zedong Perspectivedigoal/blog8.6k—~1.7kAutomated safety check: PassGPL-2.0
Benchmark Methodologyaffaan-m/ECC277k1 repos~2.5kAutomated safety check: PassMIT
Evaluation Methodologywshobson/agents40k—~2kAutomated safety check: PassMIT
Generic Assistantmastra-ai/mastra29k—~1.1kAutomated safety check: PassCustom licence
Sparc Methodologyruvnet/ruflo74k—~262Automated safety check: PassMIT

Similar skills

  • 毛泽东的思维框架与表达方式。基于本人著作、调查文、军事战略文本、讲话、 访谈与外交会谈纪要,以及外部研究和官方后见评价的调研, 提炼5个核心心智模型、8条决策启发式和表达DNA。

    8.6k GitHub stars~1.7k tokensUpdated 2 days ago
    Auto-check passed
  • Score a scoped competitor set into comparable profile cards: nine weighted dimensions (positioning, voice, visual craft, offer packaging, evidence, enterprise-readiness, thought leadership, pricing…

    277k GitHub starsUsed in 1 repo~2.5k tokens
    EducationAuto-check passed
  • Evaluation Methodology

    wshobson/agents

    PluginEval quality methodology, covering dimensions, rubrics, and scoring formulas.

    40k GitHub stars~2k tokensUpdated 6 days ago
    EducationAuto-check passed
  • Generic Assistant

    mastra-ai/mastra

    Fallback authoring playbook for building general-purpose personal assistant agents that do not fit a more specific archetype.

    29k GitHub stars~1.1k tokensUpdated today
    Sales & SupportAuto-check passed
  • Sparc Methodology

    ruvnet/ruflo

    SPARC development workflow (Specification, Pseudocode, Architecture, Refinement, Completion).

    74k GitHub stars~262 tokensUpdated yesterday
    Auto-check passed
  • Mao Zedong Wisdom

    20240610ldx-hub/mao-chiang-wisdom-skills

    Apply Mao Zedong's strategic frameworks for underdog strategy, high-uncertainty decisions, and complex problem analysis.

    170 GitHub stars~12k tokensUpdated 1 mo ago
    Product & Project ManagementAuto-check passed

Questions about Mao

What does Mao do?

毛泽东方法论AI助手 - 基于六层认知架构的智能分析系统 | Mao Zedong Methodology AI Assistant with Six-Layer Cognitive Architecture. Mao is an agent skill from wwwaapplleecu-source/mao-skill.

How do I install Mao in Claude Code?

Run `npx skills add wwwaapplleecu-source/mao-skill --skill mao -a claude-code`. Or copy the skill folder (the wwwaapplleecu-source/mao-skill repository) into .claude/skills/mao in your project. Claude Code loads it when a task matches its description.

How do I install Mao in Codex?

Run `npx skills add wwwaapplleecu-source/mao-skill --skill mao -a codex`. Or copy the skill folder (the wwwaapplleecu-source/mao-skill repository) into .agents/skills/mao in your project. Codex loads it when a task matches its description.

Can I use Mao in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add wwwaapplleecu-source/mao-skill --skill mao -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mao, .gemini/skills/mao, .github/skills/mao and .opencode/skills/mao in your project.

What does Mao need to run?

Going by SKILL.md and its folder, Mao needs the command-line tools its instructions call (git and pip). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Write, Edit, Bash.

Does Mao access the network?

SKILL.md contains no URLs. Its commands use git and pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Mao safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Mao use?

Mao is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Mao use?

About 1.8k tokens (SKILL.md is roughly 7.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Mao?

Skills that share tags, products or a category with Mao: Mao Zedong Perspective (digoal/blog, 8.6k stars), Benchmark Methodology (affaan-m/ECC, 277k stars), Evaluation Methodology (wshobson/agents, 40k stars) and Generic Assistant (mastra-ai/mastra, 29k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mao?

wwwaapplleecu-source (a GitHub user) maintains it in wwwaapplleecu-source/mao-skill, which has 109 GitHub stars. The repository was last updated on April 9, 2026.

Source: wwwaapplleecu-source/mao-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.