Skip to content
rysweet avatar

Knowledge Extractor

Captures lessons from debugging, failed attempts, and solved problems into persistent memory and PATTERNS.md updates.

CCM score
49 of 100
skills.sh installs
284
GitHub stars
77
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers three extraction types: discoveries (root causes and fixes), reusable patterns, and new agent recommendations for repeated workflows
  • Includes DISCOVERIES.md and PATTERNS.md templates, a five-step extraction process, and a six-item agent creation checklist
  • Stores discoveries via store_discovery() in amplihack.memory.discoveries, with entries placed under .claude/agents/amplihack/specialized/ for agents
  • Designed for session-end wrap-up or right after a complex bug fix, while the context is still fresh

Install

$ npx -y skills add rysweet/amplihack --skill knowledge-extractor -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Knowledge Extractor Skill

Purpose

This skill automatically extracts, synthesizes, and preserves knowledge from conversations, debugging sessions, failed attempts, and solved problems. It converts ephemeral interactions into persistent organizational knowledge that improves future performance.

When to Use This Skill

  • Session End Analysis: Extract learnings before session context is lost
  • After Complex Debugging: Capture root causes and solutions while fresh
  • Following Failed Attempts: Document what didn't work and why
  • Successful Problem Solving: Preserve solutions for future reuse
  • New Pattern Discovery: Identify patterns that should be documented
  • Repeated Workflows: Recognize when to create new specialized agents
  • Cross-Session Learning: Build organizational memory from individual sessions

Core Philosophy: Knowledge Preservation

Details

Repository
github.com/rysweet/amplihack
Categories
Memory & Context, Agent Workflow & Planning, Debugging
First seen
Jun 3, 2026

Questions

What does the knowledge-extractor skill do?

knowledge-extractor extracts key learnings from conversations, debugging sessions, and failed attempts. It stores discoveries in memory via amplihack.memory.discoveries, suggests PATTERNS.md updates, and recommends new agent creation.

When should I run knowledge-extractor?

knowledge-extractor is meant for use at session end or after solving a complex problem, so the insights are captured before context is lost. It writes DISCOVERIES.md entries covering the issue, root cause, solution, and prevention.

How do I install knowledge-extractor?

Run npx -y skills add rysweet/amplihack --skill knowledge-extractor -y in a project to install it. Once installed, knowledge-extractor persists knowledge across sessions through the Kuzu memory backend.

Where does knowledge-extractor sit among other Memory & Context skills?

knowledge-extractor is listed in the Memory & Context category on Claude Marketplaces, alongside handoff and several caveman skills. Unlike those, knowledge-extractor focuses on turning session outcomes into stored discoveries, pattern suggestions, and new agent recommendations.

More from rysweet/amplihack

All 55

Similar to Knowledge Extractor

More Memory & Context