CF Plugin Cognitive Kernel

Augment LLMs with working memory, attention control, and meta-cognition.

1|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/ricable/cli-skills-builder --skill cf-plugin-cognitive-kernel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: CF Plugin Cognitive Kernel
Source: https://github.com/ricable/cli-skills-builder/tree/main/.claude/skills/claude-flow-plugin-cognitive-kernel
Command: npx skills add https://github.com/ricable/cli-skills-builder --skill cf-plugin-cognitive-kernel

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the limitations of standard LLMs by providing advanced cognitive capabilities like working memory, attention control, and meta-cognition, enabling more sophisticated and structured reasoning for agents.

Core Features & Use Cases

  • Working Memory: Manages agent memory with capacity limits and priority-based eviction.
  • Attention Control: Focuses agent attention on relevant parts of long contexts.
  • Meta-Cognition: Monitors agent confidence and detects reasoning loops.
  • Scaffolding: Breaks down complex tasks into structured sub-steps.
  • Use Case: Use this skill to help an agent process a large codebase by intelligently focusing its attention on security vulnerabilities and managing its understanding of different modules in its working memory.

Quick Start

Enable the cognitive kernel plugin for your agent.

Frequently Asked Questions about CF Plugin Cognitive Kernel

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add working memory and attention control to an LLM agent?

To add working memory and attention control to an LLM agent, enable a cognitive kernel plugin. This augments agents with capacity-limited memory management and context focusing for long-context understanding.

What is meta-cognition in LLM agents and how does it prevent reasoning loops?

Meta-cognition in LLM agents is the capability to monitor confidence levels and detect reasoning loops. It works by continuously evaluating the agent's internal state to prevent repetitive logic during complex agentic workflows.

How do I break down complex tasks into structured sub-steps for an AI agent?

You break down complex tasks into structured sub-steps using task scaffolding. This cognitive functionality structures large operations into manageable components, enabling more sophisticated and structured reasoning for agents.

Can I use cognitive architecture to help an agent analyze a large codebase for security vulnerabilities?

Yes, you can use cognitive architecture to help an agent analyze a large codebase. It focuses agent attention on security vulnerabilities while managing the understanding of different modules in its working memory.

Does meta-cognition require specific dependencies to manage agent state?

No, managing agent state through meta-cognition requires no specific dependencies. The cognitive kernel operates independently to provide self-reflective capabilities and meta-cognitive monitoring without external libraries.

Why does my LLM agent lose focus when processing long contexts?

An LLM agent loses focus when processing long contexts due to a lack of attention control. Implementing a cognitive architecture enables the agent to focus computational resources on relevant parts of the context.