Skip to main content
skill CX Codex

maoxuan-skill-cognitive-framework — Claude Code skill: strategy models

A skill that hands your agent a set of thinking models drawn from Mao Zedong's writings: find the principal contradiction, plan from the weaker side, gather allies.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add reason-machines/trending-skills --skill maoxuan-skill-cognitive-framework -a claude-code
Open on GitHub

What maoxuan-skill-cognitive-framework does

The skill loads SKILL.md into the agent's context. Inside are seven mental models and ten decision heuristics. The models cover contradiction analysis, the practice-cognition loop, protracted war, rural encirclement, the united front, the mass line and paper tiger theory. The agent does not act as Mao; it runs your problem through his analytical frames.

Alongside SKILL.md the repository keeps research notes under references/research/: distilled core texts, strategic thinking, expression style, outside views, key decisions and a timeline. Handy when you want to see where a heuristic comes from.

It installs into Claude, Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode. The install command runs through npx, so Node.js has to be available. After that you trigger the skill with phrases like 毛选 or 用毛选框架; if a trigger does not fire, ask the agent outright to work through the models from the skill.

What it helps with

  • spot the one issue that unblocks the rest when everything looks urgent
  • pick a strategy for the smaller side against a bigger competitor
  • reframe a team conflict around a shared target
  • decide when to conserve resources and when to push
  • gather evidence before committing to a decision

Example prompts for the agent

  • Work through our situation with the models from the skill: we're a small team and a competitor just shipped something similar
  • Run contradiction analysis on this task list and tell me which item is the principal one
  • Plan our market entry along protracted war lines: where do we build strength, where do we attack

How to install maoxuan-skill-cognitive-framework

1Skills CLI (Vercel)

npx skills add reason-machines/trending-skills --skill maoxuan-skill-cognitive-framework -a claude-code

2Manually: put the files in place

~/.claude/skills/maoxuan-skill-cognitive-framework/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/maoxuan-skill-cognitive-framework/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about maoxuan-skill-cognitive-framework

How do I install maoxuan-skill-cognitive-framework in Claude Code?

Run npx skills add reason-machines/trending-skills --skill maoxuan-skill-cognitive-framework -a claude-code. The skill file then lands at ~/.claude/skills/maoxuan-skill-cognitive-framework/SKILL.md.

What does maoxuan-skill-cognitive-framework do?

It gives the agent seven mental models and ten heuristics for working through a problem: locating the principal contradiction, planning from a weak position, handling allies. The agent applies those frames to your question instead of quoting texts.

Which platforms does the skill support?

Claude, Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode. Each platform takes its own -a flag in the install command.

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set139

keychron-keyboards-hardware-design Lets your agent work with Keychron's open CAD files — STEP, DXF, DWG and PDF for keyboards and mice. Useful for 3D printing or laser cutting. CX Codex +1 550installs 3dsvg-interactive-react Turns SVGs and text into interactive 3D React components with the 3dsvg library. Useful for a dimensional logo or hero badge. CX Codex +1 529installs littlesnitch-linux A skill covering the open-source part of Little Snitch for Linux: Rust eBPF programs that intercept network connections and block hosts from lists. CX Codex +1 518installs pyre-code-ml-practice This skill walks you through hosting Pyre Code, a practice platform with 68 ML problems, and through writing your own. Handy when you want hands-on work on transformer and diffusion internals without a GPU. CX Codex +1 517installs codex-oauth-automation-extension Installs a Chrome extension that walks the whole OpenAI OAuth signup and login: pulls the email code, confirms the callback, repeats for several rounds. CX Codex +1 505installs rattles-terminal-spinners A Claude skill covering rattles, a minimal Rust library for terminal spinners. Useful when a CLI needs a loading indicator without extra dependencies. CX Codex +1 497installs moss-tts-nano-speech A skill that shows the agent how to run MOSS-TTS-Nano, a tiny multilingual speech model with voice cloning that works on CPU. CX Codex +1 478installs isolet-widget-isolation This skill packages a component into a self-contained widget with shadow DOM and scoped styles, ready to embed on any page. CX Codex +1 474installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor