workflows

workflows is a skill for Claude Code from HughYau/qiushi-skill. It costs 117 tokens per session (2,422 once invoked), scanned A, original, MIT.

A workflow guide for tasks that need several kinds of reasoning in sequence, such as research, finding the main conflict, choosing a small starting point, and planning sustained work.

In plain words
What is it for?
Use it when starting a project from scratch, tackling a difficult problem, or improving an existing approach through a defined multi-stage process.
Why use it?
It helps decide which planning method to use first and what result to pass from one stage to the next.

Skill for Claude Code

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

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

Good fit Use it when starting a project from scratch, tackling a difficult problem…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hughyau/qiushi-skill/workflows
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,768 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 workflows
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, 1 agent, 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 workflows

README.md
[![agentmods](https://agentmods.dev/badge/skills/hughyau/qiushi-skill/workflows.svg)](https://agentmods.dev/skills/hughyau/qiushi-skill/workflows)
Your own site
<a href="https://agentmods.dev/skills/hughyau/qiushi-skill/workflows"><img src="https://agentmods.dev/badge/skills/hughyau/qiushi-skill/workflows.svg" alt="Measured on agentmods" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,422 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.
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.00117 $0.02422
Opus 5 $0.00059 $0.01211
Sonnet 5 $0.00023 $0.00484
Haiku 4.5 $0.00012 $0.00242

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

Security

Grade A, and why

workflows 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 7d 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/workflows/SKILL.md · 226 lines

How it starts

The opening of the file, as written. The whole thing — 226 lines — stays where its author put it; the contents beside it link to each section on GitHub.

工作流组合

"政策和策略是党的生命,各级领导同志务必充分注意,万万不可粗心大意。" —— 毛泽东

方法论的威力不在于单独使用某一件思想武器,而在于在正确的时机以正确的顺序组合使用。本 skill 提供三条标准化工作流,定义 skill 的调用顺序、步骤间的数据传递格式和终止条件。


Workflow 1:新项目启动

适用场景: 从零开始面对一个新任务/项目/领域,目标已知但路径未知,资源有限。

触发信号: 新项目、新领域、MVP、从零开始、不知道从哪里下手

工作流

investigation-first → contradiction-analysis → spark-prairie-fire → protracted-strategy
     调查研究        →     矛盾分析          →     星火燎原        →     持久战略

步骤详解

Step 1:investigation-first(调查研究)

  • 目标:摸清现状,占有第一手材料
  • 输出格式(传递给 Step 2):
    调查结论:
    - 现状是:……
    - 关键约束是:……
    - 主要的未知项是:……
    - 已知的可依托基础是:……
    
  • 终止条件:能够回答"现在是什么情况"这个问题

Step 2:contradiction-analysis(矛盾分析)

  • 输入:Step 1 的调查结论
  • 目标:从调查材料中识别主要矛盾,找到最值得突破的切入点
  • 输出格式(传递给 Step 3):
    主要矛盾:[A] vs [B]
    矛盾性质:[对抗性/非对抗性]
    最值得突破的切入点:……
    原因:解决了它,[X]、[Y] 问题随之缓解
    
  • 终止条件:找到一个明确的主要矛盾和切入点

Step 3:spark-prairie-fire(星火燎原)

  • 输入:Step 2 识别的切入点
  • 目标:以切入点为根据地,制定从小到大的发展路线
  • 输出格式(传递给 Step 4):
    根据地:[具体切入点]
    发展路线:
      第1步:[具体行动] → 成功标志:……
      第2步:[具体行动] → 成功标志:……
      第3步:[具体行动] → 成功标志:……
    
  • 终止条件:有一条清晰的、从当前能力出发的发展路线

Step 4:protracted-strategy(持久战略)

  • 输入:Step 3 的发展路线
  • 目标:将发展路线纳入阶段性战略框架,确定当前处于哪个阶段,设置阶段转换条件
  • 输出格式:
    当前阶段:战略防御期
    本阶段核心任务:[Step 3 第1步]
    转入相持期的条件:当 [具体里程碑] 达成时
    
  • 终止条件:有明确的阶段定位和转换条件

Workflow 2:复杂问题攻坚

适用场景: 面对一个已知存在但难以解决的具体问题,问题边界清楚但原因不明或路径不清。

触发信号: 疑难 bug、架构瓶颈、反复失败的尝试、根因不明的问题

工作流

investigation-first → contradiction-analysis → concentrate-forces → practice-cognition → criticism-self-criticism
     调查研究        →     矛盾分析          →     集中兵力        →    实践认识论      →     批评与自我批评

步骤详解

Step 1:investigation-first(调查研究)

  • 目标:弄清问题的真实面目(而非症状)
  • 输出(传递给 Step 2):
    调查结论:
    - 问题的现象是:……
    - 问题出现的条件是:……
    - 已经排除的原因是:……
    - 还未调查的方向是:……
    
  • 终止条件:能够精确描述问题(而非"好像是 X 出了问题")

Step 2:contradiction-analysis(矛盾分析)

  • 输入:Step 1 的调查结论
  • 目标:找到问题中的主要矛盾(根本冲突点)
  • 输出(传递给 Step 3):
    主要矛盾:[根本冲突点]
    我的假说:这个冲突导致了……,因为……
    验证方式:如果假说正确,应该能观察到……
    
  • 终止条件:有一个可以验证的假说

Step 3:concentrate-forces(集中兵力)

  • 输入:Step 2 的假说和验证方式
  • 目标:围绕验证这个假说,集中全部力量,拒绝分心
  • 输出(传递给 Step 4):
    🎯 主攻目标:验证假说"[假说内容]"
    验证方法:[具体的验证步骤]
    完成信号:[假说被证实或证伪]
    暂缓的其他方向:……
    
  • 终止条件:假说被验证(证实或证伪均可)

Read the full file on GitHub · 226 lines

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. 7d ago First seen · 226 lines · 117 tokens per session scan A a61801e772df

Subscribe to this mod's changes

workflows is a skill published in the GitHub repository HughYau/qiushi-skill (3,768 stars, last pushed 10d ago), licensed MIT. It adds 117 tokens to every session and 2,422 once invoked, about $0.0006 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.