Carapace Usage Reference

SkillDocs & knowledge

Helps your agent write shell tab-completion for command-line tools, from YAML specs to custom completion actions.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Carapace Usage Reference skill

About this capability

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.

What this skill tells your AI

The instructions your AI receives, as published by carapace-sh/carapace-bin in skills/carapace/SKILL.md and read by ahel’s review.

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.

KeywordsReference
Integrate carapace, cobra, PreRun, PreInvoke, bridge, standalone mode, flag config, non-POSIX flagsreferences/integrate.md
Custom actions, ActionValues, ActionCallback, ActionExecCommand, modifiers, naming, caching, batch, MultiParts, UID, tagsreferences/action.md
YAML spec, user spec, flags, subcommands, parsing modes, completion, macros, modifiers, runnable specsreferences/spec.md
Macro format, MacroN, MacroI, MacroV, $files, macro signatures, modifier chainingreferences/macro.md
Choices, variants, bridges, CARAPACE_BRIDGES, --choice, --list, group priorityreferences/choice.md
Setup, shell integration, environment variables, overlays, extensions, installreferences/setup.md
Environment variable completion, env YAML, conditions, ActionNames, ActionValuesreferences/env.md
Convert spec to Go, codegen, macro-to-Go mapping, modifier translationreferences/convert.md
Update existing completer, incremental update, new flags, new subcommands, surgical editsreferences/update.md
Scrape spec, generate from source, Docker, supported frameworks, patch-and-containerreferences/scrape.md
MCP server, complete tool, list_macros tool, codegen tool, JSON-RPC, stdio transportreferences/mcp.md
Man pages, carapace-man, UID documentation, YAML man pages, inline descriptions, scheme, host, pathreferences/man.md
Lexer, parser, DSL completion, CompletionContext, ParseForCompletion, grammar package, completion-aware parser, argstreamreferences/lexer.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).

Signals

GitHub stars
2k
Forks
145
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
carapace
Source
github.com/carapace-sh/carapace-bin