kramme:search-learnings

Search a local SQLite learnings database using BM25 full-text queries.

2|2|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/Abildtoft/kramme-cc-workflow --skill kramme-search-learnings
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kramme:search-learnings
Source: https://github.com/Abildtoft/kramme-cc-workflow/tree/main/skills/kramme%3Asearch-learnings
Command: npx skills add https://github.com/Abildtoft/kramme-cc-workflow --skill kramme-search-learnings

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you quickly locate relevant learnings from a growing collection by performing a BM25 full-text search over the persistent learnings database.

Core Features & Use Cases

  • Full-text search: Uses BM25 ranking to surface the most relevant learnings.
  • Filters: Supports optional category and project filters to narrow results.
  • Use Case: When reviewing past learnings, search for a topic like "SQL optimization" to find related guidance and examples.

Quick Start

Run the search-learnings skill with a query such as "SQL optimization" to retrieve matching learnings from the local database.

Frequently Asked Questions about kramme:search-learnings

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search past learnings in a SQLite database using BM25 ranking?

You can search past learnings by running a BM25 full-text search query against your local SQLite database to retrieve and rank relevant results by relevance score. This approach quickly surfaces matching entries.

Can I filter full-text search results by category or project?

Yes, you can filter full-text search results by applying optional category and project filters alongside the BM25 query. This narrows the retrieved learnings to match specific contextual criteria from the database.

How do I sanitize user inputs before constructing a BM25 SQL query?

Sanitizing user inputs before constructing a BM25 SQL query involves treating search terms as parameterized inputs to prevent injection. The skill automatically sanitizes inputs before building the SQLite full-text search query.

What is the best way to retrieve specific past guidance from a persistent learnings database?

The best way to retrieve specific past guidance is performing a BM25 full-text search over the persistent learnings database. This ranks entries by relevance to quickly surface the most applicable historical guidance.

Does BM25 search work with a local SQLite database for quick retrieval of past learnings?

Yes, BM25 search works directly with a local SQLite database for quick retrieval of past learnings. It constructs structured SQL queries to return relevant results from the persistent local storage without external dependencies.

When do I need to use BM25 full-text search for my learnings database?

You need to use BM25 full-text search when your learnings database grows large and simple keyword matching becomes insufficient. BM25 ranking surfaces the most relevant entries by calculating term frequency and relevance.