agentleFS
hydra-dbhydra-db/hydradb-claude-code/skills/setup/SKILL.md

setup

Skill4 starsChanged 7 months agoApache-2.0View on GitHub

Configure the HydraDB Claude Code plugin for the current workspace. Use when the user wants to enable HydraDB memory, fix configuration, or create a workspace config file.

  • Reads credentials

191 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use add-voice-transcription, add-discord and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • juancruzmunozalbeloSkill

    add-voice-transcription

    Add voice message transcription to NanoClaw using OpenAI's Whisper API. Automatically transcribes WhatsApp voice notes so the agent can read and respond to them.

    Also in 5 projects that use this

  • MicrosoftSkill

    add-discord

    Add Discord bot channel integration via Chat SDK.

    Also in 11 projects that use this

  • MicrosoftSkill

    add-slack

    Add Slack channel integration via Chat SDK.

    Also in 11 projects that use this

  • juancruzmunozalbeloSkill

    add-telegram-swarm

    Add Agent Swarm (Teams) support to Telegram. Each subagent gets its own bot identity in the group. Requires Telegram channel to be set up first (use /add-telegram). Triggers on "agent swarm", "agent teams telegram", "telegram swarm", "bot pool".

    Also in 7 projects that use this

  • +8 more from microsoft

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 6 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 170 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check current status first:

    line 10
  2. Distinctive:

    If HydraDB is already configured, explain which config layers are active and whether anything still needs to change.

    line 16
  3. Distinctive:

    If configuration is missing, prefer one of these paths:

    line 18
  4. Very specific:

    Use ${CLAUDE_PLUGIN_ROOT}/.hydradb-plugin.json.example for workspace config or ${CLAUDE_PLUGIN_ROOT}/config.example.json for the full shape.

    line 24
  5. Distinctive:

    Never invent secrets. Prefer environment variables for secret values:

    line 46
  6. Distinctive:

    Only put a literal API key in a file if the user explicitly asks for it.

    line 55
  7. Distinctive:

    After any config edit, recommend running:

    line 57
  8. Very specific:

    If the user wants manual-only memory, set captureMode to off and point them to /hydradb:remember or /hydradb:save-session.

    line 63
  9. Very specific:

    If the user wants whole-session upsert behavior, set captureMode to session-upsert.

    line 65
  10. Very specific:

    If HydraDB feels slow or the user wants tighter hook budgets, suggest lowering requestTimeoutMs and writeTimeoutMs, or setting …

    line 69
  11. Very specific:

    If the plugin is configured but the user is unsure whether prompt-time recall actually ran, suggest /hydradb:last-recall.

    line 71

“Common” is measured: kept by at least 6 in 10 of the 170 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Configure the HydraDB plugin for the current workspace.

  1. Check current status first:
node "${CLAUDE_PLUGIN_ROOT}/scripts/plugin.mjs" doctor --json
  1. If HydraDB is already configured, explain which config layers are active and whether anything still needs to change.
  2. 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 environment
  3. Use ${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"
}
  1. Never invent secrets. Prefer environment variables for secret values:
    • HYDRADB_API_KEY
    • HYDRADB_TENANT_ID
    • HYDRADB_SUB_TENANT_ID (set it explicitly; "" is valid if you want HydraDB's default sub-tenant)
    • optional HYDRADB_BASE_URL
    • optional HYDRADB_USER_NAME
  2. JSON config values can reference environment variables like "${HYDRADB_API_KEY}". Prefer that over putting literal secrets into repo files.
  3. Only put a literal API key in a file if the user explicitly asks for it. Otherwise keep secrets out of committed config.
  4. After any config edit, recommend running:
node "${CLAUDE_PLUGIN_ROOT}/scripts/plugin.mjs" doctor
  1. If the user wants manual-only memory, set captureMode to off and point them to /hydradb:remember or /hydradb:save-session.
  2. 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.
  3. 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.
  4. 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.
  5. 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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.