contradiction-analysis

contradiction-analysis is a skill for Claude Code from HughYau/qiushi-skill. It costs 184 tokens per session (1,078 once invoked), scanned A, original, MIT.

A structured way to analyze difficult problems by identifying competing forces, finding the main conflict, and deciding which side or issue has the greatest effect.

In plain words
What is it for?
Use it to examine trade-offs, unclear root causes, bottlenecks, competing priorities, and conflicts within a team or system.
Why use it?
It gives you a starting point when several problems interact or priorities are unclear. It helps focus effort on the issue most likely to improve the rest.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the qiushi-skill plugin — 11 skills, 10 commands, 2 agents, 1 hook shipped together

Good fit Use it to examine trade-offs, unclear root causes, bottlenecks, competing priorities, and conflicts within a team or system.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hughyau/qiushi-skill/contradiction-analysis
About the project

Qiushi-Skill is a collection of agent skills that turn dialectical materialist and practical philosophy into methods for investigating problems, identifying their central contradiction, testing conclusions, and continuing work. It is intended to guide AI agents through analysis and task execution. The catalogue entries are its skills, commands, hook, plugin, and agent components.

HughYau/qiushi-skill · 3,774 stars · on GitHub · hughyau.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add HughYau/qiushi-skill --skill contradiction-analysis
Clone the repo
git clone --depth 1 https://github.com/HughYau/qiushi-skill

Made for: Claude Code.

Or install qiushi-skill, the plugin that ships this one along with the rest of its 11 skills, 10 commands, 2 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for contradiction-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/hughyau/qiushi-skill/contradiction-analysis/github.svg)](https://agentmods.dev/skills/hughyau/qiushi-skill/contradiction-analysis)
Your own site
<a href="https://agentmods.dev/skills/hughyau/qiushi-skill/contradiction-analysis"><img src="https://agentmods.dev/badge/skills/hughyau/qiushi-skill/contradiction-analysis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for contradiction-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/hughyau/qiushi-skill/contradiction-analysis"><img src="https://agentmods.dev/badge/skills/hughyau/qiushi-skill/contradiction-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 184 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,078 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00184 $0.01078
Opus 5 $0.00092 $0.00539
Sonnet 5 $0.00037 $0.00216
Haiku 4.5 $0.00018 $0.00108

Measured 5d ago against content hash a70dd7190514, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

contradiction-analysis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/contradiction-analysis/SKILL.md · 69 lines

What it actually says

矛盾分析法

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

用 / 不用

用:

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

不用:

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

操作规程

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

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago Changed · -59 lines · +79 tokens per session a70dd7190514
  2. 12d ago First seen · 128 lines · 105 tokens per session scan A 2137af991ffb

Subscribe to this mod's changes

contradiction-analysis is a skill published in the GitHub repository HughYau/qiushi-skill (3,774 stars, last pushed 6d ago), licensed MIT. It adds 184 tokens to every session and 1,078 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.