Clai
AI powered cli suggestion and auto complete. You don't have to remember cli commands & options, this AI tool is here to help you.
Install / Use
npx skills add adityanuar/claiInstalls into whichever agent you are using.
README
Clai 📟
Clai is an open-source CLI tool powered by AI that assists in providing CLI command suggestions using natural language. This tool utilizes open-source models and can be self-hosted, making it highly customizable and privacy-friendly. It is particularly relevant for enterprise environments where the confidentiality of internal tools is paramount. Huge thanks to LLMWare for providing the tools and LLM models, making all this possible.
Preview 📷
More details:
Youtube
Usage 🎚️
Requirements 🛠️
Tested on:
- Golang 1.22.3
- Python 3.10.12
Running 🏃♂️
Server:
The server is used to perform inference for command suggestions from the AI model we utilize.
- It is highly recommended to use a virtual environment in Python. For example:
python -m venv [your-venv-name]. - go to server folder then run:
pip install -r requirements.txt - run server:
fastapi dev main.py - Your server will run on port 8000 by default.
Cmd:
In this folder, there is a client tool which is the core of this program. It can be used by invoking it directly from the shell. Developed using Golang, it is multi-platform and supports cross-compilation.
- go to cmd folder
- make sure your server_url correctly points to your server in config.json file
- make sure you have all dependencies ready:
go mod tidy - build the binary:
go build clai.go - use it:
./clai [your query]
Related Skills
node-connect
385.5kDiagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
blender-python-addon
40.5kBlender Python add-on rules for operators, panels, properties, registration, testing, and API-safe scripting
flutter-development-guidelines-cursorrules-prompt-file
40.5kCursor rules for Flutter development with MVVM architecture, Riverpod state management, Material widgets, and Dart style guidelines.
commit-push-pr
140.6kCommit, push, and open a PR
