explore

explore is a skill for Claude Code from exmergo/dex. It costs 232 tokens per session (3,432 once invoked), scanned A, original, Apache-2.0.

A read-only analysis tool for understanding a database, data warehouse, or DuckDB file. It inventories tables and columns, profiles data quality, detects possible personal information, infers joins, and maps relationships.

In plain words
What is it for?
Use it to inspect a warehouse or local DuckDB database, identify important tables, check column contents and data quality, infer relationships, and create a draft data map.
Why use it?
It helps you learn what data actually exists before writing queries or transformations. This reduces mistakes caused by unknown table structure, unreliable values, or incorrect joins.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_SKILL_DIR} variable. Also seen: mentions Claude Code; mentions Codex.

Part of the dex plugin — 3 skills shipped together

Good fit Use it to inspect a warehouse or local DuckDB database, identify important tables, check column contents and data quality, infer relationships, and create a draft data map.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/exmergo/dex/explore
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add exmergo/dex --skill explore
Clone the repo
git clone --depth 1 https://github.com/exmergo/dex

Made for: Claude Code.

Or install dex, the plugin that ships this one along with the rest of its 3 skills.

Wrote 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.

agentmods badge for explore

README.md
[![agentmods](https://agentmods.dev/badge/skills/exmergo/dex/explore/github.svg)](https://agentmods.dev/skills/exmergo/dex/explore)
Your own site
<a href="https://agentmods.dev/skills/exmergo/dex/explore"><img src="https://agentmods.dev/badge/skills/exmergo/dex/explore/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.

agentmods 80×15 button for explore

Your own site · 80×15
<a href="https://agentmods.dev/skills/exmergo/dex/explore"><img src="https://agentmods.dev/badge/skills/exmergo/dex/explore.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 232 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,432 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00232 $0.03432
Opus 5.5 $0.00093 $0.01373
Sonnet 5.5 $0.00046 $0.00686
Haiku 4.5 $0.00023 $0.00343

Measured yesterday against content hash fc94ef5a8f16, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

explore 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 yesterday.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/run.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/explore/SKILL.md · 220 lines

How it starts

The opening of the file, as written. The whole thing — 220 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Explore

Make sense of a warehouse or a local DuckDB database the way an analytics engineer does: rank what matters, drill selectively, and persist a draft map in .dex/. This skill is read-only: it writes nothing but the .dex/ cache.

Procedure

dex works in one loop: explore, transform, maintain. Every step runs one engine command, reads the single JSON envelope it prints, and decides the next step from that envelope.

  1. Explore before you write. Before writing or fixing SQL against a table whose columns, types, grain, or join keys you have not verified in this session, run explore map (or explore profile <tables> for a few named ones) and read its grain, keys, PII flags, and data-quality findings. Answer ad-hoc questions with explore query, never with a raw database client.
  2. Plan the change. Author the file content and hand it to transform plan (or semantic define|update|plan for the semantic layer). Nothing is written yet. Read the diffs, the warnings, and, on a model that already exists, data.row_attribution; re-plan until they describe the change you meant.
  3. Apply it. transform apply <plan-id> writes the plan as a reviewable git diff. A human edit made since planning comes back as needs_confirmation: re-plan against the current files.
  4. Build and verify on dev. Run transform build --target dev --verify. Read data.verification.ran first, then relay the findings and anything under suppressed. A green build says dbt ran, not that the rows are right.
  5. Maintain. maintain check compares the warehouse and the project with the .dex/snapshot.json baseline, and maintain verify checks the project as it is now with no baseline. maintain reconcile proposes the fix as a plan, applied with transform apply. Take maintain snapshot after a known-good build.

At every step: a needs_confirmation envelope waits on the user's decision (a spend, or a dex config diff), never on yours; only a human clears a PII flag; and you never edit the dbt project, .dex/config.yml, .dex/cache.json, or .dex/plans/ by hand in place of the command that guards them.

Read the full file on GitHub · 220 lines

Files

What ships with it

6 files 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.

Changes

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.

  1. yesterday Changed · +7 lines · +4 tokens per session fc94ef5a8f16
  2. 2d ago Changed · +10 lines 9196a6449587
  3. 6d ago Changed · +8 lines · -117 tokens per session 3f4666894548
  4. 8d ago Changed · +10 lines 3370e80c33dd
  5. 9d ago Changed · +1 lines scan C → A ffe5f82dc317
  6. 12d ago Changed · -200 lines 44069bc62a02
  7. 1mo ago Changed · +6 lines 99d1ca5d2b5b
  8. 1mo ago Changed · +12 lines · +36 tokens per session 168180eb6a53
  9. 1mo ago Changed · +31 lines 3b76cb316ae2
  10. 1mo ago First seen · 335 lines · 309 tokens per session scan C a8ea3967da88

Subscribe to this mod's changes

explore is a skill published in the GitHub repository exmergo/dex (88 stars, last pushed today), licensed Apache-2.0. It adds 232 tokens to every session and 3,432 once invoked, about $0.0009 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-08-30.