/nushell:nushellfrom Nushell
Writing, debugging or configuring Nushell (`nu`): scripts, modules, plugins, completions, `$env.config`, hooks, keybindings, stdlib, `nu --mcp`; bash to Nu; parse-time vs run-time errors. And Nustro, the distro, as the shell.
Ships in Nushell. 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.
Read when SKILL.md points to them.
Nushell is a structured-data shell with a statically-parsed, typed language. It is not POSIX. Almost every mistake made by someone fluent in bash comes from assuming otherwise.
Verified against Nushell 0.115.1; what 0.116 and 0.117 changed since is in
the references where it applies, and the 0.117 breaks are listed in
references/gotchas.md § Version drift (checked on 0.117.0, 2026-11-27).
Nushell makes breaking changes at minor versions — read that section before
trusting any snippet found online.
help <command>, config nu --doc, and scope commands are ground
truth. Signatures shown by help include the input/output type table, which
is usually the fastest way to resolve an error.nustro status names it as distro), and the
user's config directory beside it ($nu.config-path | path dirname)
holds only what the user owns. See references/this-setup.md.references/gotchas.md § Parse time covers it.awk,
sed, cut, or grep | tr, there is nearly always a native pipeline that
keeps the data structured. Text-munging is the bash reflex to unlearn.nu -n -c '<code>' runs in
isolation with no user config. Being able to run the code is the whole point
of having the shell installed.nu MCP server when one is configured, not through a
text shell. Results stay structured and stay addressable by
history_index, so a big result is re-sliced rather than re-run — which is
why capping output inside a first-run pipeline is the wrong reflex there.
See references/mcp.md.help <cmd> # signature + input/output types + examples
help commands | where category == filters
help operators # every operator, with precedence
config nu --doc # every $env.config key, documented inline
$nu # all derived paths and runtime facts
scope commands # everything in scope, incl. modules and plugins
$env.config | table -e # current settings, expanded
Three orthogonal ideas carry most of the language:
ls returns a table, not text.
describe tells you what you have; into <type> converts.$in.
Externals are the boundary where values become strings.use, source, const, overlay use, and
plugin use are resolved before any code runs.Read the one that matches the task; they are self-contained.
| File | Covers |
|---|---|
references/language.md | Types, operators, variables, closures, control flow, custom commands, error handling, scripts |
references/data.md | Tables/records/lists, cell-paths, filters, strings, parse, format conversion, the bash→Nu translation table |
references/config.md | Startup sequence, $env.config key-by-key, environment variables, hooks |
references/modules.md | Modules, submodules, export-env, overlays, NU_LIB_DIRS |
references/plugins.md | Installing, registering, the registry, GC, writing plugins |
references/completions.md | Custom completers, extern, external completers (carapace), completion options |
references/interface.md | Themes, color_config, shapes, Reedline menus and keybindings, prompts |
references/stdlib.md | std submodules and correct import forms |
references/gotchas.md | Parse time, common errors, performance, version drift |
references/this-setup.md | Nustro, when it is the shell: the distro/user split, the rules, the commands it adds, how to verify a change |
references/mcp.md | The built-in MCP server: the three tools, $history, session state, background jobs |
references/ecosystem.md | nu_scripts, awesome-nu, nupm, notable plugins |
Run something without the user's config: nu -n -c '...'
Time startup: nu -c '$nu.startup-time'
Convert a value: $x | into int, | into datetime, | into filesize
Inspect mid-pipeline: ... | inspect | ...
Call an external explicitly: ^git (bypasses any Nu command of that name)
Call a shadowed built-in: %ls
Capture an external fully: ^cmd | complete → {stdout, stderr, exit_code}
Escape a value into a string: $x | to nuon
Re-slice a prior MCP result: $history.<index> — the index from that response
references/completions.md (opens in a new tab)references/config.md (opens in a new tab)references/data.md (opens in a new tab)references/ecosystem.md (opens in a new tab)references/gotchas.md (opens in a new tab)references/interface.md (opens in a new tab)references/language.md (opens in a new tab)references/mcp.md (opens in a new tab)references/modules.md (opens in a new tab)references/plugins.md (opens in a new tab)references/stdlib.md (opens in a new tab)references/this-setup.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub alfoldimate/nustro --plugin nushell