Contradiction Analysis logo

Contradiction Analysis

CommunityPopular
HughYau
contradiction-analysis

矛盾分析法:把复杂问题拆成若干对立面,找出规定其他矛盾的主要矛盾及其主要方面,判定对抗性 / 非对抗性,并据此选择处理方式。当问题头绪多、多个因素互相牵制、优先级不清、根因不明、反复修不好、trade-off 说不清时触发;直接执行类任务或用户已定方案时不触发。 English: Contradiction analysis. Decompose a tangled problem into opposing forces, isolate the principal contradiction and its dominant side, classify it as antagonistic or non-antagonistic, and choose the response accordingly. Trigger on unclear priorities, unknown root causes, recurring failures, or trade-offs that resist explanation; skip for direct execution or when the user has already chosen the solution.

Overview

PublisherHughYau
Repositoryqiushi-skill
Skill namecontradiction-analysis
Stars
3.8K
Forks
285
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by HughYau on GitHub. Read the source before you install it.

Installation

Install the Contradiction Analysis AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/HughYau/qiushi-skill.git /tmp/qiushi-skill
mkdir -p .claude/skills
cp -r /tmp/qiushi-skill/skills/contradiction-analysis .claude/skills/contradiction-analysis
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Contradiction Analysis in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Contradiction Analysis on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Contradiction Analysis is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

矛盾分析法

"研究任何过程,如果是存在着两个以上矛盾的复杂过程的话,就要用全力找出它的主要矛盾。捉住了这个主要矛盾,一切问题就迎刃而解了。" —— 《矛盾论》

用 / 不用

用:

  • 问题复杂,不知从哪下手
  • 多个问题互相牵制,解决一个牵动另一个
  • 反复出现的故障、反复失败的尝试,怀疑没打中根源
  • 需要在多个"都重要"的事里判断哪个最重要

不用:

  • 任务是单维度的直接执行
  • 用户已经指定方案,只需实现
  • 问题属于已知模式,直接套用已验证方案更快

操作规程

先保证事实基础:矛盾清单里的每一项都要能指向调查得到的现象,不能凭印象。事实不够先做 investigation-first

  1. 列矛盾清单[A] vs [B] 格式,写清两个对立面各自要什么。透过现象看内在张力,不只列表面症状。
  2. 判定主要矛盾:标 ⭐ 并给理由。三个检验:
    • 因果:解决了它,别的矛盾是否随之缓解?
    • 根源:它是不是别的矛盾的来源?
    • 阶段:它是否处于当前阶段的中心?
  3. 找主要方面:主要矛盾内部,哪一方当前占支配地位?这决定问题现在的性质。
  4. 定性质
    • 对抗性(根本利益冲突,不能兼得)→ 明确取舍,果断二选一
    • 非对抗性(共同目标下的分歧)→ 团结—批评—团结:先找共同点,再通过讨论解决分歧
  5. 选处理方向,写出「接下来我将……」:
    • 技术性矛盾 → 形成假说,交 practice-cognition 验证
    • 资源性矛盾 → concentrate-forces 集中解决主要矛盾
    • 多目标平衡 → overall-planning
  6. 设监控提示:哪个次要矛盾可能上升为主要矛盾?哪个非对抗性矛盾可能因处理不当激化?

输出模板

矛盾清单:
- [A] vs [B]:……
- ⭐ [C] vs [D]:主要矛盾。理由:解决了它,[X]、[Y] 随之缓解
  - 主要方面:当前 [C / D] 占支配地位,因为 ……
  - 性质:对抗性 / 非对抗性
接下来我将:……
⚠️ 需监控:[次要矛盾] 是否上升为主要矛盾;[矛盾] 是否激化

纪律

  • 禁止只输出分析文字不给结论;六项缺一不可。
  • 禁止一刀切:对具体的事物作具体的分析,不套模板。
  • 主要矛盾只能有一个。列出两个"都是主要"的,说明分析还没做完。
  • 矛盾会转化:解决过程中主次可能对调,随时更新。

交接

  • 主要矛盾确定 → concentrate-forces 集中解决,或 practice-cognition 验证假说
  • 处理对抗性矛盾前需要更多事实 → investigation-first

原著依据:original-texts.md;场景速查:contradiction-types-reference.md

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Contradiction Analysis AI skill do?

矛盾分析法:把复杂问题拆成若干对立面,找出规定其他矛盾的主要矛盾及其主要方面,判定对抗性 / 非对抗性,并据此选择处理方式。当问题头绪多、多个因素互相牵制、优先级不清、根因不明、反复修不好、trade-off 说不清时触发;直接执行类任务或用户已定方案时不触发。 English: Contradiction analysis. Decompose a tangled problem into opposing forces, isolate the principal contradiction and its dominant side, classify it as antagonistic or non-antagonistic, and choose the response accordingly. Trigger on unclear priorities, unknown root causes, recurring failures, or trade-offs that resist explanation; skip for direct execution or when the user has already chosen the solution.

Why use Contradiction Analysis on TypingMind?

Because you install it once and use it with any model. Contradiction Analysis is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Contradiction Analysis in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/HughYau/qiushi-skill/tree/main/skills/contradiction-analysis. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Contradiction Analysis?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Contradiction Analysis?

As many as you like. As long as a model supports skills, you can use Contradiction Analysis with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Contradiction Analysis AI skill free?

Yes. It is published on GitHub by HughYau under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇