r-analyst for Openclaw

A lightweight Python-based skill that brings R-style statistical summaries and data exploration to your CLI workflow.

loutai0307-prog
v1.0.1
Apr 17, 2026
0
1.2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install r-analyst

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install r-analyst using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is r-analyst?

The r-analyst skill provides a bridge between Python efficiency and the familiar statistical reporting of the R programming language. It allows developers and data scientists to perform descriptive statistics, detect outliers, and visualize data distributions directly within their terminal environment. This tool is part of the Openclaw Skills ecosystem, designed to handle CSV datasets without the heavy overhead of a full R environment.

By leveraging the Python 3 standard library, it delivers fast, reliable insights into dataset structures, correlation matrices, and missing value detection. It is an ideal solution for quick data profiling and preliminary analysis where a full notebook or specialized statistical software would be overkill.

r-analyst Use Cases

  • Generating R-style summaries (Min, Median, Mean, Max, SD) for CSV datasets.
  • Visualizing data distribution in the terminal using ASCII histograms.
  • Identifying missing values and statistical outliers using the 3σ (three-sigma) rule.
  • Calculating Pearson correlation matrices to understand relationships between numeric variables.
  • Quick dataset profiling to understand column types and unique value counts during development.

How r-analyst Works

  1. The user triggers the skill by providing a CSV file path and a specific analysis command via the bash script.
  2. The skill invokes a Python 3 engine to parse the CSV file and identify numeric versus categorical data columns.
  3. Depending on the command (e.g., stats, plot, or correlate), the script applies statistical algorithms like Pearson correlation or the 3σ rule for outlier detection.
  4. For visualization, the skill generates an ASCII-based histogram to represent data frequency directly in the terminal output.
  5. The results are formatted into a clean, human-readable summary that mimics the output of R's native summary functions.

r-analyst Setup

To integrate r-analyst into your workflow within the Openclaw Skills directory, ensure you have bash 4+ and Python 3 installed. No external Python packages or R installations are required.

# Navigate to the skill directory
cd skills/r-analyst

# View available commands and usage
bash scripts/script.sh help

r-analyst Data Schema & Taxonomy

The r-analyst skill processes standard CSV files and produces formatted text-based reports. The following table describes the data output types:

Output Type Description Format
Summary Stats Min, 1st Qu, Median, Mean, 3rd Qu, Max, SD Plain Text Table
Visualization Numeric data distribution ASCII Histogram
Correlation Pearson coefficients for numeric pairs Matrix
Cleaning Count of missing values and list of outliers List
Schema Column names, types, and sample data Structured Report

r-analyst Advanced Features

  • Zero-dependency architecture: Runs entirely on Python 3 standard library, ensuring compatibility across environments.
  • Multi-column correlation: Automatically filters and computes relationships across all numeric columns in a single pass.
  • Outlier detection: Employs the 3σ rule to identify statistically significant anomalies in your datasets.
  • ASCII Plotting: Customizable binning for histograms to visualize data distribution without a GUI.
  • Integration ready: As part of Openclaw Skills, it can be easily called by AI agents to summarize data before processing.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*