/datafusion-skills:install-datafusionfrom datafusion-skills
Installs or updates datafusion-cli via cargo, Homebrew, or pre-built binaries. Checks current version and offers upgrade if outdated.
Ships in datafusion-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub datafusion-contrib/datafusion-skills --plugin datafusion-skills7 skills in this plugin
/create-tableRegister a data file as a persistent external table in the DataFusion session. Supports Parquet, CSV, JSON, Arrow IPC, and Avro files. Explores the schema and writes to the session state file for reuse across skills.
/datafusion-docsSearch Apache DataFusion documentation, user guide, and API reference. Returns relevant documentation for a question or keyword. Searches the official DataFusion repository and website.
/explain-planVisualize and analyze DataFusion query execution plans. Shows logical and physical plans, identifies performance bottlenecks, and suggests optimizations. Supports EXPLAIN and EXPLAIN ANALYZE.
Other plugins' skills for the same job