OpenParable
Skip to content
← Back to skills

Ion

Development
ion

Ion 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 ion shell internals — completion system, Liner library, Completer trait, IonCompleter, IonFileCompleter, MultiCompleter, CursorPosition, quoting/expansion, execution model, startup files, initrc, keybindings, prompt hooks, or ion-plugins. Triggers on: "ion", "ion shell", "ion completion", "IonCompleter", "IonFileCompleter", "MultiCompleter", "Completer trait", "redox_liner", "liner", "initrc", "ion-plugins", "CompletionType", "CursorPosition", "keybindings vi", "keybindings emacs", "fn PROMPT", "^>", "^|", "&>", "&|", "let", "sigil", "$sigil", "@sigil".

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/ion/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/ion, 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.

Ion Shell In-Depth Reference

Comprehensive reference for ion 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
IonCompleter, IonFileCompleter, MultiCompleter, Completer trait, CompletionType, CursorPosition, BeforeComplete event, filename_completion, escape/unescape, command completion, variable completion, file completion, PATH scanning, tab completion, completion cycling, completion display, nospace, carapace ion integration, JSON suggestion formatreferences/completion.md
Liner, redox_liner, Editor, Context, KeyMap, KeyBindings, emacs mode, vi mode, key bindings, Tab, Ctrl+F, autosuggestion, history, Buffer, word divider, get_buffer_words, print_completion_list, complete() method, read_line()references/line-editing.md
ion syntax, variables, arrays, let, sigils, $, @, type system, string methods, array methods, slicing, brace expansion, command substitution, process substitution, quoting, single quotes, double quotes, escape sequences, functions, fn, control flow, if, for, while, matches, test, redirection, ^>, ^, &>, &
execution, subshell, background jobs, fg, bg, jobs, disown, wait, signals, exit status, &&,
initrc, XDG_CONFIG_HOME, startup files, keybindings, set -o, history configuration, HISTFILE, HISTORY_IGNORE, PROMPT function, color namespace, env namespace, aliases, environment variables, ion-pluginsreferences/startup-config.md

Quick Guide

Cross-Project References

For carapace-specific ion integration (snippet, value formatting), see the carapace-dev skill → references/shell.md (ion is listed as a secondary shell).