WhoDB is a self-hosted workspace for exploring and managing databases through a browser, desktop app, or terminal interface. Developers and data teams use it to browse and edit data, run queries, inspect table relationships, move data, and optionally ask questions through an AI provider. The catalogue includes add-ons for operating WhoDB and working with its database tools.
Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/clidey/whodbnpx agentmods add skills/clidey/whodb/new-pluginWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/clidey/whodb/new-plugin)<a href="https://agentmods.dev/skills/clidey/whodb/new-plugin"><img src="https://agentmods.dev/badge/skills/clidey/whodb/new-plugin/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/clidey/whodb/new-plugin"><img src="https://agentmods.dev/badge/skills/clidey/whodb/new-plugin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00022 | $0.01296 |
| Opus 5.5 | $0.00009 | $0.00518 |
| Sonnet 5.5 | $0.00004 | $0.00259 |
| Haiku 4.5 | $0.00002 | $0.00130 |
Grade A, and why
new-plugin scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add a Data Source
Pick a path:
- Database plugin: a SQL or NoSQL database with a Go driver. Implement
engine.PluginFunctions; the shareddatabasedriver adapts it to the source API. - Source-first connector: anything else (object stores, APIs). Implement
source.SourceConnectorandsource.SourceSessiondirectly.
Never add per-source GraphQL; the generic Source* API serves every type. Read contract.md in this skill before declaring capabilities, SSL or aliases.
Database plugin
- Type ID. Add
DatabaseType_<Name> = "<Name>"to the const block incore/src/engine/engine.go. The string is the source ID everywhere: catalog, icon key,WHODB_<NAME>env profiles. - Plugin package in
core/src/plugins/<name>/;core/src/plugins/postgres/is the reference.- SQL: embed
gorm_plugin.GormPlugin. The constructor callsConfigureIdentifierQuoting(...), setsType,PluginFunctions = pluginandGormPluginFunctions = plugin;init()callsengine.RegisterPlugin(...). GormPluginhas no default forDB,GetTableInfoQuery,GetTableNameAndAttributes,GetStorageUnitExistsQuery,GetPrimaryKeyColQuery,GetAllSchemasQuery,GetCreateTableQuery,GetSupportedOperators,GetGraphQueryDB,GetDatabases,RawExecuteorGetSSLStatus. Everything else has a default; override only what differs.- Non-SQL: embed
engine.BasePlugin; unsupported user operations returnerrors.ErrUnsupported. See the mongodb, redis, elasticsearch and memcached plugins. - Do DB work inside
plugins.WithConnection(config, p.DB, ...); direct driver calls useconfig.OperationContext(). - Open network connections through
sourcedial: whensourcedial.Dialer()is non-nil, pass it to the driver's dial hook (pgxDialFunc, go-redisDialer, mongoSetDialerwithsourcedial.ContextDialer); when nil, leave the driver's dialing alone. If the hook replaces the driver's TLS setup, usesourcedial.DialTLS. Add the connector tocore/src/plugins/sourcedial_test.go. - Wire-compatible with an existing plugin? Add a catalog alias instead of a plugin (see
contract.md).
- SQL: embed
- Register. Blank-import the package in
core/cmd/whodb/main.go. A CGO plugin that cannot build on arm/riscv64 registers through a build-tagged file incore/src/instead (seesrc_duckdb.go). - Connection form. Add a
ConnectableDatabasetocatalogincore/src/dbcatalog/catalog.go:ID,Label,PluginType(the plugin that runs it),Extra(advanced fields and defaults such as"Port"),Fields,RequiredFields,SSLModes(extendsslModesForinssl_modes.go). - Contract. Add a
FamilySpectofamilySpecsincore/src/sourcecatalog/catalog.go. Build object types with the helpers in that file (metadataObjectType,tabularObjectType,tabularReadOnlyObjectType,documentObjectType,keyValueObjectType,keyValueExistingMutableObjectType); never hand-buildsource.ObjectType. A catalog entry with no family spec for its ID or plugin type is skipped silently (core/src/sources/database/register.go). - Session metadata. Put type definitions, operators and the alias map in
core/src/sourcecatalog/specs/(sql.goornonrelational.go) and register them inregisterSessionMetadata()incore/src/sourcecatalog/metadata.go. Plugins may import specs for type normalization but never register metadata frominit(). - Frontend. Add an SVG to
ceLogosinfrontend/src/components/icons.tsx, keyed by the exact source ID (lookup falls back to the plugin type). Forms, SSL options and capability flags render from the backend contract. Add acustomFormRendererthroughregisterSourceTypeOverrides()(frontend/src/config/source-registry.ts) only when the field-based form cannot work.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 17d ago First seen · 49 lines · 22 tokens per session scan A 22dc6b27c5cb
new-plugin is a skill published in the GitHub repository clidey/whodb (5,074 stars, last pushed today), licensed Apache-2.0. It adds 22 tokens to every session and 1,296 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-13.
new-plugin compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| new-pluginclidey/whodb | Skill | 5.1k | today | Apache-2.0 | A | 22 | Claude Code, Codex |
| drizzle-ormpledgeandgrow/pledge-skills | Skill | 11 | 4mo ago | MIT | A | 28 | Claude Code, Codex |
| graphjin-evaldosco/graphjin | Skill | 3.2k | yesterday | Apache-2.0 | A | 27 | Claude Code, Codex |
| graphjin-env-workflowsdosco/graphjin | Skill | 3.2k | yesterday | Apache-2.0 | A | 60 | Claude Code |
| graphjin-envdosco/graphjin | Skill | 3.2k | yesterday | Apache-2.0 | A | 61 | Claude Code, Codex |
| add-graphjin-databasedosco/graphjin | Skill | 3.2k | yesterday | Apache-2.0 | A | 60 | Claude Code, Codex |
| find-postgres-bugdigoal/blog | Skill | 8.6k | yesterday | GPL-2.0 | A | 195 | Codex |