OpenParable
Skip to content
← Back to skills

Nushell

Development
nushell

Nushell is an Agent Skill for development published in the carapace-sh/carapace repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Use when working with nushell shell internals — completion system, external completers, custom completions, Reedline, completion menus, spans, quoting, SyntaxShape, externs, $env.config, modules, or nushell's type system. Triggers on: "nushell", "nu shell", "nushell completion", "nushell completer", "nushell spans", "nushell extern", "nushell custom completion", "Reedline", "nushell menu", "nushell quoting", "nushell SyntaxShape", "nushell config", "nushell module", "nushell type", "nushell style", "nushell startup", "nushell pipeline", "NuCompleter", "nushell external completer", "nushell alias completion".

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/carapace-sh/carapace/blob/HEAD/skills/nushell/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/nushell, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Nushell Shell In-Depth Reference

Comprehensive reference for nushell shell internals, with emphasis on the completion system and how external tools hook into it.

Sub-Resources

Load the reference that matches your task. When in doubt, load multiple references.

KeywordsReference
NuCompleter, completer closure, spans, external completer, custom completion, @ syntax, completion algorithm, fuzzy, prefix, substring, NuMatcher, SemanticSuggestion, Suggestion struct, append_whitespace, completion_options, CommandCompletion, FileCompletion, FlagCompletion, CustomCompletion, CommandWideCompletion, context-aware completion, completion fallback, null fallback, carapace completer, fish completer, alias workaround, CARAPACE_LENIENT, max_resultsreferences/completion.md
Reedline, Completer trait, Suggestion, Span, menu system, ColumnarMenu, ListMenu, DescriptionMenu, IdeMenu, menu layout, menu marker, menu style, menu keybindings, menu event, menu source, menu record, partial_complete, replace_in_buffer, MenuEvent, traversal direction, page_size, selection_rows, description_rows, only_buffer_differencereferences/reedline.md
quoting, single quotes, double quotes, raw string, backtick, bare word, string interpolation, $'...', $"...", escape sequence, metacharacters, tilde expansion, path quoting, shlex, open quote, Patchreferences/quoting.md
SyntaxShape, Type, Value, type system, CompleterWrapper, shape_filepath, shape_string, shape_flag, shape_internalcall, shape_external, type annotation, input/output types, subtyping, cell-path, record type, list type, table type, @ syntax, type-driven completionreferences/types.md
extern, export extern, extern signature, flag completion, argument completion, subcommand completion, module-based extern, completion function, def completer, rest parameter, optional parameter, quoted command string, caret sigil, externs and modulesreferences/externs.md
$env.config, completions, external completer, completion algorithm, sort, case_sensitive, max_results, env.nu, config.nu, login.nu, autoload, NU_LIB_DIRS, startup order, XDG, default_config.nu, default_env.nu, vendor-autoload, user-autoload, config nu, config envreferences/configuration.md
style, color, attr, fg, bg, color_config, shape_*, hex color, named color, abbreviation, light variant, background color, LS_COLORS, nu_ansi_term, style record, completion style, menu style, selected_text, description_textreferences/style.md
pipeline, PipelineData, execution model, two-stage, parse, evaluate, external command, caret sigil, ExternalStream, ListStream, $in, input/output types, structured data, command search, module system, use, hide, export, submodulereferences/execution.md

Quick Guide

Cross-Project References

For carapace-specific nushell integration (snippet, patch phase, value formatting, style conversion), see the carapace-dev skill → references/shell-nushell.md.