metabase
Installation
SKILL.md
metabase
Operate a Metabase instance through its REST API via the mb wrapper.
A card is not a file, it is live. Editing card N changes what every dashboard viewer sees, immediately, with no deploy step and no undo in the UI. So reads run freely, and every mutation captures a restore point first.
First action, every invocation
Check for .metabase/context.md in the project root.
- Absent → run
uv run --python 3.13 --no-project <skill-dir>/scripts/mb.py bootstrap. It writes the instance URL, the API key's identity, and the database id→name table, then continue. - Present → load it. It is the source of truth for the instance URL and
which database id is which. Never guess a database id.
--db 8means nothing until you know 8 is production Postgres.