/coconut:coconutfrom coconut
Write, read, debug, and verify code in Coconut, the functional superset of Python that compiles to Python (.coco files). Includes guidance on strict mode, pure mode, and using the Coconut language server and MCP tools.
Ships in coconut. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Before writing or changing Coconut code, run coconut --ai-docs and read its output: it's Coconut's own guide to writing idiomatic Coconut, kept up to date with the installed version (online at https://coconut.readthedocs.io/en/latest/llms.txt). Follow it, including its "Style standard" and "Common pitfalls" sections.
Write code that passes --strict, in the functional style the guide describes. --pure (no reassignment or mutation) is optional: hold code to it when the project enables it (e.g. pure = true under [tool.coconut] in pyproject.toml) or the user asks. Fix what these checks report by restructuring the code, not by adding # NOQA.
To check your work:
--strict style warnings, after each edit to a .coco file.coconut_check MCP tool with strict set, or run python -m coconut.lsp check --strict <files or dirs>, to check files or a whole project (add pure/--pure if the project uses it, and mypy/--mypy to type check).coconut_compile (or python -m coconut.lsp compile <file>) to see the Python a construct compiles to, and coconut_docs (or python -m coconut.lsp docs <name>) to look up a built-in, keyword, or operator such as fmap, match, or |>..coco source files, never the .py files compiled from them.What SKILL.md sets; muted values are Claude Code's defaults
Use when creating or editing .coco/.coc/.coconut files, when a project uses the Coconut compiler, or when asked about Coconut syntax.
Three short reads, in order
npx claudepluginhub evhub/coconut --plugin coconutOther plugins' skills for the same job