reflect:corpus

Build and query filtered knowledge bases from user learnings for sustained Q&A sessions.

2|1|Updated Jun 19, 2026
One-click install
npx skills add https://github.com/stevengonsalvez/ainb-reflect-memory --skill reflect-corpus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reflect:corpus
Source: https://github.com/stevengonsalvez/ainb-reflect-memory/tree/main/plugin/skills/corpus
Command: npx skills add https://github.com/stevengonsalvez/ainb-reflect-memory --skill reflect-corpus

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps in creating a long-lived, filtered knowledge base from global learnings, enabling a durable Q&A session against a specific area of code history.

Core Features & Use Cases

  • Knowledge Base Creation: Build a filtered slice of the user's learnings that can be queried repeatedly.
  • Sustained Q&A Session: Maintain a continuous conversation against a specific code history segment.
  • Use Case: When you need to ask the same set of questions repeatedly, like "ask the auth subsystem" or "query everything tagged X", this Skill provides a durable Q&A context.

Quick Start

Build a corpus for the 'auth subsystem' and query it by running:

plugins/reflect/skills/recall/scripts/recall.py --corpus auth-subsystem --corpus-filter "tag:auth category:security project:api" --format markdown

Frequently Asked Questions about reflect:corpus

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

FAQPage Schema
How do I build a filtered knowledge base for repeated code history Q&A?

You create a filtered knowledge base by running a script that applies tags, categories, and project IDs to your learnings. This generates a long-lived slice of code history designed specifically for sustained and repeated Q&A sessions.

What is a long-lived corpus used for in software engineering?

A long-lived corpus is a persistent, filtered slice of your learnings that enables durable Q&A sessions against a specific area of code history. It allows you to repeatedly query specific segments without losing conversational context.

Can I filter my knowledge base by specific tags, categories, and project IDs?

Yes, you can filter your knowledge base using specific tags, categories, and project IDs. The Skill accepts a filter string during corpus creation to ensure the resulting Q&A context targets a specific code history segment.

When do I need to maintain a sustained Q&A session against code history?

You need a sustained Q&A session against code history when you must ask the same set of questions repeatedly, such as continuously querying an auth subsystem or retrieving everything tagged with a specific label.

What is the best way to query everything tagged with a specific label in my learnings?

The best way to query everything tagged with a specific label is to build a dedicated corpus using a filter parameter. This creates a durable knowledge base slice that can be queried repeatedly across conversational interactions.