[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BXKK71TMVBNZXC0HV7GS18":3,"skill-same:01M6BXKK71TMVBNZXC0HV7GS18":53},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":25,"linkOnly":26,"markdownContent":27,"markdownBody":28,"frontMatter":29,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":36,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M6BXKK71TMVBNZXC0HV7GS18","ReasoningBank Intelligence",null,"Implement adaptive learning with ReasoningBank for pattern recognition, strategy optimization, and continuous improvement. Use when building self-learning agents, optimizing workflows, or implementing meta-cognitive systems.","diegopacheco\u002Fai-playground","diegopacheco","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F121278?v=4","01M6BXCP8P7GGSJ8M1W2MFDTGT","Diego Pacheco","01M6BXCPD3WM51H465XW9YM4BV",21,"Unlicense","https:\u002F\u002Fgithub.com\u002Fdiegopacheco\u002Fai-playground\u002Fblob\u002Fmain\u002Fpocs\u002Fclaude-flow-fun\u002F.claude\u002Fskills\u002Freasoningbank-intelligence\u002FSKILL.md",[],[5,19,20,21,22,23,24],"implement","workflows","Optimization","Meta","learning","continuous improvement","2026-11-10 10:12:30",false,"---\nname: \"ReasoningBank Intelligence\"\ndescription: \"Implement adaptive learning with ReasoningBank for pattern recognition, strategy optimization, and continuous improvement. Use when building self-learning agents, optimizing workflows, or implementing meta-cognitive systems.\"\n---\n\n# ReasoningBank Intelligence\n\n## What This Skill Does\n\nImplements 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.\n\n## Prerequisites\n\n- agentic-flow v1.5.11+\n- AgentDB v1.0.4+ (for persistence)\n- Node.js 18+\n\n## Quick Start\n\n```typescript\nimport { ReasoningBank } from 'agentic-flow\u002Freasoningbank';\n\n\u002F\u002F Initialize ReasoningBank\nconst rb = new ReasoningBank({\n  persist: true,\n  learningRate: 0.1,\n  adapter: 'agentdb' \u002F\u002F Use AgentDB for storage\n});\n\n\u002F\u002F Record task outcome\nawait rb.recordExperience({\n  task: 'code_review',\n  approach: 'static_analysis_first',\n  outcome: {\n    success: true,\n    metrics: {\n      bugs_found: 5,\n      time_taken: 120,\n      false_positives: 1\n    }\n  },\n  context: {\n    language: 'typescript',\n    complexity: 'medium'\n  }\n});\n\n\u002F\u002F Get optimal strategy\nconst strategy = await rb.recommendStrategy('code_review', {\n  language: 'typescript',\n  complexity: 'high'\n});\n```\n\n## Core Features\n\n### 1. Pattern Recognition\n```typescript\n\u002F\u002F Learn patterns from data\nawait rb.learnPattern({\n  pattern: 'api_errors_increase_after_deploy',\n  triggers: ['deployment', 'traffic_spike'],\n  actions: ['rollback', 'scale_up'],\n  confidence: 0.85\n});\n\n\u002F\u002F Match patterns\nconst matches = await rb.matchPatterns(currentSituation);\n```\n\n### 2. Strategy Optimization\n```typescript\n\u002F\u002F Compare strategies\nconst comparison = await rb.compareStrategies('bug_fixing', [\n  'tdd_approach',\n  'debug_first',\n  'reproduce_then_fix'\n]);\n\n\u002F\u002F Get best strategy\nconst best = comparison.strategies[0];\nconsole.log(`Best: ${best.name} (score: ${best.score})`);\n```\n\n### 3. Continuous Learning\n```typescript\n\u002F\u002F Enable auto-learning from all tasks\nawait rb.enableAutoLearning({\n  threshold: 0.7,        \u002F\u002F Only learn from high-confidence outcomes\n  updateFrequency: 100   \u002F\u002F Update models every 100 experiences\n});\n```\n\n## Advanced Usage\n\n### Meta-Learning\n```typescript\n\u002F\u002F Learn about learning\nawait rb.metaLearn({\n  observation: 'parallel_execution_faster_for_independent_tasks',\n  confidence: 0.95,\n  applicability: {\n    task_types: ['batch_processing', 'data_transformation'],\n    conditions: ['tasks_independent', 'io_bound']\n  }\n});\n```\n\n### Transfer Learning\n```typescript\n\u002F\u002F Apply knowledge from one domain to another\nawait rb.transferKnowledge({\n  from: 'code_review_javascript',\n  to: 'code_review_typescript',\n  similarity: 0.8\n});\n```\n\n### Adaptive Agents\n```typescript\n\u002F\u002F Create self-improving agent\nclass AdaptiveAgent {\n  async execute(task: Task) {\n    \u002F\u002F Get optimal strategy\n    const strategy = await rb.recommendStrategy(task.type, task.context);\n\n    \u002F\u002F Execute with strategy\n    const result = await this.executeWithStrategy(task, strategy);\n\n    \u002F\u002F Learn from outcome\n    await rb.recordExperience({\n      task: task.type,\n      approach: strategy.name,\n      outcome: result,\n      context: task.context\n    });\n\n    return result;\n  }\n}\n```\n\n## Integration with AgentDB\n\n```typescript\n\u002F\u002F Persist ReasoningBank data\nawait rb.configure({\n  storage: {\n    type: 'agentdb',\n    options: {\n      database: '.\u002Freasoning-bank.db',\n      enableVectorSearch: true\n    }\n  }\n});\n\n\u002F\u002F Query learned patterns\nconst patterns = await rb.query({\n  category: 'optimization',\n  minConfidence: 0.8,\n  timeRange: { last: '30d' }\n});\n```\n\n## Performance Metrics\n\n```typescript\n\u002F\u002F Track learning effectiveness\nconst metrics = await rb.getMetrics();\nconsole.log(`\n  Total Experiences: ${metrics.totalExperiences}\n  Patterns Learned: ${metrics.patternsLearned}\n  Strategy Success Rate: ${metrics.strategySuccessRate}\n  Improvement Over Time: ${metrics.improvement}\n`);\n```\n\n## Best Practices\n\n1. **Record consistently**: Log all task outcomes, not just successes\n2. **Provide context**: Rich context improves pattern matching\n3. **Set thresholds**: Filter low-confidence learnings\n4. **Review periodically**: Audit learned patterns for quality\n5. **Use vector search**: Enable semantic pattern matching\n\n## Troubleshooting\n\n### Issue: Poor recommendations\n**Solution**: Ensure sufficient training data (100+ experiences per task type)\n\n### Issue: Slow pattern matching\n**Solution**: Enable vector indexing in AgentDB\n\n### Issue: Memory growing large\n**Solution**: Set TTL for old experiences or enable pruning\n\n## Learn More\n\n- ReasoningBank Guide: agentic-flow\u002Fsrc\u002Freasoningbank\u002FREADME.md\n- AgentDB Integration: packages\u002Fagentdb\u002Fdocs\u002Freasoningbank.md\n- Pattern Learning: docs\u002Freasoning\u002Fpatterns.md\n","# ReasoningBank Intelligence\n\n## What This Skill Does\n\nImplements 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.\n\n## Prerequisites\n\n- agentic-flow v1.5.11+\n- AgentDB v1.0.4+ (for persistence)\n- Node.js 18+\n\n## Quick Start\n\n```typescript\nimport { ReasoningBank } from 'agentic-flow\u002Freasoningbank';\n\n\u002F\u002F Initialize ReasoningBank\nconst rb = new ReasoningBank({\n  persist: true,\n  learningRate: 0.1,\n  adapter: 'agentdb' \u002F\u002F Use AgentDB for storage\n});\n\n\u002F\u002F Record task outcome\nawait rb.recordExperience({\n  task: 'code_review',\n  approach: 'static_analysis_first',\n  outcome: {\n    success: true,\n    metrics: {\n      bugs_found: 5,\n      time_taken: 120,\n      false_positives: 1\n    }\n  },\n  context: {\n    language: 'typescript',\n    complexity: 'medium'\n  }\n});\n\n\u002F\u002F Get optimal strategy\nconst strategy = await rb.recommendStrategy('code_review', {\n  language: 'typescript',\n  complexity: 'high'\n});\n```\n\n## Core Features\n\n### 1. Pattern Recognition\n```typescript\n\u002F\u002F Learn patterns from data\nawait rb.learnPattern({\n  pattern: 'api_errors_increase_after_deploy',\n  triggers: ['deployment', 'traffic_spike'],\n  actions: ['rollback', 'scale_up'],\n  confidence: 0.85\n});\n\n\u002F\u002F Match patterns\nconst matches = await rb.matchPatterns(currentSituation);\n```\n\n### 2. Strategy Optimization\n```typescript\n\u002F\u002F Compare strategies\nconst comparison = await rb.compareStrategies('bug_fixing', [\n  'tdd_approach',\n  'debug_first',\n  'reproduce_then_fix'\n]);\n\n\u002F\u002F Get best strategy\nconst best = comparison.strategies[0];\nconsole.log(`Best: ${best.name} (score: ${best.score})`);\n```\n\n### 3. Continuous Learning\n```typescript\n\u002F\u002F Enable auto-learning from all tasks\nawait rb.enableAutoLearning({\n  threshold: 0.7,        \u002F\u002F Only learn from high-confidence outcomes\n  updateFrequency: 100   \u002F\u002F Update models every 100 experiences\n});\n```\n\n## Advanced Usage\n\n### Meta-Learning\n```typescript\n\u002F\u002F Learn about learning\nawait rb.metaLearn({\n  observation: 'parallel_execution_faster_for_independent_tasks',\n  confidence: 0.95,\n  applicability: {\n    task_types: ['batch_processing', 'data_transformation'],\n    conditions: ['tasks_independent', 'io_bound']\n  }\n});\n```\n\n### Transfer Learning\n```typescript\n\u002F\u002F Apply knowledge from one domain to another\nawait rb.transferKnowledge({\n  from: 'code_review_javascript',\n  to: 'code_review_typescript',\n  similarity: 0.8\n});\n```\n\n### Adaptive Agents\n```typescript\n\u002F\u002F Create self-improving agent\nclass AdaptiveAgent {\n  async execute(task: Task) {\n    \u002F\u002F Get optimal strategy\n    const strategy = await rb.recommendStrategy(task.type, task.context);\n\n    \u002F\u002F Execute with strategy\n    const result = await this.executeWithStrategy(task, strategy);\n\n    \u002F\u002F Learn from outcome\n    await rb.recordExperience({\n      task: task.type,\n      approach: strategy.name,\n      outcome: result,\n      context: task.context\n    });\n\n    return result;\n  }\n}\n```\n\n## Integration with AgentDB\n\n```typescript\n\u002F\u002F Persist ReasoningBank data\nawait rb.configure({\n  storage: {\n    type: 'agentdb',\n    options: {\n      database: '.\u002Freasoning-bank.db',\n      enableVectorSearch: true\n    }\n  }\n});\n\n\u002F\u002F Query learned patterns\nconst patterns = await rb.query({\n  category: 'optimization',\n  minConfidence: 0.8,\n  timeRange: { last: '30d' }\n});\n```\n\n## Performance Metrics\n\n```typescript\n\u002F\u002F Track learning effectiveness\nconst metrics = await rb.getMetrics();\nconsole.log(`\n  Total Experiences: ${metrics.totalExperiences}\n  Patterns Learned: ${metrics.patternsLearned}\n  Strategy Success Rate: ${metrics.strategySuccessRate}\n  Improvement Over Time: ${metrics.improvement}\n`);\n```\n\n## Best Practices\n\n1. **Record consistently**: Log all task outcomes, not just successes\n2. **Provide context**: Rich context improves pattern matching\n3. **Set thresholds**: Filter low-confidence learnings\n4. **Review periodically**: Audit learned patterns for quality\n5. **Use vector search**: Enable semantic pattern matching\n\n## Troubleshooting\n\n### Issue: Poor recommendations\n**Solution**: Ensure sufficient training data (100+ experiences per task type)\n\n### Issue: Slow pattern matching\n**Solution**: Enable vector indexing in AgentDB\n\n### Issue: Memory growing large\n**Solution**: Set TTL for old experiences or enable pruning\n\n## Learn More\n\n- ReasoningBank Guide: agentic-flow\u002Fsrc\u002Freasoningbank\u002FREADME.md\n- AgentDB Integration: packages\u002Fagentdb\u002Fdocs\u002Freasoningbank.md\n- Pattern Learning: docs\u002Freasoning\u002Fpatterns.md\n",{"name":5,"description":7},"main","90d379e95fcc23dd9759654c345424e1752b0f3a","pocs\u002Fclaude-flow-fun\u002F.claude\u002Fskills\u002Freasoningbank-intelligence",9,"https:\u002F\u002Fgithub.com\u002Fdiegopacheco\u002Fai-playground","https:\u002F\u002Fgithub.com\u002Fdiegopacheco","http:\u002F\u002Fdiego-pacheco.blogspot.com","Brazilian Hands-on Software Architect | 20+ years in Tech | Author | Father. Opinions are my own!","2026-11-15 01:01:48",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add diegopacheco\u002Fai-playground --skill \"ReasoningBank Intelligence\"",{"tool":45,"command":46},"bunx","bunx skills add diegopacheco\u002Fai-playground --skill \"ReasoningBank Intelligence\"",{"tool":48,"command":49},"pnpm","pnpm dlx skills add diegopacheco\u002Fai-playground --skill \"ReasoningBank Intelligence\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdiegopacheco\u002Fai-playground\u002Fblob\u002Fmain\u002Fpocs\u002Fclaude-flow-fun\u002F.claude\u002Fskills\u002Freasoningbank-intelligence\u002FSKILL.md",true,[],[54,72,82,95,111,130],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":65,"publishedAt":25},"01M6WJ537DN520XY8MSW9ZV0RP","word-count","Counts the words, lines and characters of a text or a file.","https:\u002F\u002Fgithub.com\u002Fdiegopacheco\u002Fai-playground\u002Fblob\u002Fmain\u002Fpocs\u002Fskills-gateway-router\u002Fupstream-skills\u002Ftext-skills\u002Fword-count\u002FSKILL.md",[60],{"categoryNo":61,"categoryName":62,"taxonomyType":63,"taxonomyTypeDesc":64},"01JBSEEDCAT000000000000002","文档处理","SCENARIO","使用场景",[66,67,68,69,70,71],"count","word count","Word","characters","text","file",{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":25},"01M6WJ4Y2GT5SECWAKKYHGES4F","slugify","Turns a title or a sentence into a URL slug, lowercase words joined by hyphens with accents removed.","https:\u002F\u002Fgithub.com\u002Fdiegopacheco\u002Fai-playground\u002Fblob\u002Fmain\u002Fpocs\u002Fskills-gateway-router\u002Fupstream-skills\u002Ftext-skills\u002Fslugify\u002FSKILL.md",[],[74,79,80,81],"title","with","URL",{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":25},"01M6WJ4V9CWHT9NVCD441VK5MH","json-format","Validates a JSON file and pretty prints it with two space indentation, or reports where the JSON is invalid.","https:\u002F\u002Fgithub.com\u002Fdiegopacheco\u002Fai-playground\u002Fblob\u002Fmain\u002Fpocs\u002Fskills-gateway-router\u002Fupstream-skills\u002Fdev-skills\u002Fjson-format\u002FSKILL.md",[],[89,90,91,71,92,93,94,80],"json","format","json format","reports","invalid","it",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":25},"01M6WJ4QMRKW8EFP71F4KS2DHE","commit-message","Writes a conventional commit message for the staged git changes.","https:\u002F\u002Fgithub.com\u002Fdiegopacheco\u002Fai-playground\u002Fblob\u002Fmain\u002Fpocs\u002Fskills-gateway-router\u002Fupstream-skills\u002Fdev-skills\u002Fcommit-message\u002FSKILL.md",[],[102,103,104,105,106,107,108,109,110],"commit","commit message","message","git","conventional commit","for","changes","staged","conventional commit message",{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":25},"01M6WJ4MAM2CJH0GWYXFBB9GQC","skills-gateway","Gateway and router to a catalog of skills that are not registered directly. Use it before any task a specialized skill could handle, such as text, JSON or git chores. It finds the right skill and loads its instructions.","https:\u002F\u002Fgithub.com\u002Fdiegopacheco\u002Fai-playground\u002Fblob\u002Fmain\u002Fpocs\u002Fskills-gateway-router\u002F.claude\u002Fskills\u002Fskills-gateway\u002FSKILL.md",[],[118,119,94,120,121,105,122,89,70,123,124,125,126,127,128,129],"skills gateway","gateway","task","loads","Bash","node","specialized","instructions","catalog","use","router","as",{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":25},"01M6M2PYJJQKMWGX7XT7ZJK0H3","decision-log","Record, list, show and supersede architecture decisions that persist across sessions in the shared agent infra state store. Use when the user says \"record this decision\", \"log an ADR\", \"what did we decide about\", \"list decisions\", or \"supersede decision\".","https:\u002F\u002Fgithub.com\u002Fdiegopacheco\u002Fai-playground\u002Fblob\u002Fmain\u002Fpocs\u002Fagent-skills-infra-poc\u002Fskills\u002Fdecision-log\u002FSKILL.md",[],[137,138,139,140,141,142,143,144,145,146,127,147,148,149,150,151,152,153,154,155],"decision log","log","decision","persist","architecture","state","adr","decide","decisions","list","show","infra","record","across","shared","store","about","supersede","sessions"]