reasoningbank-intelligence

reasoningbank-intelligence is a skill for Claude Code from eric-cielo/moflo. It costs 46 tokens per session (1,306 once invoked), scanned A, original, MIT.

A memory system for software agents that records their actions and results, evaluates them, and saves useful lessons for later tasks. It uses stored examples to help agents learn across runs.

In plain words
What is it for?
Use it to store task histories, judge outcomes, extract reusable lessons, remove duplicates, and retrieve relevant past experience.
Why use it?
It reduces repeated mistakes by letting an agent reuse patterns from earlier successful work instead of starting from zero each time.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to store task histories, judge outcomes, extract reusable lessons, remove duplicates, and retrieve relevant past experience.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eric-cielo/moflo/reasoningbank-intelligence
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add eric-cielo/moflo --skill reasoningbank-intelligence
Clone the repo
git clone --depth 1 https://github.com/eric-cielo/moflo

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for reasoningbank-intelligence

README.md
[![agentmods](https://agentmods.dev/badge/skills/eric-cielo/moflo/reasoningbank-intelligence/github.svg)](https://agentmods.dev/skills/eric-cielo/moflo/reasoningbank-intelligence)
Your own site
<a href="https://agentmods.dev/skills/eric-cielo/moflo/reasoningbank-intelligence"><img src="https://agentmods.dev/badge/skills/eric-cielo/moflo/reasoningbank-intelligence/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for reasoningbank-intelligence

Your own site · 80×15
<a href="https://agentmods.dev/skills/eric-cielo/moflo/reasoningbank-intelligence"><img src="https://agentmods.dev/badge/skills/eric-cielo/moflo/reasoningbank-intelligence.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,306 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.01306
Opus 5.5 $0.00018 $0.00522
Sonnet 5.5 $0.00009 $0.00261
Haiku 4.5 $0.00005 $0.00131

Measured 3mo ago against content hash d7300dc6da96, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

reasoningbank-intelligence scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/reasoningbank-intelligence/SKILL.md · 149 lines

How it starts

The opening of the file, as written. The whole thing — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ReasoningBank Intelligence

Trajectory-based learning pipeline for moflo-enabled agents. Records what an agent did, judges the outcome, distills successful runs into reusable patterns, and retrieves relevant prior experience on the next task.

Prerequisites

  • moflo (the neural subsystem ships inline as part of the moflo package)
  • Moflo's memory DB at .swarm/memory.db (created on first run)

Quick Start

import { createInitializedReasoningBank } from 'moflo/dist/src/cli/neural/reasoning-bank.js';

const rb = await createInitializedReasoningBank({
  namespace: 'reasoning-bank',
  vectorDimension: 768,
  retrievalK: 3,
  mmrLambda: 0.7,              // 0=pure relevance, 1=pure diversity
  distillationThreshold: 0.6,  // min verdict score to keep
  dedupThreshold: 0.95,
});

The Pipeline

Four stages. You typically call each once per task:

1. Record trajectory  →  storeTrajectory({ id, input, actions, outcome, reward, ... })
2. Judge              →  const verdict = await rb.judge(trajectory)
3. Distill            →  const memory  = await rb.distill(trajectory)   // if verdict good enough
4. Retrieve (next task) →  const hits  = await rb.retrieveByContent(query, k)

1. Record

const trajectory = {
  id: taskId,
  input: userRequest,
  actions: ['read_file', 'edit_file', 'run_tests'],
  outcome: 'success' as const,
  reward: 1.0,                // 0..1
  metadata: { toolCalls: 3, durationMs: 1800 },
  timestamp: new Date(),
};

rb.storeTrajectory(trajectory);

2. Judge

The built-in judge scores on outcome + reward + action-step quality. No external LLM call.

const verdict = await rb.judge(trajectory);
// { score: 0-1, outcome: 'success' | ..., reasoning: string }

Swap in your own judge by extending ReasoningBank if you want LLM-in-the-loop scoring — this was designed as a rule-based baseline so the hot path stays cheap.

3. Distill

Compresses a trajectory into a reusable DistilledMemory (signature, approach, outcome-tagged). Skips if the verdict is below distillationThreshold.

Read the full file on GitHub · 149 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 149 lines · 46 tokens per session scan A d7300dc6da96

Subscribe to this mod's changes

reasoningbank-intelligence is a skill published in the GitHub repository eric-cielo/moflo (19 stars, last pushed yesterday), licensed MIT. It adds 46 tokens to every session and 1,306 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

reasoningbank-intelligence compared with skills from other repositories

reasoningbank-intelligence next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
reasoningbank-intelligenceeric-cielo/mofloSkill19yesterdayMITA46Claude Code
initNexaDuo/mARCSkill76d agoMITA122Claude Code
insight-crystallizershawnclybor/clybor-claude-toolingSkill6todayMITA130Claude Code
memory-layerOthmanAdi/MDDesignSkill147mo agoApache-2.0A56Claude Code
session-handoffOthmanAdi/MDDesignSkill147mo agoApache-2.0A67Claude Code
hermes-self-evolutionLu1sDV/skillsmdSkill23d agononeA87Codex
matilha-dendanilods/matilha-skillsSkill37mo agoMITA31Claude Code