Cognitive Pattern
ruvnet/ruflo
Define and manage cognitive patterns for agent reasoning and decision-making
实践认识论:把方案、假说或判断放回实践中检验,按「实践 → 认识 → 再实践」螺旋迭代,并在开始前写明循环终止条件。当你提出了假说要验证、一次尝试失败要复盘再来、发现自己只想不做或只做不想时触发;一次性输出、答案可直接查阅、还没形成假说(先调查)时不触发。
$ npx skills add HughYau/qiushi-skill --skill practice-cognition -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install HughYau/qiushi-skill practice-cognition --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/HughYau/qiushi-skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/practice-cognition .claude/skills/practice-cognition && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "practice-cognition" agent skill from https://github.com/HughYau/qiushi-skill/tree/main/skills/practice-cognition into .claude/skills/practice-cognition/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "practice-cognition", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/HughYau/qiushi-skill/tree/main/skills/practice-cognitionType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add HughYau/qiushi-skill --skill practice-cognition -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install HughYau/qiushi-skill practice-cognition --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HughYau/qiushi-skill.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/practice-cognition .agents/skills/practice-cognition && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "practice-cognition" agent skill from https://github.com/HughYau/qiushi-skill/tree/main/skills/practice-cognition into .agents/skills/practice-cognition/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "practice-cognition", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add HughYau/qiushi-skill --skill practice-cognition -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install HughYau/qiushi-skill practice-cognition --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HughYau/qiushi-skill.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/practice-cognition .cursor/skills/practice-cognition && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "practice-cognition" agent skill from https://github.com/HughYau/qiushi-skill/tree/main/skills/practice-cognition into .cursor/skills/practice-cognition/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "practice-cognition", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/HughYau/qiushi-skill.git --path skills/practice-cognition--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add HughYau/qiushi-skill --skill practice-cognition -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install HughYau/qiushi-skill practice-cognition --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HughYau/qiushi-skill.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/practice-cognition .gemini/skills/practice-cognition && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "practice-cognition" agent skill from https://github.com/HughYau/qiushi-skill/tree/main/skills/practice-cognition into .gemini/skills/practice-cognition/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "practice-cognition", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install HughYau/qiushi-skill practice-cognitionInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add HughYau/qiushi-skill --skill practice-cognition -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/HughYau/qiushi-skill.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/practice-cognition .github/skills/practice-cognition && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "practice-cognition" agent skill from https://github.com/HughYau/qiushi-skill/tree/main/skills/practice-cognition into .github/skills/practice-cognition/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "practice-cognition", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add HughYau/qiushi-skill --skill practice-cognition -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install HughYau/qiushi-skill practice-cognition --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/HughYau/qiushi-skill.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/practice-cognition .opencode/skills/practice-cognition && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "practice-cognition" agent skill from https://github.com/HughYau/qiushi-skill/tree/main/skills/practice-cognition into .opencode/skills/practice-cognition/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "practice-cognition", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
practice-cognition实践认识论:把方案、假说或判断放回实践中检验,按「实践 → 认识 → 再实践」螺旋迭代,并在开始前写明循环终止条件。当你提出了假说要验证、一次尝试失败要复盘再来、发现自己只想不做或只做不想时触发;一次性输出、答案可直接查阅、还没形成假说(先调查)时不触发。
Practice Cognition is an agent skill from HughYau/qiushi-skill. 实践认识论:把方案、假说或判断放回实践中检验,按「实践 → 认识 → 再实践」螺旋迭代,并在开始前写明循环终止条件。当你提出了假说要验证、一次尝试失败要复盘再来、发现自己只想不做或只做不想时触发;一次性输出、答案可直接查阅、还没形成假说(先调查)时不触发。 English: Practice-cognition loop. Test a hypothesis or plan in practice, learn from the result, and iterate in a rising spiral with an explicit stop condition. Trigger when a plan needs validation, an attempt failed and must be retried, or you notice thinking without doing (or doing without thinking); skip for one-shot outputs, lookup questions, or before any hypothesis exists.
Its SKILL.md is about 420 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `original-texts.md`).
The repository describes itself as: Qiushi-Skill: Build agents that investigate first, focus on the main contradiction, validate in practice, and keep pushing until the work is actually done… The licence is MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 5ace717. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Practice Cognition loads about 416 tokens when it runs. Until then it costs about 132 tokens; SKILL.md has 58 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from HughYau/qiushi-skill at commit 5ace717, republished under its MIT licence (© HughYau). 58 words, ~416 tokens.
.claude/skills/practice-cognition/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub."实践、认识、再实践、再认识,这种形式,循环往复以至无穷,而实践和认识之每一循环的内容,都比较地进到了高一级的程度。这就是辩证唯物论的全部认识论,这就是辩证唯物论的知行统一观。" —— 《实践论》
用:
不用:
investigation-first进入时先声明所处阶段,并写出终止条件;每轮按四步走。
0. 终止条件(开始前必须写):「当 [具体可观测条件] 时,本轮循环完成;最多 [N] 轮,超过则停下向用户汇报。」
我目前处于:感性认识 / 理性认识 / 实践验证 / 总结升华
终止条件:当 …… 时完成;最多 N 轮
假说:……
预期:成立则 ……;不成立则 ……
验证动作:……
观察结果:……
判定:成立 / 不成立 / 部分成立
本轮学到:……;下一轮将:……criticism-self-criticismcontradiction-analysismass-line原著依据:original-texts.md
© HughYau, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in skills/practice-cognition of HughYau/qiushi-skill.
Open the folder on GitHubat commit 5ace717
Practice Cognition next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Practice Cognition this skillHughYau/qiushi-skill | 3.8k | — | ~416 | Automated safety check: Pass | MIT | |
| Cognitive Patternruvnet/ruflo | 74k | — | ~384 | Automated safety check: Notes | MIT | |
| Mock Best Practicesthedaviddias/Front-End-Checklist | 74k | — | ~425 | Automated safety check: Pass | MIT | |
| Interactivity Best Practicesremotion-dev/remotion | 63k | — | ~181 | Automated safety check: Pass | Custom licence | |
| Dotnet Best Practicesgithub/awesome-copilot | 40k | 2 repos | ~808 | Automated safety check: Pass | MIT | |
| Practiceccch1mneyyy/dsh-TUI | 4.2k | — | ~356 | Automated safety check: Pass | MIT |
ruvnet/ruflo
Define and manage cognitive patterns for agent reasoning and decision-making
thedaviddias/Front-End-Checklist
A skill your agent uses when reviewing CI coverage, automated checks, or test strategy related to Follow mocking best practices.
remotion-dev/remotion
Best practices for writing Remotion animations that stay intuitive for agents and editable in Remotion Studio Visual Mode.
github/awesome-copilot
Ensure .NET/C code meets best practices for the solution/project.
ccch1mneyyy/dsh-TUI
Guide a programming exercise using dsh-tui or a topic the user wants to learn.
davila7/claude-code-templates
Best practices for HeyGen - AI avatar video creation API. An agent skill from davila7/claude-code-templates.
HughYau/qiushi-skill
集中兵力:多件事同时争抢时间、注意力或预算时,列出全部待办,选定唯一主攻目标并公开锁定,彻底解决、验证后再转向下一个。当待办过多、推进分散、"每件都做了一点但都没做完"、需要决定先做什么时触发;只有一个任务、任务彼此独立可并行、用户明确要求同时推进时不触发。
HughYau/qiushi-skill
矛盾分析法:把复杂问题拆成若干对立面,找出规定其他矛盾的主要矛盾及其主要方面,判定对抗性 / 非对抗性,并据此选择处理方式。当问题头绪多、多个因素互相牵制、优先级不清、根因不明、反复修不好、trade-off 说不清时触发;直接执行类任务或用户已定方案时不触发。
HughYau/qiushi-skill
批评与自我批评:在工作完成、阶段验收、收到批评或同类错误反复出现时,对成果和过程做诚实、具体、基于事实的审视,输出可执行的改进项,并处理外来批评而不辩解。触发信号包括 review、复盘、审查、"帮我看看有没有问题"、"你确定吗";任务刚开始或只是单步查询时不触发。
HughYau/qiushi-skill
调查研究:在下判断、做决策、给建议之前,先用第一手材料弄清现状,产出「事实 / 推断 / 未知」三栏调查结论。当上下文不完整、证据薄弱、领域陌生、用户说"先别动手"、或你发现自己在凭印象作答时触发;已充分调查后的执行阶段不要重复触发。
HughYau/qiushi-skill
群众路线:从持有真实情况的多方(用户、使用者、代码库、日志、运行结果)收集分散意见,系统化为方案,再带回去对齐与检验,循环改进。当多方意见分歧、需要汇总零散反馈、方案要拿回给真实使用者确认、或你发觉自己在闭门造车时触发;信息源单一且完整、处于执行阶段时不触发。
HughYau/qiushi-skill
统筹兼顾:当多个目标、指标或利益方相互制约、优化一项会伤害另一项时,识别全部辩证关系对,检查片面性,为每对关系定出当前阶段的侧重与底线,评估系统性影响,并设失衡预警。触发信号包括 trade-off、目标冲突、速度 vs 质量、短期 vs 长期、"顾此失彼";只有单一目标、用户已定取舍、或属硬性二选一时不触发。
实践认识论:把方案、假说或判断放回实践中检验,按「实践 → 认识 → 再实践」螺旋迭代,并在开始前写明循环终止条件。当你提出了假说要验证、一次尝试失败要复盘再来、发现自己只想不做或只做不想时触发;一次性输出、答案可直接查阅、还没形成假说(先调查)时不触发。. Practice Cognition is an agent skill from HughYau/qiushi-skill. 实践认识论:把方案、假说或判断放回实践中检验,按「实践 → 认识 → 再实践」螺旋迭代,并在开始前写明循环终止条件。当你提出了假说要验证、一次尝试失败要复盘再来、发现自己只想不做或只做不想时触发;一次性输出、答案可直接查阅、还没形成假说(先调查)时不触发。 English: Practice-cognition loop.
Practice Cognition fits situations like: A plan needs validation; an attempt failed and must be retried; you notice thinking without doing (or doing without thinking); skip for one-shot outputs.
Run `npx skills add HughYau/qiushi-skill --skill practice-cognition -a claude-code`. Or copy the skill folder (skills/practice-cognition in HughYau/qiushi-skill) into .claude/skills/practice-cognition in your project. Claude Code loads it when a task matches its description.
Run `npx skills add HughYau/qiushi-skill --skill practice-cognition -a codex`. Or copy the skill folder (skills/practice-cognition in HughYau/qiushi-skill) into .agents/skills/practice-cognition in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add HughYau/qiushi-skill --skill practice-cognition -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/practice-cognition, .gemini/skills/practice-cognition, .github/skills/practice-cognition and .opencode/skills/practice-cognition in your project.
SKILL.md names no scripts, command-line tools or credentials: Practice Cognition is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Practice Cognition is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 416 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Practice Cognition: Cognitive Pattern (ruvnet/ruflo, 74k stars), Mock Best Practices (thedaviddias/Front-End-Checklist, 74k stars), Interactivity Best Practices (remotion-dev/remotion, 63k stars) and Dotnet Best Practices (github/awesome-copilot, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
HughYau (a GitHub user) maintains it in HughYau/qiushi-skill, which has 3,812 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 1, 2026.
Source: HughYau/qiushi-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.