Skip to main content
AI/MLruvnet

cognitive-pattern

Define and manage cognitive patterns for agent reasoning and decision-making

Stars
56,726
Source
ruvnet/claude-flow
Updated
2026-05-31
Slug
ruvnet--claude-flow--cognitive-pattern
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/ruvnet/claude-flow/HEAD/plugins/ruflo-daa/skills/cognitive-pattern/SKILL.md -o .claude/skills/cognitive-pattern.md

Drops the SKILL.md into .claude/skills/cognitive-pattern.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

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

  1. Define pattern — call mcp__claude-flow__daa_cognitive_pattern with the pattern structure and triggers
  2. Create workflow — call mcp__claude-flow__daa_workflow_create to embed the pattern in an executable workflow
  3. Execute — call mcp__claude-flow__daa_workflow_execute to run the cognitive workflow
  4. Evaluate — call mcp__claude-flow__daa_learning_status to see how the pattern performs
  5. Share — call mcp__claude-flow__daa_knowledge_share to 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