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.
npx skills add eric-cielo/moflo --skill reasoningbank-intelligencegit clone --depth 1 https://github.com/eric-cielo/mofloWrote 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.
[](https://agentmods.dev/skills/eric-cielo/moflo/reasoningbank-intelligence)<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.
<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>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once 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 |
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.
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.
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.
- 3mo ago First seen · 149 lines · 46 tokens per session scan A d7300dc6da96
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.
reasoningbank-intelligence compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| reasoningbank-intelligenceeric-cielo/moflo | Skill | 19 | yesterday | MIT | A | 46 | Claude Code |
| initNexaDuo/mARC | Skill | 7 | 6d ago | MIT | A | 122 | Claude Code |
| insight-crystallizershawnclybor/clybor-claude-tooling | Skill | 6 | today | MIT | A | 130 | Claude Code |
| memory-layerOthmanAdi/MDDesign | Skill | 14 | 7mo ago | Apache-2.0 | A | 56 | Claude Code |
| session-handoffOthmanAdi/MDDesign | Skill | 14 | 7mo ago | Apache-2.0 | A | 67 | Claude Code |
| hermes-self-evolutionLu1sDV/skillsmd | Skill | 2 | 3d ago | none | A | 87 | Codex |
| matilha-dendanilods/matilha-skills | Skill | 3 | 7mo ago | MIT | A | 31 | Claude Code |