Book to Agent Skill: Nie’s Grassroots China Logic Toolbox
Someone distilled Nie Huihua’s book The Operating Logic of Grassroots China into an Agent Skill.
Not by dumping a PDF into context — by turning recurring governance frameworks — line-block relations, power-weight metrics, dual equilibrium, the “three mountains,” land-finance loops, government–enterprise quadrants — into a reusable toolbox for Cursor, Claude Code, Codex, and Grok.
Appinn’s write-up (by 青小蛙, recommended by 蚁工厂) points to ayi-ai/nie-grassroots-logic on GitHub — already past 500 stars.
The book

The book is on sale (ISBN 9787208197473, ~69 CNY). Author: Nie Huihua. Douban rating around 7.7 — respectable in an era when few people finish books.
The skill does not include the full text. It ships analytic language for explaining phenomena and making choices.

What the skill does
Two main uses:
- Decode news and power structure — why poor counties still chase investment and land sales; who’s actually afraid of whom between a county party secretary and a provincial deputy director.
- Personal decisions — education, civil service paths, investment, retirement, entrepreneurship, housing, school districts. The more specific your question, the more useful the answer.
| Common confusion | How the skill helps |
|---|---|
| Poor county, still aggressive on investment and land | “Three mountains + land-finance loop + hierarchy” |
| Big county secretary, still fears a provincial deputy | “Line-block + graded resource allocation” |
| Township vs ministry department; is a street office worth it? | “Three-factor power weight + city tier” path compare |
| County merged into a district — housing, schools, staffing? | One-page district scenario: official / enterprise / household |
| Subsidies and park projects — how not to step on mines? | “Gov–enterprise quadrant + incomplete contracts + project path” |
| Strict accountability — can grassroots still innovate? | “Red/yellow/green fault-tolerance boundaries” |
Example: county-to-district merger

Feed the skill a merger scenario and the output reads like a toolbox — no pep talk, just mechanisms:
- School districts: administrative change ≠ instant access to core-city seats
- Staffing: institutions get reorganized; individuals don’t automatically “upgrade”
Then it asks: which county, approval timing, and whether you care about housing, schooling, or civil service — so it can sanity-check a local version.
Students, parents, job seekers, founders, investors, or plain curiosity — all fair questions; specificity wins.
Why a skill beats raw chat
Generic AI chat drifts, templates, and invents plausible-sounding institutional narratives.
A skill bounds the problem: you ask in the book’s governance vocabulary; the model is steered to reason inside the same frame. Bounded beats unbounded for repeatable analysis instead of one-off hot takes.
This isn’t “watch the movie in five minutes” — it’s turning a book into a callable tool. Whether you still need the book depends on whether you want judgments or full argumentation; frameworks travel, edge cases often stay in print.
Install
Clone the repo into your agent skills folder, e.g.:
~/.cursor/skills/nie-grassroots-logic~/.codex/skills/nie-grassroots-logic
Open source, no full book text — buy the book if you want depth.
Takeaway for agent builders: “monograph → skill” is a pattern worth copying — extract repeatable judgment frameworks from long texts instead of pasting PDF chunks every session. Cheaper tokens, steadier outputs.
Comments