wren-query

Installation
SKILL.md

The user wants to run a Wren CLI command. $ARGUMENTS is the SQL query or instruction.

What to do

  1. Check for ~/.wren/mdl.json and ~/.wren/connection_info.json using Read or Glob.

    • If either is missing, tell the user what's needed and show the format below.
    • If both exist, proceed directly.
  2. Run the appropriate command based on what the user asked:

Intent Command
Execute and return results uv run wren --sql '...'
Translate to native SQL (no DB) uv run wren dry-plan --sql '...'
Validate without fetching rows uv run wren dry-run --sql '...'
Check SQL is valid uv run wren validate --sql '...'

If wren is installed globally (not via uv), use wren directly instead of uv run wren.

Related skills

More from canner/wren-engine

Installs
1
GitHub Stars
661
First Seen
Apr 7, 2026