Skip to content
Databases
Skill

/whodb

Work with WhoDB platform hosts, organizations, projects, and resources through MCP, or use database-only MCP tools when database mode is configured.

From plugin
whodb
5.1k3 skills3 agents1 MCP

Claude Code

$ npx -y skills add clidey/whodb --skill whodb --agent claude-code

SKILL.md

whodb.SKILL.md
name: whodb
description: Work with WhoDB platform hosts, organizations, projects, and resources through MCP, or use database-only MCP tools when database mode is configured.

WhoDB Database Assistant

You have access to WhoDB for database operations. Use these tools and commands to help users with database tasks.

Platform MCP (default)

`whodb mcp serve` exposes hosted platform tools. Sign in to each required host with `whodb login --host <url>`. Start with `whodb_platform_hosts` to discover saved hosts and accounts, then `whodb_platform_orgs` with `workspace: {host}` and `whodb_platform_projects` with `workspace: {host, org}`.

When the user wants the whole conversation on one host (for example UAT or production), call `whodb_platform_session_use` once with `workspace: {host, org, project}`. It verifies the login, resolves canonical IDs, and becomes the default for later calls in this MCP session only. It is never saved to disk, so other chats and terminals keep their own defaults. Confirm with `whodb_platform_status`, which reports `session_scope`. Use `whodb_platform_session_clear` to drop it.

For one-off calls to another host or project, pass an explicit `workspace: {host, org, project}` on that call. Resolve it first with `whodb_platform_workspace_resolve` if unsure. Per-call targets, including parallel calls, never change the session default or saved defaults. Check the returned `scope`. Resolution order for an omitted `workspace`: session default, then process overrides, then saved defaults. Do not run `whodb use` to switch hosts for one chat; it rewrites the saved default for every session. Read `whodb://platform/schema` for operations and payloads.

To answer a question about ontology data, call `whodb_platform_ontology_describe` first to learn entity and property names, then `whodb_platform_ontology_aggregate` for exact counts, sums and group-bys, or `whodb_platform_ontology_query` for filtered rows, search and joins (bounded scan, max 5000 rows). Drill into rows with `whodb_platform_ontology_rows`. For bulk inserts use `whodb_platform_add_ontology_records` with an `idempotency_key`. Preview behavior actions with `whodb_platform_ontology_action_preview` before executing them.

Writes return a preview bound to its host, account, organization, and project. Confirm only after approval of that exact preview. Changing defaults does not redirect a pending confirmation. Ask for `whodb login --host <url>` when a host needs authentication; no separate login is needed per project.

Guided setup

This skill is optional. WhoDB MCP supplies its own instructions, tool schemas, and setup guidance. Prefer live MCP discovery if this skill differs from it. Keep one entry: command `whodb`, args `["mcp", "serve"]`.

Use `whodb_mcp_setup` with `action: "inspect"` to discover settings, targets, choices, and the settings schema. Ask the user what they want, then use `action: "preview"` with a `patch`. Show the proposed settings and obtain approval before `action: "apply"` with the returned `confirmation_token` and `approved: true`. Do not send a patch with apply. Tokens expire after five minutes; only the latest preview is valid. Restart MCP after changed settings, then use `action: "verify"`. Verification checks active settings. Omitted patch fields are preserved.

No shell access is required for this flow. Browser sign-in and credential entry remain user actions; never request credentials in chat. If setup tools are filtered out, ask the user to run `whodb setup`. CLI agents can alternatively use `whodb setup inspect`, `validate`, `apply --yes`, and `verify`. Inspect `whodb://mcp/configuration` for active modules and restrictions. Platform calls target `workspace`; database calls target `connection`.

Database-only MCP

Enable the database module through `whodb setup`; both modules can run in the same `whodb mcp serve` connection. `--database` remains an advanced process override. This connects directly to databases without a WhoDB platform server; databases can be remote. The terminal UI is available with `whodb --tui`.

Database tools

When database-only MCP is configured, use these tools directly:

whodb_connections

List all available database connections.

No parameters required.
Returns: List of connection names with type and source (env/saved).

whodb_query

Execute SQL queries against a database.

Parameters:
- connection: Connection name (optional if only one connection exists)
- query: SQL query to execute

Example: whodb_query(connection="mydb", query="SELECT * FROM users LIMIT 10")

whodb_schemas

List all schemas in a database.

Parameters:
- connection: Connection name (optional if only one connection exists)
- include_tables: Set true to also return tables within each schema (optional)

Example: whodb_schemas(connection="mydb")
Example: whodb_schemas(connection="mydb", include_tables=true)

whodb_tables

List all tables in a schema.

Parameters:
- connection: Connection name (optional if only one connection exists)
- schema: Schema name (optional, uses default if not specified)
- include_columns: Set true to also return column details for every table (optional)

Example: whodb_tables(connection="mydb", schema="public")
Example: whodb_tables(connection="mydb", schema="public", include_columns=true)

whodb_columns

Describe columns in a table.

Parameters:
- connection: Connection name (optional if only one connection exists)
- table: Table name (required)
- schema: Schema name (optional)

Example: whodb_columns(connection="mydb", table="users")

CLI Commands (Fallback)

If MCP tools are unavailable, use the CLI directly via Bash:

Query Execution

whodb query "SELECT * FROM users LIMIT 10" --connection mydb --format json

Schema Discovery

# List schemas
whodb schemas --connection mydb --format json

# List tables
whodb tables --connection mydb --schema public --format json

# Descr
Read more
@clidey
Ships withwhodb

Where data access meets operational intelligence

5.1k3 skills3 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
5.1k
Star history of clidey/whodb on GitHub, a chart by star-history.com

Other skills on whodb.

query-builder

query-builder

Convert natural language questions into SQL queries. Activates when users ask data questions in plain English like "show me users…

@clidey@clideyInstall Skill
schema-designer

schema-designer

Help design database schemas, create tables, and plan data models. Activates when users ask to create tables, design schemas, or…

@clidey@clideyInstall Skill

More skills from other plugins.

dbx

dbx

Use the DBX CLI to inspect DBX-managed database connections, explore schemas, run bounded read-only queries, generate DBML or…

dbx4d31k
@t8y2@t8y2Install Skill
docsite-link-sweep

docsite-link-sweep

Sweep the googleapis/mcp-toolbox docs for broken and non-canonical links, report each finding with its cause, and apply the safe…

@googleapis@googleapisInstall Skill

Questions about whodb.

Which coding agents can use whodb?
whodb installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.