ifiokjr/monopi/nushell
Claude Code and agent skill by ifiokjr/monopi
- community
Checking that the SKILL.md file is still in the repository.
Nushell syntax reference for shell commands: variables, pipelines, tables, custom commands, control flow, Bash-to-Nu equivalents, and common gotchas
Install
npx vskill@latest install ifiokjr/monopi/nushellSKILL.md
The same SKILL.md was published earlier as ifiokjr/oh-pi/nushell.
Nushell Skill
Use this skill whenever the user's shell is Nushell (nu). All shell commands provided to the user must use Nushell syntax, not Bash/POSIX syntax.
Core Concepts
Nushell treats everything as structured data. Pipelines pass tables, lists, and records: not plain text. This is the single biggest difference from Bash.
Variables
Commands (not like Bash)
Nushell has structured commands, not text-processing tools:
| Task | Bash | Nushell | |||
|---|---|---|---|---|---|
| List files | ls -la | ls (already structured) | |||
| Long listing | ls -la | ls -l or ls --long | |||
| Find files recursively | find . -name '*.rs' | ls **/*.rs | |||
| Filter by condition | grep pattern | where name =~ "pattern" or find "text" | |||
| Sort | sort | sort-by size | |||
| Take first N | head -5 | first 5 | |||
| Take last N | tail -3 | last 3 | |||
| Skip N | tail -n +5 | skip 4 | |||
| Read file | cat file.txt | open file.txt or open --raw file.txt | |||
| Write file | echo "text" > f.txt | `"text" \ | save f.txt` | ||
| Append to file | echo "text" >> f.txt | `"text" \ | save --append f.txt` | ||
| Parse CSV | complex | open data.csv (auto-detects) | |||
| Parse JSON | jq | open data.json (auto-detects) | |||
| Count lines | wc -l | length | |||
| Search in files | grep -r pattern dir/ | rg (via ^rg) or `ls **/*.rs \ | where (open $in.name \ | str contains "TODO")` | |
| Replace in strings | sed 's/a/b/g' | str replace --all 'a' 'b' | |||
| Parse date | date -d "..." | `"2024-01-01" \ | into datetime` | ||
| Get help | man cmd | help cmd or `help commands \ | find substring` |
Pipelines
Tables and Data
Strings
Lists
Custom Commands (Functions)
Modules
External Commands
Control Flow
Common Patterns
Key Gotchas
- No `&&` or `||`: use
;,and,or - No `$VAR` for env vars: use
$env.VAR - No `grep`/`sed`/`awk`: use
where,str replace,each - `ls` returns a table, not text: filter with
where, notgrep - `open` is for reading files: use
open file.txtnotcat file.txt - Closures can't capture `mut` variables: use immutable
letinside closures - External commands need `^` prefix:
^gitnot justgit - No `$(cmd)` substitution: use
(cmd)directly in expressions - No backtick command substitution: use
(cmd) - No `fi`/`done`/`esac`: just
{ }blocks - `rm` is safer: no
rm -rfneeded, justrm -r - `$in` refers to pipeline input: very useful for chaining
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpackages/monopi__skills/skills/nushell/SKILL.md
Popularity
- Repository stars
- 157
- Repository forks
- 20
- 7-day trend score
- 25
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ifiokjr/monopi/nushell)