brew
Use when working with Homebrew (`brew`) — the package manager for macOS and Linux. Covers the…
Use when working with carapace shell completion — integrating into CLIs, writing YAML specs, creating custom actions, building completion-aware lexers for DSLs, looking up macros, setting up shell completion, configuring choices/bridges, using the MCP server, or adding man page
$ npx -y skills add carapace-sh/carapace-bin --skill carapace --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/carapaceContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when working with carapace shell completion — integrating into CLIs, writing YAML specs, creating custom actions, building completion-aware lexers for DSLs, looking up macros, setting up shell completion, configuring choices/bridges, using the MCP server, or adding man page
name: carapace description: > Use when working with carapace shell completion — integrating into CLIs, writing YAML specs, creating custom actions, building completion-aware lexers for DSLs, looking up macros, setting up shell completion, configuring choices/bridges, using the MCP server, or adding man page documentation. user-invocable: true
Reference for using [carapace](https://carapace.sh) shell completion — integrating into CLIs, writing specs, creating actions, and configuring completions.
Load the reference that matches your task. When in doubt, load multiple references.
| Keywords | Reference | |----------|----------| | Integrate carapace, cobra, PreRun, PreInvoke, bridge, standalone mode, flag config, non-POSIX flags | [references/integrate.md](references/integrate.md) | | Custom actions, ActionValues, ActionCallback, ActionExecCommand, modifiers, naming, caching, batch, MultiParts, UID, tags | [references/action.md](references/action.md) | | YAML spec, user spec, flags, subcommands, parsing modes, exclusiveflags, aliases, completion, macros, modifiers, runnable specs | [references/spec.md](references/spec.md) | | Macro format, MacroN, MacroI, MacroV, $files, macro signatures, modifier chaining | [references/macro.md](references/macro.md) | | Choices, variants, bridges, CARAPACE_BRIDGES, --choice, --list, group priority | [references/choice.md](references/choice.md) | | Setup, shell integration, environment variables, overlays, extensions, install | [references/setup.md](references/setup.md) | | Environment variable completion, env YAML, conditions, ActionNames, ActionValues | [references/env.md](references/env.md) | | Convert spec to Go, codegen, macro-to-Go mapping, modifier translation | [references/convert.md](references/convert.md) | | Update existing completer, incremental update, new flags, new subcommands, surgical edits | [references/update.md](references/update.md) | | Scrape spec, generate from source, Docker, supported frameworks, patch-and-container | [references/scrape.md](references/scrape.md) | | MCP server, complete tool, list_macros tool, codegen tool, JSON-RPC, stdio transport | [references/mcp.md](references/mcp.md) | | Man pages, carapace-man, UID documentation, YAML man pages, inline descriptions, scheme, host, path | [references/man.md](references/man.md) | | Lexer, parser, DSL completion, CompletionContext, ParseForCompletion, grammar package, completion-aware parser, argstream | [references/lexer.md](references/lexer.md) |
For internal library development (Action API internals, traverse engine, shell formatters, style system), use the **carapace-dev** skill (in the carapace repo).
Carapace-bin provides argument completion for multiple CLI commands (full list), and works across multiple POSIX and non-POSIX shells. Supported shells: Bash Cmd (experimental) Elvish Fish Ion (experimental) Nushell Oil Powershell Tcsh (experimental) Xonsh Zsh
Repo: carapace-sh/carapace-bin
Use when working with Homebrew (`brew`) — the package manager for macOS and Linux. Covers the…
Use when working with Bubble Tea (charmbracelet/bubbletea) — the Elm Architecture TUI…
Use when working with the bun CLI — Bun's all-in-one JavaScript runtime and toolkit. Covers…
Use when working with the GitButler CLI (`but`) — virtual branches, stacked branches,…
Use when working with the cargo CLI — Rust's package manager. Covers the manifest format…
Use when building CLI applications with spf13/cobra — creating commands, defining flags,…