Nov 10, 2026
zhangxuefeng-skill: Give Your Agent Zhang Xuefeng's Framework for Education Decisions
An 11k-star Agent Skill that distills Zhang Xuefeng's education and career judgment — 5 mental models and 8 decision heuristics from 5 books, 15+ in-depth interviews with authoritative media, 30+ first-hand quotes, and more — into a perspective your agent can run in 50+ skills-compatible runtimes, including Claude Code, Codex, and Cursor.
Ask whether a 560-point gaokao score from Henan should chase a finance degree, and you usually get a balanced essay. This 11k-star skill answers in the opposite genre: rapid questions about family resources first, employment-median data next, and a verdict in the first sentence. The repo calls it Zhang Xuefeng's cognitive operating system — a runnable thinking framework, explicitly not a quote collection.
Why This Skill Matters
The README draws the line harder: not ChatGPT wearing a Zhang Xuefeng mask — it does not recite quotes, it analyzes your question with the cognitive framework. The skill's own description scopes it as a thinking advisor for education choices, career planning, class mobility, and similar questions.
The research base is spelled out: 5 books, 15+ in-depth interviews with authoritative media outlets, 30+ first-hand quotes, 11 key decision records, and a full life timeline — refined into 5 mental models, 8 decision heuristics, and a complete expression DNA. The models, in the README's own one-line versions:
| Model | One-line version |
|---|---|
| The social sieve (社会筛子论) | Society is one big sieve: it filters children by degree, parents by housing, families by job. |
| Choice over effort (选择 > 努力) | Effort in the wrong direction is waste; picking the right track matters more than running hard. |
| Employment back-casting (就业倒推法) | Work backwards from graduate employment data to today's major choice; watch where the middle 50% go. |
| Class realism (阶层现实主义) | Without family wealth, shelve the ideals — make a living before love, stand steady before climbing high. |
| Controversy is distribution (争议即传播) | Lukewarm advice nobody remembers; only views pushed to the extreme travel. |
The 8 decision heuristics: soul-probe questioning (灵魂追问法) — rapid follow-ups (what score? which province? what do the parents do?) to lock down an option; the median principle (中位数原则) — not the top, not the bottom, judge by the middle 50%; the irreplaceability test (不可替代性检验) — your salary is proportional to your irreplaceability; the Fortune 500 test (500强测试) — watch where companies recruit and which majors they hire, not what they say; family-background triage (家庭背景分流) — same question, different answers with and without family wealth; city first (城市优先原则) — developed cities first, the city decides thinking, resources, and opportunities; the 10-years-later pressure test (10年后压迫测试) — could you accept earning less in ten years than people who scored lower?; and tone-only apologies (认态度不认事实道歉法) — the core view never concedes, only the delivery adjusts.
The README also refuses to flatten the man into a caricature — it keeps five pairs of contradictions: spokesperson for poor families versus multi-millionaire; cross-major success versus advising others to pick the right major; mind-your-health advice versus ten-plus-hour workdays; preaching restraint with a mouth faster than the brain; and controversy as strategy versus controversy as temperament.
Installation
The skill follows the open Agent Skills protocol, and the README counts Claude Code, Codex, Cursor, OpenClaw, Hermes Agent, CodeBuddy, Workbuddy, Gemini CLI, OpenCode, and other skills-compatible runtimes — 50+ in all — as places it runs. The documented one-liner:
npx skills add alchaincyf/zhangxuefeng-skill
That is the universal CLI installer (vercel-labs/skills, which the README credits with 55+ runtime support); it auto-detects your runtime, or you pin one with -a claude-code, -a codex, -a cursor, or -a openclaw. Manual install clones the repo into the runtime's skills directory, including ~/.claude/skills/zhangxuefeng-skill/ for Claude Code, ~/.codex/skills/zhangxuefeng-skill/ for Codex CLI, ~/.cursor/skills/zhangxuefeng-skill/ for Cursor, and ~/.openclaw/workspace/skills/zhangxuefeng-skill/ for OpenClaw. And if your runtime lacks Agent Skills auto-loading, the README's third option is pasting the SKILL.md contents into the conversation — it is plain markdown plus YAML frontmatter. MIT-licensed.
Real Workflow: Pressure-Test a Major Choice
Scenario, taken from the README's worked examples: your child scored 560 in the gaokao (China's college entrance exam), you are in Henan, and the kid wants to study finance.
- Trigger the skill. Any of the README's usage lines works:
> 用张雪峰的视角帮我分析这个专业选择
> 张雪峰会怎么看这个职业方向?
> 切换到张雪峰,我孩子要填志愿了
-
Expect one disclaimer, once. The
SKILL.mdhas the agent state a disclaimer on first activation — for example, that it speaks from Zhang Xuefeng's perspective, inferred from public statements and not his personal views — and never repeats it afterward. -
It researches before it opines. The
SKILL.mdsorts every question into fact-dependent, pure-framework, or mixed; fact-dependent questions force a tool-backed search pass covering, for example, employment rates and salary medians, admission score lines, and where large employers actually recruit — a step the file marks as not skippable. Its stated rule: better one more search than fabricating from training data. -
The answer leads with the verdict. The
SKILL.md's pre-answer checkpoint demands the data checked first, a judgment in the first sentence, and family conditions asked up front. The README's sample exchange runs exactly that way — family background first, the median finance graduate's destination next, then a redirect toward computer science or electrical engineering, under the line 理工科选专业,文科选学校 (majors for STEM tracks, schools for humanities). The README tags it with three named models: employment back-casting, family-background triage, and the social sieve.
Four full sample exchanges ship in the repo's examples/ directory: the 560/finance question, a 双非 (non-elite) undergrad deciding whether to attempt a 985 (top-tier) grad school, the AI-era question below, and whether a cash-strapped family should fund an art degree.
Real Workflow: Ask What Survives AI
The README's third sample question is the one every recommendation eventually faces: with AI arriving, are the majors you recommended still safe? The sample answer splits the board. Unchanged: clinical medicine, electrical engineering, and dentistry — machines do not operate, climb pylons, or pull teeth. Exposed: basic coding work. Updated: the advice moves from learning computer science to computer science plus AI, and from writing code to writing code with AI — the underlying constant being that salary tracks irreplaceability. The README tags this exchange with the irreplaceability test, employment back-casting applied to AI's different layers of impact, and the 10-years-later pressure test.
Tips
- Leaving the role takes one line. Say 退出, 切回正常, or 不用扮演了 and the agent drops back to normal mode, per the
SKILL.md. - Trigger phrases are loose: per the skill's description, 张雪峰模式, 雪峰视角, or 帮我用张雪峰的角度想想 all fire it.
- It stays in character. The
SKILL.mdforbids breaking into meta-commentary unless you explicitly ask to exit the role — analysis arrives as "I", not "Zhang Xuefeng would say". - The six research files under
references/research/(writings, conversations, expression DNA, external views and criticism, decisions, timeline) are readable in their own right; the README notes the source list excluded Zhihu, WeChat public accounts, and Baidu Baike. - Want a different mind? The README links six more distilled skills — Jobs, Musk, Naval, Munger, Feynman, Taleb — and this skill itself was generated by nuwa-skill, the distillation pipeline covered in yesterday's tutorial.
When Not to Use This
The SKILL.md's honest-boundaries section (诚实边界) spells the limits out itself. Scope: the advice targets ordinary families making employment-oriented education choices — the file itself warns that for well-off families, academic pursuits, or entrepreneurial directions, the same advice may actually become a constraint. Freshness: the recommendations are stamped to the employment data of their era, and the file says the AI-era job landscape has already moved; the underlying research is dated 2026-04-05 and compiled from the public record. Completeness: the viral lines are the distribution cut — the file notes deep interviews carry more nuance than the quotes. Style: hedging is banned by design — the anti-pattern blacklist calls 这取决于个人情况 fence-sitting — so if you want balanced pros-and-cons, this is the wrong tool. And the first-activation disclaimer is the frame to keep in mind throughout: a distillation from public statements, not the person's own views.
See the leaderboard for more skills.