/explore
Explore a database schema token-efficiently via the DBHub tools; use before writing SQL against a schema you haven't seen.
Claude Code
$ npx -y skills add bytebase/dbhub --skill explore --agent claude-code
Codex
$ npx skills add bytebase/dbhub --skill explore -a codex -y
Cursor
$ npx skills add bytebase/dbhub --skill explore -a cursor -y
Gemini CLI
$ npx skills add bytebase/dbhub --skill explore -a gemini-cli -y
GitHub Copilot
$ npx skills add bytebase/dbhub --skill explore -a github-copilot -y
OpenCode
$ npx skills add bytebase/dbhub --skill explore -a opencode -y
Windsurf
$ npx skills add bytebase/dbhub --skill explore -a windsurf -y
SKILL.md
explore.SKILL.mddescription: Explore a database schema token-efficiently via the DBHub tools; use before writing SQL against a schema you haven't seen.
DBHub Schema Exploration
Use `search_objects` with progressive disclosure — always coarse to fine:
1. **Orient:** `object_type: "table"`, `detail_level: "names"` (pattern defaults to `%`, matching all). Cheap even on large schemas. 2. **Narrow:** `detail_level: "summary"` for the tables that matter (row/column counts, comments), using a pattern like `%order%` rather than listing everything. 3. **Drill in:** `detail_level: "full"` only for the tables you will actually query (complete columns, types, keys) — never as a first, pattern-less call on an unfamiliar schema.
Searching `object_type: "column"` with a pattern like `%email%` is the fastest way to find which tables hold a concept.
Querying
- Always add `LIMIT` (`TOP` on SQL Server, `FETCH FIRST n ROWS ONLY` on Oracle) when sampling data — start with `LIMIT 10`. Prefer aggregates (`COUNT`, `GROUP BY`) over pulling rows to characterize data.
- Check a table's `full` detail before writing JOINs so you use real column names — don't guess and retry.
- This plugin is read-only; if a write is rejected, tell the user rather than trying to work around it.
Token conscious database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite.
More skills from other plugins.
paddleocr-doc-parsing
Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as…
13c-metabolic-flux
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps,…
Questions about explore.
- Which coding agents can use explore?
- explore 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.

