/hydradb:setupfrom hydradb
Configures the HydraDB plugin for the current workspace: checks status, creates config files, sets environment variables, and recommends doctor verification.
Ships in hydradb. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Configure the HydraDB plugin for the current workspace.
node "${CLAUDE_PLUGIN_ROOT}/scripts/plugin.mjs" doctor --json
If HydraDB is already configured, explain which config layers are active and whether anything still needs to change.
If configuration is missing, prefer one of these paths:
.hydradb-plugin.local.json for machine-local overrides.hydradb-plugin.json for shareable workspace defaults${CLAUDE_PLUGIN_DATA}/config.json for persistent user-level plugin defaults./.hydradb-plugin-data/config.json only when CLAUDE_PLUGIN_DATA is not available in the current environmentUse ${CLAUDE_PLUGIN_ROOT}/.hydradb-plugin.json.example for workspace config or ${CLAUDE_PLUGIN_ROOT}/config.example.json for the full shape. For a minimal safe setup, this is enough:
{
"apiBaseUrl": "https://api.hydradb.com",
"apiKey": "${HYDRADB_API_KEY}",
"tenantId": "${HYDRADB_TENANT_ID}",
"subTenantId": "",
"autoRecall": true,
"autoIngest": true,
"captureMode": "off",
"searchMode": "memory",
"ingestionMode": "memory",
"recallMode": "thinking",
"graphContext": true,
"maxContextChars": 7000,
"requestTimeoutMs": 15000,
"writeTimeoutMs": 15000,
"ignoreMarker": "hydra-ignore"
}
Never invent secrets. Prefer environment variables for secret values:
HYDRADB_API_KEYHYDRADB_TENANT_IDHYDRADB_SUB_TENANT_ID (set it explicitly; "" is valid if you want HydraDB's default sub-tenant)HYDRADB_BASE_URLHYDRADB_USER_NAMEJSON config values can reference environment variables like "${HYDRADB_API_KEY}". Prefer that over putting literal secrets into repo files.
Only put a literal API key in a file if the user explicitly asks for it. Otherwise keep secrets out of committed config.
After any config edit, recommend running:
node "${CLAUDE_PLUGIN_ROOT}/scripts/plugin.mjs" doctor
If the user wants manual-only memory, set captureMode to off and point them to /hydradb:remember or /hydradb:save-session.
If the user wants whole-session upsert behavior, set captureMode to session-upsert. If they want both isolated turns and rolling session memories, set it to both.
The default workspace sync target should usually be ingestionMode: "memory", with markdown-first includeGlobs. Only recommend knowledge or both recall if the user understands the tradeoff.
If HydraDB feels slow or the user wants tighter hook budgets, suggest lowering requestTimeoutMs and writeTimeoutMs, or setting HYDRADB_REQUEST_TIMEOUT_MS and HYDRADB_WRITE_TIMEOUT_MS.
If the plugin is configured but the user is unsure whether prompt-time recall actually ran, suggest /hydradb:last-recall. Do not claim that no context was injected unless that command or explicit recall output confirms it.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub hydra-db/hydradb-claude-code --plugin hydradb14 skills in this plugin
/auto-recallRetrieve relevant HydraDB context when answering would benefit from prior conversations, workspace docs, project decisions, team conventions, or user preferences not fully present in the current chat. Use proactively for substantive project questions or when continuity may matter./doctorInspect HydraDB plugin configuration, active settings, and sync state for the current workspace. Use when the user asks if HydraDB is working or why sync or recall is not happening./hydradb-contextBackground guidance for sessions where HydraDB context is injected. Use when <hydradb-context> blocks appear or when the user asks how the HydraDB plugin behaves./ingestIngest the current workspace's markdown-first context files into HydraDB. Use when the user wants an immediate sync or refresh of workspace knowledge instead of waiting for automatic sync./last-recallShow the most recent auto-recall payload captured by the HydraDB plugin. Use when debugging whether UserPromptSubmit recall ran, what HydraDB returned, or what was injected into context./queryQuery HydraDB using the configured search mode. Use when the user explicitly wants to inspect what HydraDB knows — memories, workspace knowledge, or both.