practice-cognition

practice-cognition is a skill for Claude Code from HughYau/qiushi-skill. It costs 183 tokens per session (900 once invoked), scanned A, original, MIT.

A method for testing ideas in practice, learning from the results, and improving the next attempt through repeated cycles.

In plain words
What is it for?
Use it to validate plans, build prototypes, investigate failures, and turn feedback from each attempt into a better approach.
Why use it?
It helps avoid relying only on theory or taking action without checking whether the result supports the original idea.

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 validate plans, build prototypes, investigate failures, and turn feedback from each attempt into a better approach.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hughyau/qiushi-skill/practice-cognition
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,773 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 practice-cognition
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 practice-cognition

README.md
[![agentmods](https://agentmods.dev/badge/skills/hughyau/qiushi-skill/practice-cognition/github.svg)](https://agentmods.dev/skills/hughyau/qiushi-skill/practice-cognition)
Your own site
<a href="https://agentmods.dev/skills/hughyau/qiushi-skill/practice-cognition"><img src="https://agentmods.dev/badge/skills/hughyau/qiushi-skill/practice-cognition/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 practice-cognition

Your own site · 80×15
<a href="https://agentmods.dev/skills/hughyau/qiushi-skill/practice-cognition"><img src="https://agentmods.dev/badge/skills/hughyau/qiushi-skill/practice-cognition.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 183 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 900 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.00183 $0.00900
Opus 5 $0.00092 $0.00450
Sonnet 5 $0.00037 $0.00180
Haiku 4.5 $0.00018 $0.00090

Measured 3d ago against content hash 514a9c24ddad, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

practice-cognition 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 3d 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/practice-cognition/SKILL.md · 67 lines

What it actually says

实践认识论

"实践、认识、再实践、再认识,这种形式,循环往复以至无穷,而实践和认识之每一循环的内容,都比较地进到了高一级的程度。这就是辩证唯物论的全部认识论,这就是辩证唯物论的知行统一观。" —— 《实践论》

用 / 不用

用:

  • 提出了方案或假说,需要验证其正确性
  • 上一轮尝试失败,需要总结后进入下一轮
  • 只在"想"没有在"做"(教条主义),或只在"做"没有在"想"(经验主义)
  • 需要判定方案是否可行,却没有实践证据

不用:

  • 一次性输出(写封邮件),无需迭代
  • 答案可以直接查阅(文档、API 参考)
  • 还没有假说 → 先 investigation-first

操作规程

进入时先声明所处阶段,并写出终止条件;每轮按四步走。

0. 终止条件(开始前必须写):「当 [具体可观测条件] 时,本轮循环完成;最多 [N] 轮,超过则停下向用户汇报。」

  1. 感性认识:直接接触对象。读代码、跑程序、看输出,记录具体事实,不急于下结论。
  2. 理性认识:从材料中提炼规律,写成可证伪的假说:「我的假说是:……。如果成立,应能观察到 ……;如果不成立,会看到 ……。」
  3. 实践验证:执行验证动作(运行、测试、对比),如实记录观察结果 vs 预期。
  4. 评估与升华
    • 成立 → 写「本轮学到:……」,进入更高一轮或终止
    • 不成立 → 认识有误,修正假说回到第 1 步;不解释成偶然
    • 部分成立 → 说清哪部分成立、哪部分要修

输出模板

我目前处于:感性认识 / 理性认识 / 实践验证 / 总结升华
终止条件:当 …… 时完成;最多 N 轮

假说:……
预期:成立则 ……;不成立则 ……
验证动作:……
观察结果:……
判定:成立 / 不成立 / 部分成立
本轮学到:……;下一轮将:……

纪律

  • 禁止把"感觉对""理论上应该对"当作验证通过。
  • 禁止未验证就实现假说的下游内容。
  • 禁止因喜欢某方案把失败解释成偶然,也禁止因一次碰壁否定全部经验。
  • 不写终止条件不得开始循环。

交接

  • 每轮结束的总结就是自我批评;整体完成后 → criticism-self-criticism
  • 验证中暴露出多头矛盾 → contradiction-analysis
  • 需要从真实使用者获取反馈 → mass-line

原著依据:original-texts.md

Files

What ships with it

1 file 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. 3d ago Changed · -93 lines · +91 tokens per session 514a9c24ddad
  2. 11d ago First seen · 160 lines · 92 tokens per session scan A 45d8d524fb62

Subscribe to this mod's changes

practice-cognition is a skill published in the GitHub repository HughYau/qiushi-skill (3,773 stars, last pushed 4d ago), licensed MIT. It adds 183 tokens to every session and 900 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.

Related

Other skills, from other repositories

copilot-cli-quickstart

Use this skill when someone wants to learn GitHub Copilot CLI from scratch. Offers interactive step-by-step tutorials with separate Developer and Non-Developer tracks, plus on-demand Q&A. Just say "start tutorial" or ask a question! Note: This skill targets GitHub Copilot CLI specifically and uses CLI-specific tools…

boshi-xixixi/TraeSkill · 85 tokens

mentoring-juniors

Socratic mentoring for junior developers and AI newcomers. Guides through questions, never answers. Triggers: "help me understand", "explain this code", "I'm stuck", "Im stuck", "I'm confused", "Im confused", "I don't understand", "I dont understand", "can you teach me", "teach me", "mentor me", "guide me", "what does…

boshi-xixixi/TraeSkill · 280 tokens

legacy-circuit-mockups

Generate breadboard circuit mockups and visual diagrams using HTML5 Canvas drawing techniques. Use when asked to create circuit layouts, visualize electronic component placements, draw breadboard diagrams, mockup 6502 builds, generate retro computer schematics, or design vintage electronics projects. Supports 555…

boshi-xixixi/TraeSkill · 111 tokens

cli-mastery

Interactive training for the GitHub Copilot CLI. Guided lessons, quizzes, scenario challenges, and a full reference covering slash commands, shortcuts, modes, agents, skills, MCP, and configuration. Say "cliexpert" to start.

boshi-xixixi/TraeSkill · 52 tokens

exam-ready

Activate this skill when a student provides study material (PDF or pasted notes) and a syllabus, and wants to prepare for an exam. Extracts key definitions, points, keywords, diagrams, exam-ready sentences, and practice questions strictly from the provided material.

boshi-xixixi/TraeSkill · 54 tokens

comment-code-generate-a-tutorial

Transform this Python script into a polished, beginner-friendly project by refactoring the code, adding clear instructional comments, and generating a complete markdown tutorial.

boshi-xixixi/TraeSkill · 37 tokens