/astra-db:doctorfrom JEStats Astra DB Plugin
Diagnose 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.
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.
None: SKILL.md is the whole skill.
Run the checks, never print secret values, and finish with a table plus the exact fix for each failure.
connection_status. It reports the token source (masked), the endpoint host, the keyspace, read-only mode, and a live Data API check with hints. This is the authoritative view of what the MCP server sees.npx -y @erichare/astra-mcp doctor in the project directory (it only reads). It adds Node.js version, .env git-ignore status, a scan of git-tracked files for committed AstraCS: tokens, and which agents are configured. Use --json if you want to parse the output..env, read it from ASTRA_DB_APPLICATION_TOKEN, and tell the user to rotate it in the Astra console.| Symptom | Fix |
|---|---|
not_configured | The user runs npx -y @erichare/astra-mcp login in their terminal |
invalid_credentials (401) | The token is revoked or mistyped: run login again with a fresh token |
forbidden (403) listing databases | The token is scoped to one database: set ASTRA_DB_API_ENDPOINT (login asks for it) |
ambiguous_database | Pass database to the tool, or pin one with login |
not_found on a collection | Check the name and keyspace with database_overview |
Hibernated database, timeout | Retry after a minute; the first call wakes it |
Output a table (Check · Result · Fix), then one sentence on overall health. If everything passes, suggest a next step such as /astra-db:overview or /astra-db:data-model-review.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
12 skills in this plugin
/astra-toolkitBuild, 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./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./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.npx claudepluginhub jestatsio/astra-db-plugin --plugin astra-db