AiFormat is a powerful command-line interface (CLI) tool designed to simplify the process of sharing code with AI assistants. With AiFormat, you can effortlessly select files, auto-format them for AI assistants like Claude, and easily copy the formatted output to your clipboard. This tool is especially useful when working with Anthropic’s Claude.

The main feature of AiFormat is its interactive file selection process, which allows you to choose the specific files you want to format. Once selected, AiFormat automatically applies the necessary formatting to make the code compatible with AI assistants. This eliminates the need for manual copying and pasting, saving you time and effort.

To get started with AiFormat, you need to install Node.js on your system. After installation, run the following command to install AiFormat globally:

```bash $ npm install –global aiformat