artifact-query

Search SQLite FTS5 artifact indexes with BM25 ranking and filters.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/withmartian-sandbox-darkside/ghrc-y-3126672651424eddb640ecc81321a665 --skill artifact-query-withmartian-sandbox-darkside
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: artifact-query
Source: https://github.com/withmartian-sandbox-darkside/ghrc-y-3126672651424eddb640ecc81321a665/tree/main/default/skills/artifact-query
Command: npx skills add https://github.com/withmartian-sandbox-darkside/ghrc-y-3126672651424eddb640ecc81321a665 --skill artifact-query-withmartian-sandbox-darkside

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Search and surface relevant past handoffs, plans, and continuity records so teams can learn from prior successes and failures and avoid repeating known mistakes.

Core Features & Use Cases

  • Semantic full-text search: Uses SQLite FTS5 with BM25 ranking to return the most relevant artifacts.
  • Filtered, structured results: Support for artifact type, outcome, limit, JSON output and a planning mode that separates successful and failed handoffs.
  • Use Case: Before designing or implementing a feature, query for similar past implementations to cite what worked, what failed, and which files to reference.

Quick Start

Search the artifact index for precedent on authentication and return the top five handoffs as JSON.

Frequently Asked Questions about artifact-query

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

FAQPage Schema
How do I search past engineering handoffs to find historical precedents before implementation?▼

To search past engineering handoffs for historical precedents, query a SQLite FTS5 artifact index using semantic full-text search. The system applies BM25 ranking to return the most relevant plans and continuity records.

How do I filter artifact index search results by outcome and artifact type in SQLite?▼

You can filter artifact index search results by artifact type and outcome using structured query parameters. A planning mode is available to specifically separate successful and failed handoffs.

Do I need an initialized SQLite database to perform semantic full-text search on continuity records?▼

Yes, you need an initialized SQLite FTS5 index to perform semantic full-text search on continuity records. This database backend enables the BM25 ranking required to surface relevant handoffs.

Can I get historical plan records returned as structured JSON from a full-text search?▼

Yes, you can get historical plan records returned as structured JSON from a full-text search by enabling optional JSON output. You can also apply limits to control the number of artifacts returned.

What is the best way to avoid repeating known engineering mistakes during project planning?▼

The best way to avoid repeating known engineering mistakes during project planning is to search an artifact index for prior handoffs and continuity records. This surfaces past failures and successes using BM25-ranked semantic search.

When should I use BM25 semantic search for debugging and implementation tasks?▼

You should use BM25 semantic search for debugging and implementation tasks when you need to cite what worked, what failed, and which files to reference from similar past implementations before starting work.