소스 정보
- 저장소
- tomevault-io/skills-registry
- 최근 소스 활동
- 2026년 5월 11일 15:30
- 감지된 SKILL.md 언어
- 영어
- 스타
- 0
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/tomevault-io/skills-registry --skill reasoningbank-adaptive-learning-with-agentdb명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | reasoningbank-adaptive-learning-with-agentdb |
| description | --- Use when this capability is needed. |
| metadata | {"author":"dnyoussef"} |
Before writing ANY code, you MUST check:
.claude/library/catalog.json.claude/docs/inventories/LIBRARY-PATTERNS-GUIDE.mdD:\Projects\*| Match | Action |
|---|---|
| Library >90% | REUSE directly |
| Library 70-90% | ADAPT minimally |
| Pattern exists | FOLLOW pattern |
| In project | EXTRACT |
| No match | BUILD (add to library after) |
Implement ReasoningBank adaptive learning with AgentDB's 150x faster vector database for trajectory tracking, verdict judgment, memory distillation, and pattern recognition. Build self-learning agents that improve decision-making through experience.
import { AgentDB, ReasoningBank } from 'reasoningbank-agentdb';
// Initialize
const db = new AgentDB({
name: 'reasoning-db',
dimensions: 768,
features: { reasoningBank: true }
});
const reasoningBank = new ReasoningBank({
database: db,
trajectoryWindow: 1000,
verdictThreshold: 0.7
});
// Track trajectory
await reasoningBank.trackTrajectory({
agent: 'agent-1',
decision: 'action-A',
reasoning: 'Because X and Y',
context: { state: currentState },
timestamp: Date.now()
});
// Judge verdict
const verdict = await reasoningBank.judgeVerdict({
trajectory: trajectoryId,
outcome: { success: true, reward: 10 },
criteria: ['efficiency', 'correctness']
});
// Learn patterns
patterns = reasoningBank.({
: ,
:
});
decision = reasoningBank.({
: currentContext,
:
});
const trajectory = {
agent: 'agent-1',
steps: [
{ state: s0, action: a0, reasoning: r0 },
{ state: s1, action: a1, reasoning: r1 }
],
outcome: { success: true, reward: 10 }
};
await reasoningBank.storeTrajectory(trajectory);
const verdict = await reasoningBank.judge({
trajectory: trajectory,
criteria: {
efficiency: 0.8,
correctness: 0.9,
novelty: 0.6
}
});
const distilled = await reasoningBank.distill({
trajectories: recentTrajectories,
method: 'pattern-mining',
compression: 0.1 // Keep top 10%
});
const enhanced = await reasoningBank.enhance({
query: newProblem,
patterns: learnedPatterns,
strategy: 'case-based'
});
This skill operates using AgentDB's npm package and API only. No additional MCP servers required.
All AgentDB/ReasoningBank operations are performed through:
npx agentdb@latestimport { AgentDB, ReasoningBank } from 'reasoningbank-agentdb'ReasoningBank Adaptive Learning operates on 3 fundamental principles for building self-improving AI agents:
Agents learn from complete decision trajectories (state, action, reasoning, outcome) rather than isolated actions, enabling understanding of reasoning patterns.
In practice:
Evaluate decision quality across multiple criteria (efficiency, correctness, novelty) using structured judgment rather than binary success/failure.
In practice:
Extract and consolidate successful reasoning patterns through pattern mining, pruning ineffective approaches to maintain lean memory.
In practice:
| Anti-Pattern | Problem | Solution |
|---|---|---|
| Learning From All Trajectories | Treating all decisions equally regardless of outcome quality creates noise in learned patterns, degrading decision-making over time | Implement verdict judgment (Phase 3) with threshold filtering (0.7 default) to learn only from high-quality trajectories, pruning ineffective approaches |
| Storing Raw Trajectories Indefinitely | Accumulating all historical trajectories without compression causes memory bloat, slow retrieval, and dilutes signal with obsolete patterns | Run memory distillation (Phase 4) periodically to extract patterns, keep top 10% by quality, and prune low-value historical data |
| Ignoring Reasoning Context | Recording only actions and outcomes without capturing reasoning and context makes patterns non-transferable to new situations | Store full trajectories with reasoning text and context state (Phase 2) to enable case-based reasoning and debugging decision-making |
ReasoningBank Adaptive Learning with AgentDB provides a framework for building self-improving AI agents that learn from experience through trajectory tracking, verdict judgment, memory distillation, and pattern recognition. By capturing complete decision contexts, evaluating quality across multiple dimensions, and extracting proven patterns, it enables agents to continuously improve decision-making.
This skill excels at building meta-learning systems where agents need to improve over time, reinforcement learning applications requiring trajectory analysis, and decision support systems that learn from historical outcomes. Use this when agents face recurring decision scenarios where learning from past successes and failures can improve future performance.
The 5-phase framework (initialize ReasoningBank, track trajectories, judge verdicts, distill memory, apply learning) provides systematic progression from data collection to active learning. The integration with AgentDB's 150x faster vector search makes it suitable for production environments with real-time decision requirements and large trajectory datasets.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.