Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
ruvnet avatar

Reasoningbank Intelligence

  • 987 installs
  • 67k repo stars
  • Updated August 4, 2026
  • ruvnet/ruflo

ReasoningBank Intelligence is a Claude Code skill that implements ReasoningBank adaptive learning so AI agents learn from task outcomes, recognize recurring patterns, and recommend better strategies for developers who bu

About

ReasoningBank Intelligence is a Claude Code skill from ruvnet/ruflo that implements ReasoningBank's adaptive learning system for AI agents. It enables pattern recognition, strategy optimization, and continuous improvement from task outcomes, supporting meta-cognitive agent behavior. The skill expects agentic-flow v1.5.11+, AgentDB v1.0.4+ for persistence, and Node.js 18+, with TypeScript import examples for ReasoningBank integration. Developers reach for ReasoningBank Intelligence when building self-learning agents, optimizing multi-step workflows, or adding experience-driven strategy selection to agentic-flow projects.

  • Records task outcomes with context, metrics, and success data for adaptive learning
  • Recommends optimal strategies based on past performance and current conditions
  • Implements meta-cognitive pattern recognition for self-improving agents
  • Persistent storage via AgentDB with configurable learning rate
  • Works with any agentic workflow that uses agentic-flow v1.5.11+

Reasoningbank Intelligence by the numbers

  • 987 all-time installs (skills.sh)
  • +3 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #1,106 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/ruvnet/ruflo --skill reasoningbank-intelligence

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs987
repo stars67k
Security audit2 / 3 scanners passed
Last updatedAugust 4, 2026
Repositoryruvnet/ruflo

How do AI agents learn from past task outcomes?

Give their AI agents the ability to learn from every task outcome, recognize recurring patterns, and continuously recommend better strategies.

Who is it for?

Developers building self-learning agents on agentic-flow v1.5.11+ who need persistent pattern recognition and strategy optimization.

Skip if: Developers running single-shot prompts or static workflows without agentic-flow, AgentDB, or a need for experience-driven strategy changes.

When should I use this skill?

User asks to add adaptive learning, pattern recognition, meta-cognitive improvement, or ReasoningBank to an agentic-flow agent.

What you get

ReasoningBank integration code, pattern memory hooks, and optimized agent strategy recommendations.

  • ReasoningBank integration module
  • pattern memory hooks
  • strategy recommendation logic

By the numbers

  • Requires agentic-flow v1.5.11+ and AgentDB v1.0.4+
  • Targets Node.js 18+ runtime environments

Files

SKILL.mdMarkdownGitHub ↗

ReasoningBank Intelligence

What This Skill Does

Implements ReasoningBank's adaptive learning system for AI agents to learn from experience, recognize patterns, and optimize strategies over time. Enables meta-cognitive capabilities and continuous improvement.

Prerequisites

  • agentic-flow v1.5.11+
  • AgentDB v1.0.4+ (for persistence)
  • Node.js 18+

Quick Start

import { ReasoningBank } from 'agentic-flow$reasoningbank';

// Initialize ReasoningBank
const rb = new ReasoningBank({
  persist: true,
  learningRate: 0.1,
  adapter: 'agentdb' // Use AgentDB for storage
});

// Record task outcome
await rb.recordExperience({
  task: 'code_review',
  approach: 'static_analysis_first',
  outcome: {
    success: true,
    metrics: {
      bugs_found: 5,
      time_taken: 120,
      false_positives: 1
    }
  },
  context: {
    language: 'typescript',
    complexity: 'medium'
  }
});

// Get optimal strategy
const strategy = await rb.recommendStrategy('code_review', {
  language: 'typescript',
  complexity: 'high'
});

Core Features

1. Pattern Recognition

// Learn patterns from data
await rb.learnPattern({
  pattern: 'api_errors_increase_after_deploy',
  triggers: ['deployment', 'traffic_spike'],
  actions: ['rollback', 'scale_up'],
  confidence: 0.85
});

// Match patterns
const matches = await rb.matchPatterns(currentSituation);

2. Strategy Optimization

// Compare strategies
const comparison = await rb.compareStrategies('bug_fixing', [
  'tdd_approach',
  'debug_first',
  'reproduce_then_fix'
]);

// Get best strategy
const best = comparison.strategies[0];
console.log(`Best: ${best.name} (score: ${best.score})`);

3. Continuous Learning

// Enable auto-learning from all tasks
await rb.enableAutoLearning({
  threshold: 0.7,        // Only learn from high-confidence outcomes
  updateFrequency: 100   // Update models every 100 experiences
});

Advanced Usage

Meta-Learning

// Learn about learning
await rb.metaLearn({
  observation: 'parallel_execution_faster_for_independent_tasks',
  confidence: 0.95,
  applicability: {
    task_types: ['batch_processing', 'data_transformation'],
    conditions: ['tasks_independent', 'io_bound']
  }
});

Transfer Learning

// Apply knowledge from one domain to another
await rb.transferKnowledge({
  from: 'code_review_javascript',
  to: 'code_review_typescript',
  similarity: 0.8
});

Adaptive Agents

// Create self-improving agent
class AdaptiveAgent {
  async execute(task: Task) {
    // Get optimal strategy
    const strategy = await rb.recommendStrategy(task.type, task.context);

    // Execute with strategy
    const result = await this.executeWithStrategy(task, strategy);

    // Learn from outcome
    await rb.recordExperience({
      task: task.type,
      approach: strategy.name,
      outcome: result,
      context: task.context
    });

    return result;
  }
}

Integration with AgentDB

// Persist ReasoningBank data
await rb.configure({
  storage: {
    type: 'agentdb',
    options: {
      database: '.$reasoning-bank.db',
      enableVectorSearch: true
    }
  }
});

// Query learned patterns
const patterns = await rb.query({
  category: 'optimization',
  minConfidence: 0.8,
  timeRange: { last: '30d' }
});

Performance Metrics

// Track learning effectiveness
const metrics = await rb.getMetrics();
console.log(`
  Total Experiences: ${metrics.totalExperiences}
  Patterns Learned: ${metrics.patternsLearned}
  Strategy Success Rate: ${metrics.strategySuccessRate}
  Improvement Over Time: ${metrics.improvement}
`);

Best Practices

1. Record consistently: Log all task outcomes, not just successes 2. Provide context: Rich context improves pattern matching 3. Set thresholds: Filter low-confidence learnings 4. Review periodically: Audit learned patterns for quality 5. Use vector search: Enable semantic pattern matching

Troubleshooting

Issue: Poor recommendations

Solution: Ensure sufficient training data (100+ experiences per task type)

Issue: Slow pattern matching

Solution: Enable vector indexing in AgentDB

Issue: Memory growing large

Solution: Set TTL for old experiences or enable pruning

Learn More

  • ReasoningBank Guide: agentic-flow$src$reasoningbank/README.md
  • AgentDB Integration: packages$agentdb$docs$reasoningbank.md
  • Pattern Learning: docs$reasoning$patterns.md

Related skills

How it compares

Choose ReasoningBank Intelligence over static prompt tuning when agents must learn from repeated task outcomes and persist strategy improvements across sessions.

FAQ

What does ReasoningBank Intelligence require?

ReasoningBank Intelligence requires agentic-flow v1.5.11 or newer, AgentDB v1.0.4 or newer for persistence, and Node.js 18+. The skill integrates ReasoningBank via TypeScript imports inside agentic-flow agent projects.

When should developers use ReasoningBank Intelligence?

ReasoningBank Intelligence fits self-learning agent builds where task outcomes should refine future strategies. Use it when implementing meta-cognitive systems, workflow optimization, or experience-driven pattern recognition in agentic-flow.

Is Reasoningbank Intelligence safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

AI & Agent Buildingagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.