Skip to content
Development
Command

/uxbot-discover

Discover context for uxbot. This is called by `/autobot` before launching the session to determine the app database.

From plugin
metabase
49k23 skills11 agents23 commands
Install
$ npx -y skills add metabase/metabase --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/uxbot-discover

Context preview

What this command does when you run it.

Discover context for uxbot. This is called by `/autobot` before launching the session to determine the app database.

Command definition

uxbot-discover.md

Discover context for uxbot. This is called by `/autobot` before launching the session to determine the app database.

The user provided: `$ARGUMENTS`

Steps

UXBot always uses postgres. No external context gathering needed.

Generate a timestamp in `YYYYMMDD-HHMMSS` format. If you know the current wall-clock time, construct it directly. Otherwise run `./bin/mage -bot-timestamp` — it prints exactly one line in the required format with no extra output. Do NOT use `date` directly.

Write the structured result to `.bot/uxbot/discover/result.env` using the `Write` tool:

APP_DB=postgres
TIMESTAMP=<YYYYMMDD-HHMMSS>
Ships withmetabase

Metabase is the easy, open-source way for everyone in your company to ask questions and learn from data.

Get the whole plugin