Skip to content
Back to skills

Reasoningbank Learning

ASecurity

Use agentic-flow's ReasoningBank to learn from past work - search similar episodes before a task, record reward, success and critique after it, and read trends. Use when the user wants agents to remember what worked, or asks about ReasoningBank, pattern store/search, or self-learning.

  • 841 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 9, 2026
ai-agentsdatabase

Works with

  • claude code
  • terminal
  • mcp

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add ruvnet/agentic-flow --skill reasoningbank-learning --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Reasoningbank Learning?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Reasoningbank Learning
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ruvnet-reasoningbank-learning/badge)](https://www.skillsdirectory.com/skills/ruvnet-reasoningbank-learning)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: reasoningbank-learning
description: Use agentic-flow's ReasoningBank to learn from past work - search similar episodes before a task, record reward, success and critique after it, and read trends. Use when the user wants agents to remember what worked, or asks about ReasoningBank, pattern store/search, or self-learning.
---

# ReasoningBank learning with agentic-flow

ReasoningBank stores one episode per finished task (task text, reward, success, critique) in AgentDB and finds similar episodes by vector search. The loop is **retrieve, act, judge, store**.

## Which tools exist depends on the MCP profile

The plugin's `mcp_profile` setting (default `readonly`) decides what the `agentic-flow` server registers:

| Profile | Search and stats | Store an episode | Spawn an agent |
|---|---|---|---|
| `readonly` | yes | no | no |
| `retrieval` | yes | no | no |
| `learning` | yes | yes | yes (`agentic_flow_agent`) |
| `admin` | yes | yes | yes |

Tools appear as `mcp__plugin_agentic-flow_agentic-flow__<tool>`. Claude Code asks before each call; the plugin pre-approves none.

## 1. Retrieve

Call `agentdb_pattern_search` with:

- `task`: the new task in one sentence
- `k`: 3 to 5
- `onlySuccesses: true` for approaches to reuse; `onlyFailures: true` for mistakes to avoid

Read the critiques, not just the rewards.

## 2. Act

Do the task. Keep the retrieved critique in mind.

## 3. Judge

Score honestly: `reward` 0 to 1 and `success` true or false. A test suite that passes is evidence; "it looks right" is not.

## 4. Store (learning or admin profile)

Call `agentdb_pattern_store` with `sessionId`, `task`, `reward`, `success`, and a two or three sentence `critique`. Leave out secrets, keys and personal data.

## Trends

`agentdb_pattern_stats` (by task) and `agentdb_stats` (database) report what is stored. Quote their numbers; do not extrapolate them.

## From a terminal

`npx agentic-flow reasoningbank status`, `list`, `consolidate` and `help` work outside Claude Code too.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.