cognitive-pattern
它能做什么
这项技能让你定义可复用的思考模式,用来指导 AI 智能体如何推理和做决定。适合构建智能体工作流、希望保存和分享良好推理步骤的人。
适用场景
- ✓当你想为智能体保存解决某类问题的成熟方法时。
- ✓当你希望智能体遵循决策树或逐步推理时。
- ✓当你想检查已保存的推理模式表现如何时。
技能链接
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-daa/skills/cognitive-pattern/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请把我们审核客户投诉的方法保存为逐步的模式,让我的智能体可以复用。”
每周 5 个新技能,1 分钟读完。
工作原理
这项技能将模式连同其触发条件一起保存,放入可运行的工作流中,并跟踪结果。表现良好的模式可以再分享给其他智能体。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Cognitive Pattern
Define cognitive patterns that guide agent reasoning and decision-making.
When to use
When you want to codify reasoning strategies, decision trees, or problem-solving approaches that agents can use and improve over time.
Steps
- Define pattern — call
mcp__plugin_ruflo-core_ruflo__daa_cognitive_patternwith the pattern structure and triggers - Create workflow — call
mcp__plugin_ruflo-core_ruflo__daa_workflow_createto embed the pattern in an executable workflow - Execute — call
mcp__plugin_ruflo-core_ruflo__daa_workflow_executeto run the cognitive workflow - Evaluate — call
mcp__plugin_ruflo-core_ruflo__daa_learning_statusto see how the pattern performs - Share — call
mcp__plugin_ruflo-core_ruflo__daa_knowledge_shareto propagate successful patterns
Pattern types
- Decision trees — structured if/then reasoning
- Chain of thought — step-by-step problem decomposition
- Analogy mapping — solve new problems by referencing similar solved ones
- Consensus patterns — multi-perspective evaluation before deciding
常见问题
我能保存哪些类型的模式?
这项技能提到了决策树、逐步推理、类比映射,以及共识检查(在做决定前权衡多种观点)。
我怎么知道某个模式是否有效?
学习状态步骤会在模式运行后显示它的表现。
它需要特别的设置吗?
它会调用 Ruflo 工具,因此需要先设置好 Ruflo。
详情
作者的原始描述
Define and manage cognitive patterns for agent reasoning and decision-making
repo: ruvnet/ruflo
热度
- GitHub 星标
- 81k
- 排名
- #1612
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-adaptive-coordinator
81k帮你的智能体在工作量变化时拆分和重新平衡一组 AI 智能体,并选择适合任务的分工方式。
agent-agent
81k教你的智能体把一个大目标拆成有顺序的行动计划,并在情况变化时重新规划。
agent-agentic-payments
81k帮你的智能体管理 AI 购物的消费授权,包括消费上限、时间窗口、商户规则和签名审批。
agent-analyze-code-quality
81k帮你的智能体检查代码质量,找出代码异味、技术债务和重构建议,且不改动文件。