/astra-db:astra-toolkitfrom JEStats Astra DB Plugin
Build, review, and migrate applications on Astra DB or HCD (DataStax / IBM) through the Data API — data modeling for Collections vs Tables, vector search, vectorize, hybrid search and reranking, the Astra CLI, and idiomatic client code in Python (astrapy), TypeScript (@datastax/astra-db-ts), Java, C#, and Go. Use when code imports an Astra DB client or DataAPIClient, reads ASTRA_DB_* environment variables, or when the user asks to design, query, or debug an Astra DB / HCD database.
Ships in JEStats Astra DB Plugin. 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.
Toolkit for Astra DB and its Data API.
Astra CLI: Astra DB only. All other features apply to both Astra DB and HCD (both expose a Data API).
Create/list databases, inspect status, prepare a dotenv for app connections. Requires installation + Database Administrator token. If missing, direct user to: https://docs.datastax.com/en/astra-cli/install.html
→ Details: astra-cli/README.md
DDL + DML for Collections and Tables via the HTTP Data API. Always use Clients — never raw HTTP calls. API surface is identical for Astra DB and HCD; only connection setup differs.
Model data up front, not as an afterthought.
Hierarchy: Database → Keyspaces → Collections / Tables / UDTs
Choose collections (flexibility) vs. tables (performance) based on access patterns and the constraints above.
Collections and Tables support vectors and vector/similarity search, including "vectorize" (server-side embedding computations).
→ Details: data-modeling/README-collections.md, data-modeling/README-tables.md
Use the common patterns in architecture/README.md regardless of language.
Use the client object hierarchy (DataAPIClient → Database → Collection/Table → documents/rows) for all DDL and DML.
clients/<language>/README.md, then pick snippets from clients/<language>/INDEX.md (a compact map of examples/) instead of listing the directory.Application code reads ASTRA_DB_APPLICATION_TOKEN and ASTRA_DB_API_ENDPOINT (plus optional ASTRA_DB_KEYSPACE) from the environment — typically a git-ignored .env — exactly as every example does. Never hardcode an AstraCS: token, and never ask the user to paste one into the chat: they run npx -y @erichare/astra-mcp login in their own terminal, which picks a database and writes .env.
When the astra-db MCP server is connected (bundled with this plugin), inspect the real database before writing code against it — schema guesses are the most common source of bugs.
| Need | Tool |
|---|---|
| Is it configured? which database? | connection_status, list_databases |
| What exists | database_overview, describe_collection, describe_table |
| Read data | find, vector_search (text via vectorize, vector, similar-to-document, hybrid), count, distinct_values |
| Change data or schema | insert, update, delete, create_collection, create_table, create_index, drop |
| Vectorize / rerank options | list_vectorize_providers |
| Canonical client code | code_examples (same snippets as clients/*/examples/) |
Destructive calls (drops, bulk deletes/updates) require the user's explicit confirmation — never supply confirm on your own.
architecture/README.md (opens in a new tab)astra-cli/README.md (opens in a new tab)clients/csharp/INDEX.md (opens in a new tab)clients/csharp/README.md (opens in a new tab)clients/csharp/examples/admin-create-database.cs (opens in a new tab)clients/csharp/examples/admin-create-keyspace-update.cs (opens in a new tab)clients/csharp/examples/admin-create-keyspace.cs (opens in a new tab)clients/csharp/examples/admin-drop-database.cs (opens in a new tab)clients/csharp/examples/admin-drop-keyspace.cs (opens in a new tab)clients/csharp/examples/admin-find-database-regions.cs (opens in a new tab)clients/csharp/examples/admin-find-database.cs (opens in a new tab)clients/csharp/examples/admin-find-embedding-providers.cs (opens in a new tab)clients/csharp/examples/admin-find-reranking-providers.cs (opens in a new tab)clients/csharp/examples/admin-list-databases.cs (opens in a new tab)clients/csharp/examples/admin-list-keyspaces.cs (opens in a new tab)clients/csharp/examples/client-database.cs (opens in a new tab)clients/csharp/examples/client-get-astra-admin.cs (opens in a new tab)clients/csharp/examples/client-get-db-admin-from-db.cs (opens in a new tab)clients/csharp/examples/client-no-options.cs (opens in a new tab)clients/csharp/examples/client-options.cs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jestatsio/astra-db-plugin --plugin astra-db12 skills in this plugin
/astra-widgetsShow Astra DB results as interactive views — database overview, collection or table schema, document explorer, and vector-search results — from the astra-db MCP tools. Use when the user wants to see, inspect, browse, or search an Astra DB database visually, and after running an Astra DB vector search or schema inspection for them./collectionShow one Astra DB collection or table in detail — vector and vectorize settings, lexical/rerank, indexing, id type, field types, sample data — as an interactive view. Use when the user asks about a specific collection or table./data-modelerDesign Astra DB / HCD data models — choose Collections vs Tables, keys, indexes, and vector/vectorize/hybrid configuration from the application's access patterns. Use when designing a new schema or an Astra-backed feature, or when the user is unsure how to model data for Astra DB./data-model-reviewReview this project's Astra DB data model and Data API usage against Collections/Tables best practices, anti-patterns, and the live schema. Use when the user asks for a data-model or schema review./doctorDiagnose an Astra DB setup — where credentials come from, whether the database is reachable, .env hygiene, tracked tokens, and agent configuration — and give the exact fix for each problem. Use when Astra DB tools fail, return auth or not-found errors, or the user asks why Astra DB isn't working./exploreBrowse an Astra DB collection or table page by page — documents, field inventory, filters, sorting — as an interactive explorer. Use when the user wants to look at the data itself.