Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Local YDB Toolkit

БесплатноБез исполняемых скриптовНе проверен

Operate local-ydb deployments, especially Docker setups using ghcr.io/ydb-platform/local-ydb, CMS-created tenants, GraphShard metrics, dynamic nodes, managed…

astandrikот astandrik708 установок в других каталогах

Об этом скилле

Local YDB

Purpose

Use this skill to inspect, document, run, harden, troubleshoot, or generate and apply table schemas for local-ydb deployments. Keep reusable operational recipes separate from one-off cutover notes, host paths, timestamps, and secrets.

Execution Boundary

  • Operate a deployment only when the active agent has a local shell or the local_ydb_* MCP tools connected to the target machine. A chat-only or remote environment cannot inspect the user's Docker daemon, files, or YDB endpoints.
  • When local execution is unavailable, provide a bounded plan, configuration guidance, or commands for the user to run. State that the target was not inspected and do not report inferred health, inventory, or mutation results as observed facts.
  • Plugin MCP processes start from the installed plugin root. Pass an absolute configPath to profile-based tools or configure LOCAL_YDB_TOOLKIT_CONFIG in the MCP client; do not assume a project-local local-ydb.config.json is the process working-directory default.
  • Keep every mutation plan-first regardless of execution surface. Require the existing confirmation boundary before applying changes and preserve rollback and verification steps.

First Steps

  1. Identify the task type: documentation cleanup, local bootstrap, live inspection, managed YQL query/explain/execute, schema generation/apply, auth hardening, storage expansion, monitoring exposure, TLS investigation, or troubleshooting.
  2. Determine whether the target is repo documentation, a local Docker stack, or a live remote host. Treat live Docker/YDB changes as medium to high risk; collect read-only state first and ask before destructive or externally visible mutations.
  3. Check nearby project docs before editing reusable runbooks. Prefer existing setup, runbook, and auth notes over inventing a new topology.
  4. Keep secrets and private host details out of public docs and skill output. Use placeholders for password files, private keys, IPs, domains, users, and backup paths unless the user explicitly asks for private operational notes.

Reference Selection

  • Read references/topology.md when starting or documenting static nodes, dynamic nodes, tenants, GraphShard, storage pools, or upstream YDB source lookups.
  • Read references/auth-hardening.md when working on mandatory auth, static username/password credentials, monitoring access, reverse-proxy exposure, or TLS.
  • Read references/storage-migration.md when adding PDisks, changing storage placement, moving storage onto one physical disk, creating replacement tenants, migrating data, decommissioning groups, reclaiming space, cleaning old Docker volumes/PDisks/dumps, or debugging why UI and BSC disagree about storage.
  • Read references/verification.md when checking health, tenant state, GraphShard, graph data, storage, or auth behavior.
  • Read references/mcp-tool-scenarios.md when testing MCP tools, exercising the managed SQL safety matrix, planning structured schema generation/apply flows, or building reusable generate-then-validate-then-apply examples.
  • Read references/history-and-non-goals.md when cleaning docs, deciding what is reusable versus artifact noise, or reconciling stale hardening plans with final topology.
  • For exact-GHCR 26.1.1.6 local runs, combine topology.md, auth-hardening.md, and verification.md; they contain field-proven steps for fresh bootstrap, restore, auth rollout, and the nightly-vs-stable pitfalls we hit in practice.
  • Prefer the MCP read-only tools local_ydb_inventory, local_ydb_status_report, local_ydb_healthcheck, local_ydb_database_status, local_ydb_container_logs, and local_ydb_storage_placement over ad hoc shell diagnostics when they are available.

Core Rules

  • Do not assume /local has GraphShard. YDB_FEATURE_FLAGS=enable_graph_shard is necessary but not sufficient; use a CMS-created tenant such as /local/<tenant>.
  • For a plain root /local database, use the root-only MCP bootstrap path instead of the tenant/dynamic-node bootstrap.
  • Treat profile.dynamicNodeCount as the total declarative tenant-node count, including the primary node. Configured dynamic names must be distinct from the static container, and standalone primary start uses the same shared-network port validation as bootstrap. Tenant bootstrap publishes static gRPC and every configured dynamic gRPC port on loopback through the static container; one-off nodes do not change those bindings. Before any restart or auth-hardening mutation, require the existing static container to match the full profile and exact configured bindings; a mismatch requires destroy/bootstrap and must leave configured and one-off containers untouched. Bootstrap and compatible restart reconcile nodes 1..N; both recreate configured containers even when they are already running or restarting. local_ydb_add_dynamic_nodes creates one-off runtime nodes starting at N+1 by default, and an explicit startIndex must also be greater th
Полный SKILL.md на ClawHub

Установить Local YDB Toolkit в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Local YDB Toolkit?

Operate local-ydb deployments, especially Docker setups using ghcr.io/ydb-platform/local-ydb, CMS-created tenants, GraphShard metrics, dynamic nodes, managed YQL query/explain/execute, structured table DDL generation/validation/application, YDB static credentials, auth hardening, monitoring exposure, storage pool changes, single-disk rebuilds, rollback planning, upstream ydb-platform/ydb source lookup through gh api, and troubleshooting local-ydb readiness, TLS, anonymous access, or viewer/json graph endpoints.

Как установить скилл Local YDB Toolkit?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Local YDB Toolkit запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Local YDB Toolkit с