data-explorer

General-purpose data profiling and exploration. Use when first encountering any dataset to understand its structure, quality, and analysis potential.

npx skills add https://github.com/google-gemini/gemini-managed-agents-templates --skill data-explorer

Data explorer skill

Profile any tabular dataset (CSV, JSON, Parquet) and produce a structured summary the other skills can consume.

Workflow

  1. Scan workspace: list all data files in the workspace directory.
  2. Load and profile each file:
    • Row count, column count
    • Column names, data types, null counts, unique counts
    • Basic statistics (min, max, mean, median, std for numerics)
    • Value counts for categorical columns (top 10)
    • Correlation matrix for numeric columns
  3. Assess data quality:
    • Missing value percentage per column
    • Potential data type issues (e.g., numbers stored as strings)
    • Duplicate row detection
    • Outlier detection (IQR method)
  4. Output a structured profile as JSON for downstream skills.
  5. Recommend analysis directions based on what you found.

Output format

{
  "files": [
    {
      "filename": "customers.csv",
      "rows": 91,
      "columns": 7,
      "schema": [
        {"name": "CustomerID", "dtype": "object", "nulls": 0, "unique": 91},
        {"name": "CompanyName", "dtype": "object", "nulls": 0, "unique": 91}
      ],
      "quality": {
        "missing_pct": {"Region": 0.60},
        "duplicates": 0
      },
      "recommendations": [
        "CustomerID is a unique string identifier",
        "Region column has a high missing percentage (60%)",
        "Can be joined with orders.csv on CustomerID to analyze customer behavior"
      ]
    }
  ]
}

Key rules

  • Never assume a specific dataset. Profile whatever is present.
  • If no data files are found, inform the user and ask them to upload.
  • Use pandas for profiling. It is pre-installed in the sandbox.
  • Use select_dtypes(include=["object", "str"]) for categorical columns.
  • For large files (>100K rows), profile a sample first and note the sampling.

More skills from google-gemini

greeter
google-gemini
A friendly greeter skill
official
code-reviewer
google-gemini
Automated code review for local changes and remote pull requests with structured analysis across correctness, maintainability, and security. Supports both local file system changes (staged and unstaged) and remote PRs (by number or URL) with automatic GitHub CLI checkout Analyzes code across seven dimensions: correctness, maintainability, readability, efficiency, security, edge case handling, and test coverage Runs optional preflight verification suites (e.g., npm run preflight ) to catch...
official
review-duplication
google-gemini
Use this skill during code reviews to proactively investigate the codebase for duplicated functionality, reinvented wheels, or failure to reuse existing…
official
reconciliation
google-gemini
Reconcile loaded expenses against the pre-parsed invoice database, flagging discrepancies like amount mismatches, missing invoices, and merchant mismatches…
official
gemini-api-cli
google-gemini
Guide for using the Gemini API CLI tool. Use when you need to interact with the Gemini API via the command line, manage agents, or generate media (images,…
official
agent-tui
google-gemini
Main Agents: Do NOT use this skill directly. If you need to test the TUI, invoke the `tui_tester` subagent. Drive terminal UI (TUI) applications…
official
async-pr-review
google-gemini
Trigger this skill when the user wants to start an asynchronous PR review, run background checks on a PR, or check the status of a previously started async PR…
official
behavioral-evals
google-gemini
Guidance for creating, running, fixing, and promoting behavioral evaluations. Use when verifying agent decision logic, debugging failures, debugging prompt…
official