agentleFS
yaojingangyaojingang/yao-open-skills/skills/yao-crux-skill/SKILL.md

yao-crux-skill

Skill1.3k starsChanged 7 months agoMITView on GitHub

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.

Trending

Quiet since October.thin dataabout the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 1 mentionNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the yaojingang/yao-open-skills repository that our weekly crawl found: only 1 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about yaojingang/yao-open-skills

The biggest 1 of 1 mention linking to the repository that our crawl found. Each line is their own headline.

The file

Show its rules and text

We split this skill into the rules it gives an agent

23 rules. About 0 are common, 9 are distinctive, and 14 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 14

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill to first clarify the user's current situation, then turn it into a principal-contradiction diagnosis, a …

    line 12
  2. Distinctive:

    ask concise follow-up questions before judging a user's current situation

    line 16
  3. Distinctive:

    run a first-principles layer scan so the principal contradiction can be an upstream, not-yet-visible constraint rather than the loudest …

    line 21
  4. Very specific:

    use the three plain principal-contradiction checks: 决定性, 牵引性, and 阶段性

    line 22
  5. Distinctive:

    use Bayesian-style evidence updates and Ockham-razor parsimony as supporting checks when candidate contradictions are close

    line 24
  6. Very specific:

    write user-facing reports that explicitly use 主要矛盾 and 次要矛盾, while translating them with practical labels such as 最关键的卡点 and 先不主攻,但要盯住

    line 30
  7. Very specific:

    Read references/intake-and-questioning.md.

    line 42
  8. Very specific:

    Run the current-state gate from references/intake-and-questioning.md or scripts/current_state_clarity.py.

    line 43
  9. Very specific:

    If clarity is insufficient, do not name a principal contradiction.

    line 44
  10. Very specific:

    If clarity is workable, produce a provisional current-state snapshot, ask the missing questions, and label any contradiction read as …

    line 45
  11. Very specific:

    If clarity is clear, restate the current-state snapshot and ask the user to confirm or correct it before deep diagnosis.

    line 46
  12. Very specific:

    Run references/safety-and-boundaries.md.

    line 47
  13. Very specific:

    Read references/theory-anchors.md.

    line 48
  14. Very specific:

    Use the first-principles gate in references/contradiction-model.md: separate visible symptoms from the hidden root variable that can …

    line 49
  15. Very specific:

    If the top contradiction is below 3.5/5 or the evidence is too weak, return a provisional read and ask for the missing evidence instead of …

    line 54
  16. Very specific:

    Run scripts/generate_report_bundle.py input_file.json output_dir for synchronized Markdown, HTML, Word, PDF, and .report.json artifacts.

    line 59
  17. Very specific:

    Check the bundle with scripts/verify_report_bundle.py output_dir before claiming completion.

    line 60
  18. Distinctive:

    Before the conclusion, make sure the current-state snapshot is explicit enough.

    line 66
  19. Very specific:

    Default report headings must integrate the concepts and the practical translation: 主要矛盾(最关键的卡点), 次要矛盾(先不主攻,但要盯住), 主要矛盾判断过程.

    line 67
  20. Distinctive:

    Keep the analysis dynamic: every principal contradiction conclusion needs a reversal condition and a review point.

    line 74
  21. Distinctive:

    Treat secondary contradictions as monitored risks, not ignored problems.

    line 75
  22. Distinctive:

    Keep action advice narrow: 1-3 actions with owner, deadline, resource, metric, and expected effect.

    line 76
  23. Distinctive:

    When diagnosis confidence is sufficient, resource allocation should be deliberately tilted rather than balanced: usually 50%-70% to the …

    line 78

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Yao Crux Skill

Use 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.

Use This Skill For

  • ask concise follow-up questions before judging a user's current situation
  • assess whether the user's current situation is clear enough for diagnosis before naming the principal contradiction
  • produce a confirmable current-state snapshot with goal, facts, stage, resources, constraints, stakeholders, and repeated patterns
  • identify goals, stage, constraints, facts, stakeholders, resources, and repeated conflict patterns
  • rewrite messy symptoms as candidate contradictions in the form 力量A 与 力量B 的冲突
  • run a first-principles layer scan so the principal contradiction can be an upstream, not-yet-visible constraint rather than the loudest symptom
  • use the three plain principal-contradiction checks: 决定性, 牵引性, and 阶段性
  • separate internal changeable structures from external hard conditions, then judge how external conditions act through internal structure
  • use Bayesian-style evidence updates and Ockham-razor parsimony as supporting checks when candidate contradictions are close
  • score principal and secondary contradictions by goal impact, causal leverage, stage urgency, resource constraint, changeability, spillover risk, and evidence strength
  • identify the principal aspect inside the principal contradiction
  • recommend 1-3 breakthrough actions that explicitly weaken or reverse the principal aspect, monitoring thresholds, review conditions, and probability projections after action
  • make resource and attention allocation decisive when the principal contradiction is clear, typically concentrating 50%-70% of high-leverage resources on the main line
  • include visual reasoning modules: analysis flow, iceberg model, contradiction decision matrix, resource allocation, and stage transition map
  • write user-facing reports that explicitly use 主要矛盾 and 次要矛盾, while translating them with practical labels such as 最关键的卡点 and 先不主攻,但要盯住
  • export synchronized markdown, html, docx, and pdf reports using the Kami-style layout rules in this package

Do Not Route Here

  • generic explanation of 矛盾论 with no concrete user case
  • historical, ideological, or textual commentary where no diagnosis or action report is needed
  • broad brainstorming that does not require a principal/secondary contradiction conclusion
  • final professional medical, legal, investment, safety-critical, or psychological-crisis advice

Default Workflow

  1. Read references/intake-and-questioning.md; extract the user's target, stage, constraints, resources, facts, stakeholders, and previous attempts.
  2. Run the current-state gate from references/intake-and-questioning.md or scripts/current_state_clarity.py; score clarity before diagnosis.
  3. If clarity is insufficient, do not name a principal contradiction. Ask no more than 3 decisive questions and stop.
  4. If clarity is workable, produce a provisional current-state snapshot, ask the missing questions, and label any contradiction read as provisional.
  5. If clarity is clear, restate the current-state snapshot and ask the user to confirm or correct it before deep diagnosis.
  6. Run references/safety-and-boundaries.md; hard constraints remain guardrails even when they are not the principal contradiction.
  7. Read references/theory-anchors.md; use 决定性, 牵引性, and 阶段性 as the plain-language front gate before detailed scoring.
  8. Use the first-principles gate in references/contradiction-model.md: separate visible symptoms from the hidden root variable that can explain several symptoms together.
  9. Separate 内部可改变结构, 外部硬条件, and 外因通过内因起作用; do not mistake an external condition for the principal contradiction when an internal response path is available.
  10. Build 3-7 candidate contradictions, including at least one upstream candidate if the visible symptoms share a common cause.
  11. Score candidates with the weighted model; use Bayesian-style updates to ask which explanation fits the evidence best.
  12. Apply Ockham razor only as a supporting tie-breaker: prefer the explanation that covers more symptoms with fewer extra assumptions.
  13. If the top contradiction is below 3.5/5 or the evidence is too weak, return a provisional read and ask for the missing evidence instead of over-claiming.
  14. Identify the principal contradiction, its principal aspect, secondary contradictions, defer reasons, monitor triggers, and review conditions.
  15. Tie each breakthrough action to the principal aspect: say whether it weakens the currently dominant side, strengthens the weaker side, or changes their relationship.
  16. Reallocate resources aggressively when evidence is sufficient: protect the main line, cap secondary contradictions, and keep only minimal stop-loss capacity for monitored risks.
  17. Build a canonical report input JSON using templates/crux-report.schema.json, including visual and dynamic-stage fields when available.
  18. Run scripts/generate_report_bundle.py input_file.json output_dir for synchronized Markdown, HTML, Word, PDF, and .report.json artifacts.
  19. Check the bundle with scripts/verify_report_bundle.py output_dir before claiming completion.
  20. For HTML/PDF delivery, perform a visual pass on the conclusion, current-state tables, iceberg, decision matrix, and stage-transition sections. Reject the output if the content container width drifts away from the top navigation width, or if there is horizontal overflow, clipped legends, overlapping labels, empty chart space, or decorative imagery that does not explain the analysis.

Output Contract

  • Lead with the conclusion: current principal contradiction, principal aspect, confidence, and first action.
  • Before the conclusion, make sure the current-state snapshot is explicit enough; if not, lead with follow-up questions instead of a diagnosis.
  • Default report headings must integrate the concepts and the practical translation: 主要矛盾(最关键的卡点), 次要矛盾(先不主攻,但要盯住), 主要矛盾判断过程.
  • The report must show the first-principles reasoning: 看得见的问题, 上升一层, 看不见的根部变量, and why the visible issue is not necessarily the principal contradiction.
  • The report must explain the principal contradiction through 决定性, 牵引性, and 阶段性 before falling back to scores.
  • The report must separate 内部可改变结构 from 外部硬条件, then explain how external conditions act through internal structure.
  • The report must include the visual reasoning sections 一张图看懂:从表象到主要矛盾, 时间、精力、资源应该怎么重新分配, and 主要矛盾什么时候会转移.
  • HTML/PDF reports should render four inline SVG charts plus a photo-based iceberg module. The iceberg must use a real above-water/below-water iceberg image, not a flat glacier, abstract triangle, or decorative ice background. When the image is wide enough, place it as a full-width visual anchor, put 水面上 and 水面下 explanation cards below it, and make 当前主要矛盾 a full-width long module. Markdown and DOCX can use readable text/table fallbacks.
  • Mark major facts and numbers as observed, estimated, or assumed.
  • Keep the analysis dynamic: every principal contradiction conclusion needs a reversal condition and a review point.
  • Treat secondary contradictions as monitored risks, not ignored problems.
  • Keep action advice narrow: 1-3 actions with owner, deadline, resource, metric, and expected effect.
  • Each action should name the principal aspect it changes.
  • When diagnosis confidence is sufficient, resource allocation should be deliberately tilted rather than balanced: usually 50%-70% to the principal contradiction, 10%-25% to secondary-risk containment, and 10%-20% to monitoring/evidence.
  • Include probability projection as a decision-support estimate, not a promise: baseline probability, expected action uplift, risk drag, scenario probabilities, and sensitivity notes.
  • Reports default to Simplified Chinese and must stay synchronized across Markdown, HTML, Word, and PDF.
  • The HTML/PDF layout should follow references/kami-layout-guide.md: warm paper background, ink-blue accent, restrained hierarchy, compact tables, readable chart labels, no text overlap, and print-safe A4 rules.

Reference Map

  • references/intake-and-questioning.md: follow-up strategy and input contract
  • references/theory-anchors.md: theory-to-rule anchors for principal contradiction, internal/external causes, principal aspect, and aggressive resource allocation
  • references/contradiction-model.md: scoring model, principal aspect, secondary contradiction, and probability projection rules
  • references/report-contract.md: report sections and language standard
  • references/report-export-pipeline.md: four-format generation workflow and verification
  • references/kami-layout-guide.md: Kami-derived layout rules for the report bundle
  • references/safety-and-boundaries.md: high-risk and professional-boundary gates
  • reference-materials/README.md: downloadable background research and design materials for readers
  • templates/crux-report.schema.json: canonical input/report shape
  • scripts/generate_report_bundle.py: JSON to Markdown, HTML, DOCX, PDF, and report JSON
  • scripts/current_state_clarity.py: current-state clarity gate and follow-up question selector
  • scripts/verify_report_bundle.py: generated artifact checks

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.