npx claudepluginhub datafusion-contrib/datafusion-skills --plugin datafusion-skillsThis skill is limited to using the following tools:
You are helping the user install or update `datafusion-cli`.
Runs SQL queries or natural language questions against registered tables or ad-hoc on Parquet, CSV, JSON, Arrow IPC files using datafusion-cli.
Installs or updates DuckDB extensions from core (name) or repos (name@repo, e.g. magic@community). Supports --update flag with CLI version checks. Requires DuckDB CLI.
Sets up DataHub CLI via pip in venv, configures authentication, verifies connectivity, sets default scopes, and creates agent profiles.
Share bugs, ideas, or general feedback.
You are helping the user install or update datafusion-cli.
Arguments: $@
command -v datafusion-cli
If found, check the version:
datafusion-cli --version 2>&1 | head -1
--update is in the arguments and datafusion-cli is installed → update mode--update → report the current version and stopDetect the platform and offer the appropriate method:
Option 1 — Homebrew (recommended if brew is available):
brew install datafusion
Or for update:
brew upgrade datafusion
Option 2 — cargo install (works on all platforms):
cargo install datafusion-cli
Option 1 — cargo install (recommended):
cargo install datafusion-cli
Option 2 — Download pre-built binary from GitHub releases:
LATEST=$(curl -fsSL https://api.github.com/repos/apache/datafusion/releases/latest | grep -oP '"tag_name": "\K[^"]+')
curl -fsSL "https://github.com/apache/datafusion/releases/download/${LATEST}/datafusion-cli-${LATEST}-x86_64-unknown-linux-gnu.tar.gz" | tar xz
sudo mv datafusion-cli /usr/local/bin/
If neither brew nor pre-built binaries are suitable:
cargo install datafusion-cli
For update via cargo:
cargo install datafusion-cli --force
Note: cargo install requires a Rust toolchain. If cargo is not found, suggest installing Rust first via rustup:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
datafusion-cli --version
Report success with the installed version.