AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Dremio

skill-dremio-cli-dremio · by dremio

A Claude skill from dremio/cli.

No reviews yet
0 installs
38 views
0.0% view→install

Install

$ agentstack add skill-dremio-cli-dremio

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-dremio-cli-dremio)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Dremio? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About


name: dremio-knowledge description: Core Dremio Cloud SQL reference, system tables, REST API patterns, and built-in functions user_invocable: true triggers:

  • "dremio sql"
  • "dremio functions"
  • "system tables"
  • "dremio rest api"
  • "reflections"
  • "how do I query"

Core Dremio Cloud Knowledge

SQL Dialect Quick Reference

Dremio uses Apache Calcite SQL with Dremio-specific extensions. All queries run through drs query run.

Running Queries

# Simple query
drs query run "SELECT * FROM my_source.my_table LIMIT 10"

# Query with a specific context (schema)
drs query run --context my_source "SELECT * FROM my_table LIMIT 10"

Dremio-Specific Functions

| Function | Purpose | Example | |---|---|---| | FLATTEN(col) | Unnest arrays/maps into rows | SELECT FLATTEN(tags) FROM events | | APPROX_COUNT_DISTINCT(col) | HyperLogLog distinct count | SELECT APPROX_COUNT_DISTINCT(user_id) FROM clicks | | CONVERT_FROM(col, 'JSON') | Parse binary/varchar as JSON | SELECT CONVERT_FROM(payload, 'JSON') FROM raw | | DATE_TRUNC('month', ts) | Truncate timestamp | SELECT DATE_TRUNC('week', created_at) FROM orders | | REGEXP_LIKE(col, pattern) | Regex match | SELECT * FROM t WHERE REGEXP_LIKE(name, '^A.*') | | TO_DATE(str, fmt) | Parse string to date | SELECT TO_DATE('2026-01-15', 'YYYY-MM-DD') |

Path Syntax

Dremio uses dot-separated paths with double quotes for special characters:

-- Standard path
SELECT * FROM my_source.my_schema.my_table

-- Path with special characters
SELECT * FROM my_source."my-schema"."my table"

System Tables

Query system tables for operational insight:

# Recent jobs (last 30 days)
drs query run "SELECT job_id, query_type, status, query, start_time, finish_time
  FROM sys.project.jobs_recent
  WHERE usr = 'alice@example.com'
  ORDER BY start_time DESC LIMIT 20"

# Reflection status
drs query run "SELECT reflection_id, name, type, status, dataset_name, num_failures
  FROM sys.reflections
  WHERE dataset_name = 'my_table'"

# Active reflection refresh jobs
drs query run "SELECT reflection_id, submitted, started, status
  FROM sys.materializations"

| System Table | Contents | |---|---| | sys.project.jobs_recent | Job history: query text, user, status, timing | | sys.reflections | All reflections: type, status, dataset, columns | | sys.materializations | Reflection refresh jobs and their status | | sys.options | Current system option settings | | INFORMATION_SCHEMA.TABLES | All tables/views visible to current user | | INFORMATION_SCHEMA.COLUMNS | Column metadata for all tables |

REST API Patterns

The drs CLI wraps the Dremio Cloud REST API. For operations not covered by CLI commands:

# The CLI uses these endpoints under the hood:
# GET  /api/v3/catalog           — list top-level sources
# GET  /api/v3/catalog/by-path/{path} — get dataset/folder by path
# POST /v0/projects/{id}/sql    — submit a SQL query
# GET  /v0/projects/{id}/job/{id} — get job status
# GET  /v0/projects/{id}/job/{id}/results — get job results
# GET  /api/v3/reflection/{id}  — get reflection details

Common Patterns

Check if a table exists

drs query run "SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES
  WHERE TABLE_SCHEMA = 'my_source.my_schema' AND TABLE_NAME = 'my_table'"

Find large/slow queries

drs query run "SELECT job_id, usr, query, finish_time - start_time AS duration
  FROM sys.project.jobs_recent
  WHERE status = 'COMPLETED'
  ORDER BY (finish_time - start_time) DESC LIMIT 10"

Check reflection usage for a query

drs jobs profile 
# Look for "Reflection Used" vs "Table Scan" in the output

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.