Skills for Real Engineers. Straight from my .agents directory.
yao-crux-skill
Agent skill fromyaojingang/yao-open-skills
Use when a user is stuck in a complex real-world situation with many conflicts, limited resources, unclear priorities, or asks to identify the principal contradiction, secondary contradictions, dominant aspect, breakthrough actions, monitoring thresholds, probability projection, and Markdown/Word/HTML/PDF reports. Triggers on 矛盾论, 主要矛盾, 次要矛盾, 主次矛盾, 卡住了, 优先级混乱, 找关键问题, 资源有限, 冲突很多. Do not use for philosophy-only summaries, Mao text commentary with no live case, generic brainstorming with no diagnosis, or final licensed medical, legal, investment, or psychological-crisis advice.
How to install yao-crux-skill
npx skills add yaojingang/yao-open-skills# or add only this skill to Claude Code: copy the folder
skills/yao-crux-skill/
# into
~/.claude/skills/yao-crux-skill/ (all projects)
.claude/skills/yao-crux-skill/ (one project)
1# Yao Crux Skill23Use this skill to first clarify the user's current situation, then turn it into a principal-contradiction diagnosis, a secondary-contradiction watchlist, a focused action plan, and a four-format report bundle.45## Use This Skill For67- ask concise follow-up questions before judging a user's current situation8- assess whether the user's current situation is clear enough for diagnosis before naming the principal contradiction9- produce a confirmable current-state snapshot with goal, facts, stage, resources, constraints, stakeholders, and repeated patterns10- identify goals, stage, constraints, facts, stakeholders, resources, and repeated conflict patterns11- rewrite messy symptoms as candidate contradictions in the form `力量A 与 力量B 的冲突`12- run a first-principles layer scan so the principal contradiction can be an upstream, not-yet-visible constraint rather than the loudest symptom13- use the three plain principal-contradiction checks: `决定性`, `牵引性`, and `阶段性`14- separate internal changeable structures from external hard conditions, then judge how external conditions act through internal structure15- use Bayesian-style evidence updates and Ockham-razor parsimony as supporting checks when candidate contradictions are close16- score principal and secondary contradictions by goal impact, causal leverage, stage urgency, resource constraint, changeability, spillover risk, and evidence strength17- identify the principal aspect inside the principal contradiction18…
Excerpt shown under the repository's MIT license.
More skills in yao-open-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
