/astra-db:setup [database name]from JEStats Astra DB Plugin
Connect this project to an Astra DB database — install check, credentials via a one-time terminal login, verification through the live tools. Use when the user wants to start using Astra DB, when an astra-db tool reports not_configured or invalid credentials, or when they ask how to configure the token or endpoint.
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.
Get Astra DB working for this project, then prove it with a live call.
Call connection_status. If it reports configured: true and a passing live check, say which database and keyspace are in use and where the credentials come from (for example .env or ~/.astrarc), then skip to step 4.
Credentials never pass through the chat. Ask the user to run this in their own terminal (in Claude Code, typing ! followed by the command runs it in the session):
npx -y @erichare/astra-mcp login
It reuses existing credentials or prompts for an application token with hidden input, lists their databases, lets them pick one and a keyspace, then writes connection settings to ./.env (git-ignored). CLI-profile reuse saves only profile/config metadata and connection details, keeping the token in the CLI configuration. A newly entered token is saved with mode 0600. --global saves to their user profile instead, which suits Claude Desktop. No restart is needed: the server re-reads credentials on every call.
astra db create <name> --region <region>; see ../astra-toolkit/astra-cli/README.md).astra setup profile in ~/.astrarc is picked up automatically. Use login --profile NAME for a named profile and --astrarc PATH for a custom configuration file. A token that sees exactly one database needs no endpoint. Astra still requires an application token upstream.Never ask for the token in chat, and never write a token into a file yourself. If the user pastes a token anyway, don't use, repeat, or store it: it is now in the conversation history, so suggest they rotate it in the Astra console and give the new one to login instead.
Call connection_status again, then database_overview. If a check fails, relay its hint exactly (invalid_credentials, forbidden, and ambiguous_database each explain their fix).
Suggest something concrete: describe a collection, run a vector search, or scaffold application code. App code reads the same ASTRA_DB_* variables; the code_examples tool and the astra-toolkit skill have idiomatic snippets for Python, TypeScript, Java, C#, and Go.
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./npx claudepluginhub jestatsio/astra-db-plugin --plugin astra-db