nu-shell

Process structured data through pipelines and transform JSON, CSV, and YAML.

68|1|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/knoopx/pi --skill nu-shell
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nu-shell
Source: https://github.com/knoopx/pi/tree/main/agent/skills/nu-shell
Command: npx skills add https://github.com/knoopx/pi --skill nu-shell

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

nu-shell provides a structured data scripting environment to automate pipelines, filter tables, and transform JSON, CSV, and YAML, reducing manual data wrangling.

Core Features & Use Cases

  • Pipelines and filtering: Compose data processing flows using pipes and concise queries.
  • Table and record handling: Work with tables, lists, and records in a type-aware way.
  • Custom commands and scripting: Define and execute domain-specific commands to automate repetitive tasks.
  • Use Case: Automate the transformation of a JSON list into a CSV report for quarterly analytics.

Quick Start

Start by running a simple inline Nu expression such as nu -c 'ls | length' or place your script in a file (myscript.nu) and run nu myscript.nu

Frequently Asked Questions about nu-shell

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I transform JSON data into a CSV report using pipelines?

You can pipe structured JSON data through Nu shell filtering commands to transform it into a CSV file, automating report generation without manual data wrangling. It enables type-aware table handling for seamless ETL workflows.

What is the best way to automate filtering tables in structured data?

The best way to automate filtering tables in structured data is by using a structured data scripting environment with pipe-based pipelines. This allows you to compose data processing flows and filter tables concisely without manual intervention.

Does this data transformation approach work with YAML and CSV files?

Yes, this pipeline approach fully supports transforming YAML and CSV files. The environment provides type-aware handling for structured data, allowing you to process, filter, and convert between these formats seamlessly within your scripts.

How do I define custom commands for data wrangling automation?

You define custom commands for data wrangling automation by writing a Nu shell script file. This enables you to create and execute domain-specific commands that automate repetitive structured data processing tasks and ETL workflows.

Can I run inline expressions for quick structured data queries?

Yes, you can run inline expressions for quick structured data queries by passing commands directly via the command line interface. This allows you to instantly pipe and filter records without creating a separate script file.