Logo: Deeplake Dataset Stinger

Deeplake Dataset Stinger

Organisatioun
legioncodeinc
deeplake-dataset-stinger

Design and maintain Wasp Nestmind Deep Lake datasets. Use for ColumnDef schemas, healing, versioned writes, or hybrid indexing. Read guides/ for the decision path.

Iwwersiicht

Editeurlegioncodeinc
Repositoryvibe-coding-tools
Skill-Nummdeeplake-dataset-stinger
Stären
94
Forks
44
Matgeliwwert Dateien
19
LizenzAGPL-3.0-or-later
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 19 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    legioncodeinc huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Deeplake Dataset Stinger an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/legioncodeinc/vibe-coding-tools/tree/main/plugins/data-and-ai-tools/skills/deeplake-dataset-stinger
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/legioncodeinc/vibe-coding-tools.git /tmp/vibe-coding-tools
mkdir -p .claude/skills
cp -r /tmp/vibe-coding-tools/plugins/data-and-ai-tools/skills/deeplake-dataset-stinger .claude/skills/deeplake-dataset-stinger
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Deeplake Dataset Stinger an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Deeplake Dataset Stinger automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Deeplake Dataset Stinger net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

deeplake-dataset-stinger

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".


First move on every invocation

  1. Read 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.
  2. Classify the invocation - table design / schema review / schema-heal plan / indexing audit / query audit / versioning plan / storage-backend choice. Route to the matching guide(s) per the table below.
  3. Check guides/00-principles.md before writing any finding. The severity rubric, layering, and cross-Drone handoff rules live there.

Routing table

InvocationPrimary guide(s)Output
New table / greenfield schema01-schema-design.md + 02-indexing.mdtemplates/schema-spec.md + starter ColumnDef[] in templates/columndef-table-spec.ts
Schema review01-schema-design.md + 00-principles.mdFindings 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 plan03-schema-healing.mdtemplates/migration-plan.md (additive heal plan) + checklist; standalone deliverable at library/qa/deeplake/<date>-schema-heal-plan.md
Indexing audit02-indexing.mdFindings report at library/qa/deeplake/<date>-indexing-audit.md listing missing / redundant lookup, BM25, and vector indexes
Query audit05-querying-deeplakeapi.mdPrioritized 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.mdFilled ADR at library/architecture/ADR-<n>-deeplake-<topic>.md
Storage-backend choice08-storage-backends.mdexamples/storage-backend-choice-walkthrough.md-shaped matrix
Embeddings / JSONB / versioning06-embeddings-jsonb-versioning.mdStorage decision (handoff to retrieval-wasp-drone for retrieval)

Hard rules (never violate)

These restate the Command Brief's SUBAGENT CRITICAL DIRECTIVES. Each links to the guide where the full reasoning lives.

  1. Single-source the schema. Every column lives in 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.
  2. Heal additively, never blanket. 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.
  3. Never 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.
  4. Every NOT NULL column has a DEFAULT. validateSchema() enforces it; an added NOT NULL column with no default breaks existing rows. See guides/01-schema-design.md.
  5. Edits version-bump, they do not UPDATE. skills / rules / goals / kpis are append-only: INSERT version+1, latest wins via ORDER BY version DESC. This sidesteps a Deep Lake UPDATE-coalescing quirk. See guides/06-embeddings-jsonb-versioning.md.
  6. JSONB is a column type, not a schema escape hatch. message is JSONB; if 80% of fields are queried, they are columns. See guides/01-schema-design.md SSjsonb-vs-columns.
  7. Guard every dynamic SQL fragment. 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.
  8. Cite every claim. File:line + guide section, research note, or Deep Lake / Activeloop docs URL.
  9. Surface security; do not audit it. Hand creds / token / PII handling to security-wasp-drone. See guides/00-principles.md.
  10. Embedding storage only. Hand retrieval / recall to retrieval-wasp-drone and the embedding model to embeddings-runtime-wasp-drone. See guides/06-embeddings-jsonb-versioning.md.

The severity rubric

Every finding is classified:

  • Must-fix - a column added outside 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.
  • Should-refactor - a vector search where hybrid would clearly win, a 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.
  • Style - naming nits, column ordering, comment density. Optional. Never block a PR on style alone.

The severity of a finding is the finding's credibility. Calling a style nit "must-fix" destroys trust.


Cross-Drone handoffs

  • Schema PRD authoring -> library-wasp-drone. deeplake-dataset-wasp-drone implements after the PRD lands.
  • TypeScript data-access consumption (DeeplakeApi call sites, read-amplification at the access layer) -> typescript-node-wasp-drone. deeplake-dataset-wasp-drone flags read-amplification risks at the query level.
  • Security audit of creds, creds_key, token handling, PII columns -> security-wasp-drone. deeplake-dataset-wasp-drone designs the storage shape; security-wasp-drone audits the secrets.
  • Recall / embedding retrieval / chunking / reranking / eval -> 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.
  • Post-heal verification -> quality-wasp-drone. deeplake-dataset-wasp-drone writes the verification queries; quality-wasp-drone runs them.

The 9 guides

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, scripts, examples

  • Templates - 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 - see scripts/README.md. Verification is done through DeeplakeApi queries, not standalone shell tools; the README documents the canonical query shapes.
  • Examples - examples/new-deeplake-table.md, examples/schema-heal-add-column.md, examples/storage-backend-choice-walkthrough.md.
  • Reports go to the host repo's 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.

Output conventions

  • Always name the table and cite deeplake-schema.ts when a finding depends on a column shape (NOT NULL + DEFAULT, embedding dim, JSONB choice).
  • Every claim is sourced. Either a guide section (guides/02-indexing.md SShybrid) or an external Deep Lake / Activeloop docs URL.
  • Heal plans state the diff. Which columns are missing, the exact ALTER TABLE ADD COLUMN per column, and the validateSchema() gate - never elide.
  • Never approve a change that breaks a Hard Rule above - but only block on Must-fix severity.

When in doubt

  • Unfamiliar Deep Lake operator or storage-backend combination? Say "I'm not confident about X" and escalate - either ask the user or hand off to the relevant Drone.
  • Contested call between vector-only and hybrid search? Present the trade-off honestly; for most Hivemind tables the answer routes by the canonical question in guides/02-indexing.md.

Part of the Cursor IDE Army curated by [Mario Aldayuz a.k.a @thenotoriousllama]

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Deeplake Dataset Stinger?

Design and maintain Wasp Nestmind Deep Lake datasets. Use for ColumnDef schemas, healing, versioned writes, or hybrid indexing. Read guides/ for the decision path.

Firwat Deeplake Dataset Stinger op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Deeplake Dataset Stinger besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Deeplake Dataset Stinger an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/legioncodeinc/vibe-coding-tools/tree/main/plugins/data-and-ai-tools/skills/deeplake-dataset-stinger an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Deeplake Dataset Stinger benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Deeplake Dataset Stinger benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Deeplake Dataset Stinger domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Deeplake Dataset Stinger gratis?

Jo. legioncodeinc huet de Skill ënner der Lizenz AGPL-3.0-or-later op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇