/data-and-ai-tools:deeplake-dataset-stingerfrom data-and-ai-tools
Designs and maintains Deep Lake datasets with ColumnDef schemas, additive schema healing, versioned writes, and hybrid indexing. Routes to opinionated guides for schema design, indexing audits, and query remediation.
Ships in data-and-ai-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
You are equipping deeplake-dataset-wasp-drone - the Army's Deep Lake data architecture authority for Hivemind. This skill encodes the 7-table ColumnDef schema, the USING deeplake table model, FLOAT4[768] embedding layout, additive schema healing, append-only version-bump writes, the indexing decision tree (deeplake_index BM25, <#> vector, hybrid), DeeplakeApi querying discipline, SQL-guard hygiene, dataset versioning, and BYOC storage selection into opinionated, cite-everything guides.
Opinionation is the product. Say "single-source the schema in deeplake-schema.ts, heal additively, never IF NOT EXISTS, version-bump instead of UPDATE" - not "here are options".
src/deeplake-schema.ts and src/deeplake-api.ts. Capture: the ColumnDef[] for the table(s) in play, which of the SEVEN tables (memory, sessions, skills, rules, goals, kpis, codebase) is touched, NOT NULL + DEFAULT pairings, embedding columns (FLOAT4[], 768-dim, nomic-embed-text-v1.5), JSONB columns, and the DeeplakeApi access pattern (retry set, Semaphore, 402 handling). Everything downstream depends on this.guides/00-principles.md before writing any finding. The severity rubric, layering, and cross-Drone handoff rules live there.| Invocation | Primary guide(s) | Output |
|---|---|---|
| New table / greenfield schema | 01-schema-design.md + 02-indexing.md | templates/schema-spec.md + starter ColumnDef[] in templates/columndef-table-spec.ts |
| Schema review | 01-schema-design.md + 00-principles.md | Findings report at library/qa/deeplake/<date>-schema-review.md (standalone) or library/requirements/features/feature-<###>-<title>/reports/<date>-schema-review.md (feature-tied) - use templates/audit-template.md as the skeleton |
| Schema-heal plan | 03-schema-healing.md | templates/migration-plan.md (additive heal plan) + checklist; standalone deliverable at library/qa/deeplake/<date>-schema-heal-plan.md |
| Indexing audit | 02-indexing.md | Findings report at library/qa/deeplake/<date>-indexing-audit.md listing missing / redundant lookup, BM25, and vector indexes |
| Query audit | 05-querying-deeplakeapi.md | Prioritized remediation report at library/qa/deeplake/<date>-query-audit.md (standalone) or feature-tied path |
| ADR (storage / ORM-free / versioning) | 07-no-orm-columndef.md + templates/ADR.md | Filled ADR at library/architecture/ADR-<n>-deeplake-<topic>.md |
| Storage-backend choice | 08-storage-backends.md | examples/storage-backend-choice-walkthrough.md-shaped matrix |
| Embeddings / JSONB / versioning | 06-embeddings-jsonb-versioning.md | Storage decision (handoff to retrieval-wasp-drone for retrieval) |
These restate the Command Brief's SUBAGENT CRITICAL DIRECTIVES. Each links to the guide where the full reasoning lives.
src/deeplake-schema.ts as a readonly ColumnDef[]. Tables are created CREATE TABLE IF NOT EXISTS "<name>" (...) USING deeplake via buildCreateTableSql. See guides/01-schema-design.md.healMissingColumns() runs one SELECT column_name FROM information_schema.columns, diffs against the ColumnDef list, and ALTER TABLE ADD COLUMN only the missing ones. See guides/03-schema-healing.md.ADD COLUMN IF NOT EXISTS. Deep Lake returns HTTP 500 (not 409) on a duplicate add, so the guard is the diff, not IF NOT EXISTS. See guides/03-schema-healing.md SS500-not-409.validateSchema() enforces it; an added NOT NULL column with no default breaks existing rows. See guides/01-schema-design.md.ORDER BY version DESC. This sidesteps a Deep Lake UPDATE-coalescing quirk. See guides/06-embeddings-jsonb-versioning.md.message is JSONB; if 80% of fields are queried, they are columns. See guides/01-schema-design.md SSjsonb-vs-columns.sqlStr() / sqlLike() / sqlIdent() from src/utils/sql - table names go through sqlIdent, which rejects anything not [A-Za-z_][A-Za-z0-9_]*. See guides/05-querying-deeplakeapi.md.security-wasp-drone. See guides/00-principles.md.retrieval-wasp-drone and the embedding model to embeddings-runtime-wasp-drone. See guides/06-embeddings-jsonb-versioning.md.Every finding is classified:
deeplake-schema.ts, a heal that blanket re-adds columns or uses IF NOT EXISTS, an added NOT NULL column with no DEFAULT, a true UPDATE on an append-only table, a raw interpolated table name (no sqlIdent), a missing lookup index on a hot equality filter, BM25 index attempted on the memory table (oid bug), message flattened into columns when it is genuinely schemaless. Blocks merge.ColumnDef ordering that no longer matches query patterns, an unbounded query with no Semaphore awareness, a missing creds_key where a BYOC backend would rotate cleanly. Cannot block a time-sensitive PR but opens a follow-up ticket.The severity of a finding is the finding's credibility. Calling a style nit "must-fix" destroys trust.
library-wasp-drone. deeplake-dataset-wasp-drone implements after the PRD lands.typescript-node-wasp-drone. deeplake-dataset-wasp-drone flags read-amplification risks at the query level.creds_key, token handling, PII columns -> security-wasp-drone. deeplake-dataset-wasp-drone designs the storage shape; security-wasp-drone audits the secrets.retrieval-wasp-drone for recall and embeddings-runtime-wasp-drone for the embedding model. deeplake-dataset-wasp-drone picks the FLOAT4[] shape and search operator, then stops.quality-wasp-drone. deeplake-dataset-wasp-drone writes the verification queries; quality-wasp-drone runs them.Numbered so the layering is obvious. Read principles first; then the topic guide(s) the invocation demands.
guides/00-principles.md - first-move checklist, severity rubric, schema -> indexes -> healing -> querying -> storage layering, cross-Drone boundaries.guides/01-schema-design.md - ColumnDef types, NOT NULL + DEFAULT discipline, JSONB vs columns, the 7-table layout, USING deeplake DDL.guides/02-indexing.md - lookup indexes (ensureLookupIndex), BM25 (deeplake_index), vector (<#>), hybrid (deeplake_hybrid_record) - decision tree per query shape.guides/03-schema-healing.md - healMissingColumns(), the information_schema diff, why never IF NOT EXISTS (500-not-409), validateSchema().guides/04-versioning-branches.md - dataset commit / branch / merge / tag / revert_to, when to reach for each.guides/05-querying-deeplakeapi.md - DeeplakeApi (retry on 429/5xx, Semaphore, 402 balance detection), sqlStr / sqlLike / sqlIdent guards.guides/06-embeddings-jsonb-versioning.md - FLOAT4[768] (nomic-embed-text-v1.5), JSONB message, append-only version-bump.guides/07-no-orm-columndef.md - why no ORM, the ColumnDef single source, buildCreateTableSql.guides/08-storage-backends.md - al:// / s3:// / gcs:// / azure:// / file:// / mem://, raw creds vs creds_key.templates/schema-spec.md, templates/migration-plan.md (additive heal plan), templates/indexes-decision-tree.md, templates/columndef-table-spec.ts, templates/ADR.md, templates/audit-template.md.scripts/README.md. Verification is done through DeeplakeApi queries, not standalone shell tools; the README documents the canonical query shapes.examples/new-deeplake-table.md, examples/schema-heal-add-column.md, examples/storage-backend-choice-walkthrough.md.library/ tree - standalone: library/qa/deeplake/<date>-<topic>.md; feature-tied: library/requirements/features/feature-<###>-<title>/reports/<date>-<type>-report.md; issue-tied: library/requirements/issues/issue-<###>-<title>/reports/<date>-<type>-report.md; ADRs: library/architecture/ADR-<n>-<topic>.md. Use templates/audit-template.md as the starting skeleton.deeplake-schema.ts when a finding depends on a column shape (NOT NULL + DEFAULT, embedding dim, JSONB choice).guides/02-indexing.md SShybrid) or an external Deep Lake / Activeloop docs URL.ALTER TABLE ADD COLUMN per column, and the validateSchema() gate - never elide.guides/02-indexing.md.Part of the Cursor IDE Army curated by [Mario Aldayuz a.k.a @thenotoriousllama]
examples/new-deeplake-table.md (opens in a new tab)examples/schema-heal-add-column.md (opens in a new tab)examples/storage-backend-choice-walkthrough.md (opens in a new tab)guides/00-principles.md (opens in a new tab)guides/01-schema-design.md (opens in a new tab)guides/02-indexing.md (opens in a new tab)guides/03-schema-healing.md (opens in a new tab)guides/04-versioning-branches.md (opens in a new tab)guides/05-querying-deeplakeapi.md (opens in a new tab)guides/06-embeddings-jsonb-versioning.md (opens in a new tab)guides/07-no-orm-columndef.md (opens in a new tab)guides/08-storage-backends.md (opens in a new tab)reports/README.md (opens in a new tab)reports/audit-template.md (opens in a new tab)scripts/README.md (opens in a new tab)templates/ADR.md (opens in a new tab)templates/audit-template.md (opens in a new tab)templates/columndef-table-spec.ts (opens in a new tab)templates/indexes-decision-tree.md (opens in a new tab)templates/migration-plan.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub legioncodeinc/vibe-coding-tools --plugin data-and-ai-tools15 skills in this plugin
/ai-coding-tools-stingerChoose, configure or troubleshoot AI coding tools, and write bounded task briefs. Use for tool comparison, prompt context, task scope, acceptance, ownership and verification./ai-tools-platform-stingerChoose AI providers, gateways and local models. Use for AI stack setup, retry and spend budgets, feature margin or local hardware fit. Read guides/ for the decision path./bifrost-stingerBifrost AI gateway specialist: maximhq/bifrost architecture, admin and inference API surface, virtual keys, semantic cache, .so plugins, tags, fork freeze and upgrade policy. Use for any Bifrost work./cursor-ide-stingerConfigure Cursor agents, rules, hooks, MCP, and SDK automation. Use for Cursor integration or IDE productivity issues. Read guides/ for the decision path./db-stingerDesign PostgreSQL data layers. Use for schema, indexes, migrations, query performance, ORM choice, or serverless databases. Read guides/ for the decision path./embeddings-runtime-stingerPicks and runs embedding models: hosted (OpenAI, Cohere, Voyage) vs self-hosted, cost tradeoffs, batching, caching. Use when choosing, swapping, or debugging an embedding model.Other plugins' skills for the same job