Define and manage cognitive patterns for agent reasoning and decision-making
Install
npx skills add https://github.com/ruvnet/ruflo --skill cognitive-patternSKILL.md
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
Related skills
swarm-orchestrationruvnet2.1KMulti-agent swarm coordination for complex tasks. Uses hierarchical topology with specialized agents to break down and execute complex work across multiple files and modules. Use when: 3+ files need changes, new feature implementation, cross-module refactoring, API changes with tests, security-related changes, performance optimization across codebase, database schema changes. Skip when: single file edits, simple bug fixes (1-2 lines), documentation updates, configuration changes, quick exploratiagent-arch-system-designruvnet1.4KAgent skill for arch-system-design - invoke with $agent-arch-system-designagent-workflowruvnet1.4KAgent skill for workflow - invoke with $agent-workflowsecurity-auditruvnet1.4KComprehensive security scanning and vulnerability detection. Includes input validation, path traversal prevention, CVE detection, and secure coding pattern enforcement. Use when: authentication implementation, authorization logic, payment processing, user data handling, API endpoint creation, file upload handling, database queries, external API integration. Skip when: read-only operations on public data, internal development tooling, static documentation, styling changes.