Database Query

Query PostgreSQL, MySQL or SQLite databases directly from Hermes

Dev Tools⚠ ReviewIntermediatev1.0.0
Last verified:2026-06-01
Beta Skill

Grant read-only database access where possible. Never expose production write credentials unnecessarily.

About

Lets your Hermes agent run SQL queries against your databases. Supports PostgreSQL, MySQL and SQLite. Ideal for agents that need to read business data, generate reports or update records as part of a workflow.

Use Cases

  • Pull weekly sales data and generate a summary report
  • Update order statuses in your database after processing
  • Query user records to personalise agent responses

What Database Query can access

Broad access

Read this skill's SKILL.md in full before installing it. Run it against a disposable host or test account first, and give it the narrowest credentials that still work.

  • Can make changes that are hard to undo

    The listing carries an explicit maintainer warning. Test this against something disposable before pointing it at anything you care about.

    Listing carries a maintainer warning: "Grant read-only database access where possible. Never expose production write credentials unnecessarily."

  • Needs your credentials

    You must supply secrets for this skill to work. A skill with a valid key can do anything that key permits, so scope each one as narrowly as the provider allows and never reuse an admin key.

    Declares 1 required credential: DATABASE_URL

  • Reads your stored data

    It queries a database or persistent store. Prefer a read-only credential unless it genuinely needs to write.

    This skill's own description refers to "database"

These permissions are inferred from this listing — the credentials it declares, any maintainer warning, and the operations its own description mentions. ClawVault has not audited this skill's source code. Treat it as a starting point for your own review, not a substitute for one.

Installing Database Query on Hermes Agent

Hermes skills are on-demand knowledge documents stored in hermes/skills/, which is the single source of truth. Bundled skills are copied there on a fresh install, and hub-installed and agent-created skills land there too. Every installed skill automatically becomes a slash command, so a skill named plan is invoked with /plan.

  1. 1

    Search for the skill

    hermes skills search database

    Add --source to widen the search: official for curated skills, skills-sh for the public skills.sh directory, browse-sh for site-specific browser automation, or well-known to point Hermes at a site publishing its own skill index.

  2. 2

    Inspect it before installing

    hermes skills inspect official/<category>/database

    inspect shows the skill's contents and metadata. Use the fully qualified identifier that search returned, which includes its source and category.

  3. 3

    Install it

    hermes skills install official/<category>/database

    Identifiers are source-qualified, for example official/migration/openclaw-migration or skills-sh/anthropics/skills/pdf. You can also install straight from a URL that serves a SKILL.md. --force overrides non-dangerous policy blocks but will not override a dangerous scan verdict.

  4. 4

    Use it as a slash command

    /database

    Installed skills become slash commands in any chat session. Run hermes skills list to see everything available, or /skills from inside a session.

Commands follow the official Hermes Agent documentation. Placeholders such as <owner> are filled in by the search step, because registry references are publisher-scoped.

Requirements

API Keys & Credentials

DATABASE_URL

Version & Updates

Current Version
1.0.0
Last Updated
2026-06-01

Safety & verification

Needs review
Not yet independently confirmed. Read the SKILL.md before running it on a Hermes Agent install you care about.

How Hermes Agent screens skills

Hermes checks third-party and community skills against policy before installing, and --force will not override a verdict it considers dangerous. Because Hermes can also write its own skills at runtime, review what the Curator has kept periodically with hermes skills list.

Review before installing

Read this skill's SKILL.md before installing it, so you know what commands it runs and which credentials it reads.

Recommended

Running on a VPS?

Deploy OpenClaw, Hermes, or PicoClaw on Bluehost with the right template for the job.

Related Skills in Dev Tools