Skip to main content

Quick Start

1

Install the plugin

Run these commands inside Claude Code:
2

Get credentials

3

Set environment variables

To verify the values are set:
4

Run setup and verify

HYDRADB_SUB_TENANT_ID must be set explicitly. If you want the plugin to use its default sub-tenant, set it to an empty string ("") rather than omitting it entirely.
HYDRADB_SUB_TENANT_ID strategy:
  • Use a workspace-specific value (e.g., claude-my-project) for project-isolated memory.
  • Use a shared value to carry memory across all sessions and workspaces.
Once configured, the plugin runs in the background: it syncs workspace docs on session start, recalls relevant context before each prompt, and captures conversation memory after each response.

Commands


Modes

captureMode - how conversations are saved

searchMode - what is recalled at prompt time

ingestionMode - where workspace docs are synced

recallMode - speed vs. depth

By default, HydraDB syncs each conversation pair (user and assistant) that does not include the ignoreMarker (hydra-ignore). For manual-only capture, set captureMode to off and use /hydradb:save-session or /hydradb:remember <text>.

Config Variables

Required

Core behavior

Limits

Timeouts

File filtering

By default, HydraDB includes .md and .mdx files in workspace sync. To include additional file types, extend includeGlobs in your config file.

Advanced


Config File Location Priority

The plugin resolves config in this order (later sources override earlier ones):
  1. Built-in defaults
  2. HYDRADB_PLUGIN_CONFIG env var (absolute path to a JSON file)
  3. ${CLAUDE_PLUGIN_DATA}/config.json
  4. .hydradb-plugin-data/config.json
  5. .hydradb-plugin.json (workspace-shared - safe to commit to git)
  6. .hydradb-plugin.local.json (workspace-local - add to .gitignore)
  7. Environment variable overrides

Suggested Modes


Suggested Configs

Minimal (env vars only)

Maximum recall

Manual-save only (no auto-capture)


Source & Show Support

If this HydraDB plugin makes your Claude Code workflow faster (and smarter), please star the open-source repo that powers it.

hydradb-claude-code

Star on GitHub if you found it useful.