carapace

star 1.9k

Use when working with carapace shell completion — integrating into CLIs, writing YAML specs, creating custom actions, looking up macros, setting up shell completion, configuring choices/bridges, using the MCP server, or adding man page documentation.

carapace-sh By carapace-sh schedule Updated 6/6/2026

name: carapace description: > Use when working with carapace shell completion — integrating into CLIs, writing YAML specs, creating custom actions, looking up macros, setting up shell completion, configuring choices/bridges, using the MCP server, or adding man page documentation. user-invocable: true

Carapace Usage Reference

Reference for using carapace shell completion — integrating into CLIs, writing specs, creating actions, and configuring completions.

Sub-Resources

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
Custom actions, ActionValues, ActionCallback, ActionExecCommand, modifiers, naming, caching, batch, MultiParts, UID, tags references/action.md
YAML spec, user spec, flags, subcommands, parsing modes, completion, macros, modifiers, runnable specs references/spec.md
Macro format, MacroN, MacroI, MacroV, $files, macro signatures, modifier chaining references/macro.md
Choices, variants, bridges, CARAPACE_BRIDGES, --choice, --list, group priority references/choice.md
Setup, shell integration, environment variables, overlays, extensions, install references/setup.md
Environment variable completion, env YAML, conditions, ActionNames, ActionValues references/env.md
Convert spec to Go, codegen, macro-to-Go mapping, modifier translation references/convert.md
Scrape spec, generate from source, Docker, supported frameworks, patch-and-container references/scrape.md
MCP server, complete tool, list_macros tool, codegen tool, JSON-RPC, stdio transport references/mcp.md
Man pages, carapace-man, UID documentation, YAML man pages, inline descriptions, scheme, host, path references/man.md

Quick Guide

Cross-Project References

For internal library development (Action API internals, traverse engine, shell formatters, style system), use the carapace-dev skill (in the carapace repo).

Install via CLI
npx skills add https://github.com/carapace-sh/carapace-bin --skill carapace
Repository Details
star Stars 1,859
call_split Forks 127
navigation Branch main
article Path SKILL.md
More from Creator