Logotipo de Lance

Lance

Comunidad
gordonmurray
lance

Design, index, query, and tune Lance datasets and LanceDB tables for ML and AI workloads. Use for vector index selection such as IVF_PQ or IVF_HNSW_FLAT, ANN recall and latency tuning, full-text and hybrid search, scalar indexes and prefiltering, dataset versioning and compaction, embedding and multimodal storage, slow vector search on object storage, or migrating ML data from Parquet. Covers both the pylance format and the lancedb API.

Descripción general

Editorgordonmurray
Repositoriodata-engineering-skills
Nombre de la habilidadlance
Estrellas
47
Forks
4
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por gordonmurray en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Lance en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/gordonmurray/data-engineering-skills/tree/main/lance
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gordonmurray/data-engineering-skills.git /tmp/data-engineering-skills
mkdir -p .claude/skills
cp -r /tmp/data-engineering-skills/lance .claude/skills/lance
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Lance en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición es relevante, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Lance automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Lance no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición relevante, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Lance Data Format Expert

Scope

Design, debugging, and optimization of Lance and LanceDB systems for ML-native data, embeddings, vector retrieval, and multimodal storage.

Covers the Lance format and LanceDB specifically. For general lakehouse table formats use the iceberg or paimon skills.

Current Facts

Release guidance checked on 2026-11-03. Recheck the linked sources before selecting versions for a new deployment; preserve existing project pins.

  • Lance SDK: v14.0.2 and pylance 14.0.2, released October 29, 2026. v15 betas and v14.0.3 release candidates are not stable releases. SDK versions are distinct from the on-disk format version.
  • LanceDB Python: 0.41.0, released October 29, 2026; this release uses Lance 14.0.2.
  • The Lance repository moved from lancedb/lance to lance-format/lance, with homepage lance.org. The old URL redirects.
  • Verify releases per package. Historical LanceDB tags differ across languages; current v0.41.0 notes also cover Python. Check PyPI for Python availability instead of inferring it from a tag prefix.
  • Python packages: install pylance for the Lance format and lancedb for the embedded/vector database API. The bare lance name on PyPI is an unrelated package by a different author. lancedb-compat is a same-API wheel for pre-Haswell x86_64 hosts without AVX2.
  • Python support: both packages declare requires-python >=3.10. The cp39-abi3 wheel tag is an ABI compatibility marker, not an install gate, so 3.9 does not work despite what the filename suggests.
  • Vector index types: IVF_FLAT, IVF_SQ, IVF_PQ, IVF_HNSW_SQ, IVF_HNSW_PQ, IVF_HNSW_FLAT, and IVF_RQ.
  • LanceDB 0.41 migration: table metadata no longer implicitly authorizes remote-code embedding models or custom endpoints. Explicitly approve trusted models/revisions and endpoints through the embedding registry; do not bypass UntrustedEmbeddingConfigError indiscriminately. Local computed columns and materialized views require an experimental build feature absent from published Python and Node packages.

Inspect First

Establish before recommending or changing anything:

  1. Whether this is a Lance format question (pylance, .lance, dataset versioning, storage layout) or a LanceDB question (lancedb, tables, search, indexes, reranking). The APIs differ.
  2. Installed versions of both packages, and verify API names against the installed version before writing detailed code.
  3. Row count, vector dimensionality, and fragment count. Whether an index is needed at all depends on these.
  4. Storage location. Object storage changes the latency model completely.
  5. For search-quality complaints, the current index type and parameters and the measured recall, before changing anything.

Decision Rules

  • Build a vector index only once the dataset is large enough to need one. Brute-force search on a small dataset is often faster and always exact.
  • Choose the index for the binding constraint: IVF_PQ for large memory-constrained datasets at some recall cost, IVF_HNSW_FLAT for higher recall at higher memory cost, IVF_RQ when memory reduction matters more than either.
  • Add scalar indexes on frequently filtered columns and combine filtering with vector search to shrink the candidate set.
  • Use full-text or hybrid search when relevance depends on language rather than on vector distance alone.
  • Batch writes. Each write creates a fragment, and fragment count drives read amplification.
  • On object storage, expect latency bounded by serial metadata, index, and data-page round trips rather than by bandwidth.
  • Prefer list_tables() over the deprecated table_names(), and session-level cache configuration over the deprecated per-table index_cache_size.

Safety

  • Lance dataset.optimize.compact_files() rewrites fragments and creates a new version; it preserves old versions and the files they reference.
  • cleanup_old_versions() removes eligible historical versions and files, ending time travel to those versions. Check retention and active readers before cleanup. Do not enable delete_unverified=True while writers run.
  • LanceDB table.optimize() can combine compaction, index maintenance, and version cleanup. Inspect that API's cleanup options for the installed version before running it; it is not equivalent to Lance's compaction-only call.
  • Overwrite mode replaces the table rather than appending. Confirm the intended write mode against an existing table.
  • Rebuilding an index on a large dataset is expensive in time and memory. State the expected cost before starting one.
  • Keep object storage credentials out of code and notebooks; use environment variables or platform secrets.

Verify

  • After building an index, confirm it exists and that query latency actually changed. Do not assume the index is being used.
  • Measure recall against a brute-force baseline on a sample before accepting an ANN configuration. Report the measured number.
  • After compaction, compare fragment count and query latency before and after.
  • Check retained versions separately from fragment counts. Compaction alone does not establish that historical storage was reclaimed.
  • Report row count, index type and parameters, and measured latency and recall, rather than claiming an index should help.

Update Checklist

  • Confirm latest lance-format/lance release before changing SDK guidance.
  • Confirm stable Python releases on PyPI and match their release notes; do not rely on tag naming conventions to identify the language package.

Sources

Preguntas frecuentes

¿Qué hace la habilidad de IA Lance?

Design, index, query, and tune Lance datasets and LanceDB tables for ML and AI workloads. Use for vector index selection such as IVF_PQ or IVF_HNSW_FLAT, ANN recall and latency tuning, full-text and hybrid search, scalar indexes and prefiltering, dataset versioning and compaction, embedding and multimodal storage, slow vector search on object storage, or migrating ML data from Parquet. Covers both the pylance format and the lancedb API.

¿Por qué usar Lance en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Lance está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Lance en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/gordonmurray/data-engineering-skills/tree/main/lance. TypingMind lee su archivo SKILL.md y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Lance?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Lance?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Lance con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Lance?

Sí. gordonmurray la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇