Logo Deeplake Dataset Stinger

Deeplake Dataset Stinger

Tổ chức
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.

Tổng quan

Nhà phát hànhlegioncodeinc
Kho mãvibe-coding-tools
Tên kỹ năngdeeplake-dataset-stinger
Sao
94
Bản fork
44
Tệp đi kèm
19
Giấy phépAGPL-3.0-or-later
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 19 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được legioncodeinc công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Deeplake Dataset Stinger trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/legioncodeinc/vibe-coding-tools/tree/main/plugins/data-and-ai-tools/skills/deeplake-dataset-stinger
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Deeplake Dataset Stinger trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Deeplake Dataset Stinger ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Deeplake Dataset Stinger với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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]

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Deeplake Dataset Stinger làm được gì?

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

Vì sao nên dùng Deeplake Dataset Stinger trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Deeplake Dataset Stinger là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Deeplake Dataset Stinger trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/legioncodeinc/vibe-coding-tools/tree/main/plugins/data-and-ai-tools/skills/deeplake-dataset-stinger. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Deeplake Dataset Stinger?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Deeplake Dataset Stinger với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Deeplake Dataset Stinger với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Deeplake Dataset Stinger có miễn phí không?

Có. Kỹ năng này được legioncodeinc phát hành trên GitHub theo giấy phép AGPL-3.0-or-later. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇