lancer

Ingest and search text and images in LanceDB using the lancer CLI.

40|12|Updated Oct 17, 2011
One-click install
npx skills add https://github.com/lanej/dotfiles --skill lancer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lancer
Source: https://github.com/lanej/dotfiles/tree/main/claude/skills/lancer
Command: npx skills add https://github.com/lanej/dotfiles --skill lancer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lancer-cli.

What problem does it solve?

This Skill overcomes the limitations of keyword-based search, which often fails to capture the true meaning of queries, and the challenge of effectively searching multi-modal content (text and images). It provides a powerful semantic search solution for your knowledge base.

Core Features & Use Cases

  • Multi-modal Ingestion: Add diverse documents (text, markdown, PDF, SQL, various image formats) to LanceDB, with automatic chunking and vector embeddings.
  • Semantic Search: Find documents by meaning and context, not just keywords, across both text and images, using advanced embedding models.
  • Table & Document Management: Organize your content into LanceDB tables, get table information, and remove specific documents as needed.
  • Use Case: Ingest a collection of technical documentation and architectural diagrams. Then, use a natural language query like "sunset over mountains" to find relevant images, or "how to deploy kubernetes" to find both text passages and visual diagrams.

Quick Start

Ingest all markdown documents from the './documentation/' directory into a table named 'docs', then search that table for "installation guide".

Frequently Asked Questions about lancer

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

FAQPage Schema
How do I search documents by meaning instead of keywords?

Semantic search finds documents by meaning and context rather than exact keyword matches. This Skill uses LanceDB with embedding models to understand query intent across text and images, returning contextually relevant results even when phrasing differs from your documents.

Can I search both text and images in the same query?

Yes, this Skill supports multi-modal search across text and images. Ingest diverse formats—markdown, PDF, JPG, PNG, GIF, and others—into a single LanceDB table, then search all content types simultaneously using natural language queries.

How do I ingest documents into LanceDB and set up semantic search?

Use the lancer CLI to ingest documents from a directory, specifying chunk size, overlap, and embedding models. The Skill automatically processes text and image formats, generates embeddings, and indexes them in LanceDB for immediate semantic search.

What file formats does this semantic search support?

Supported formats include text files, markdown, PDF, SQL, and images: JPG, PNG, GIF, BMP, WebP, TIFF, SVG, and ICO. The Skill handles chunking and embedding for all formats automatically during ingestion.

Can I use this with Claude Desktop?

Yes, this Skill includes MCP server integration, allowing you to run semantic search directly within Claude Desktop and other MCP clients for seamless document and image retrieval workflows.

How do I filter search results by metadata?

The Skill's search functionality accepts metadata filters through CLI options, enabling you to narrow results by document properties while maintaining semantic relevance across filtered subsets.