Knowledge distiller

From fritzprix/libr-agent · View interactive version

Knowledge distiller is an AI agent skill from the GitHub repository fritzprix/libr-agent. Analyzes conversation sessions to extract key insights, decisions, and technical details, then saves them to the knowledge base. Use this skill when asked to "summarize what I learned today," "record key points from recent sessions," or "sync current project context to long-term memory.

How to use this skill

Skill file

Knowledge Distiller

This skill provides a systematic workflow for retrieving conversation sessions, extracting valuable information (entities, relationships, and insights), and persisting them in the Knowledge Base. It transforms transient dialogue into structured, long-term memory.

Prerequisites

Execution Triggers

Use this skill when the user says:

Workflow

1. Define the Analysis Scope

Determine which sessions to analyze based on the user's request:

Use history__listSessions to retrieve the relevant sessionId list if the scope is broader than the current session.

2. Context Preview & Filtering

For each target session:

  1. Use history__readSession to preview message summaries.
  2. Filter for high-value content such as:

3. Deep Extraction (Distillation)

If a session contains valuable information, use history__readMessage for full detail.

Identify and structure the following components:

4. Structured Recording

Use the knowledge__recordKnowledge tool to persist the findings:

Safety & Efficiency

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.