Install
openclaw skills install gitai-skillBoost developer productivity with Gitai: An AI-powered Git automation tool that analyzes code changes and generates semantic Conventional Commits instantly. Supports Node.js, Python, Java, Go, PHP, and more. Compatible with OpenAI, Anthropic, and Groq.
openclaw skills install gitai-skillTransform your development workflow with intelligent, automated commit management.
Gitai analyzes your code changes to generate precise, descriptive commit messages following the Conventional Commits standard. It eliminates the friction of writing commit messages, ensuring a clean, semantic, and professional git history automatically.
Key capabilities:
This skill requires the @notyped/gitai CLI tool to be installed and configured on the system BEFORE the agent can operate.
The AGENT MUST NOT attempt to install this package or configure it.
CHECK if gitai is available:
command -v gitai
IF MISSING, STOP immediately and inform the user:
"The
gitaiCLI tool is not installed. Please install it globally (e.g.,npm install -g @notyped/gitai) and configure it before using this skill."
CHECK if ~/.gitai exists.
IF MISSING, STOP immediately and inform the user:
"The
gitaitool is installed but not configured. Please rungitaiin your terminal to complete the setup."
ONLY PROCEED if both checks pass.
Based on gitai --help:
gitai [options] [projectPath] [baseMessage]
Arguments:
projectPath: The path to the project (default: ".").baseMessage: The base commit message (Optional).Options:
-p, --push: Whether to push after committing (default: false).-V, --version: Output the version number.-h, --help: Display help for command.| Command | Action Description |
|---|---|
gitai . '' | Analyzes current folder, Generates message and commits |
gitai . '' --push | Analyzes current folder, Generates message, commits, AND pushes to remote |
gitai ./frontend 'ui update' | Analyzes only the ./frontend directory, Generates message and commits |
Check which version of Gitai is currently active:
gitai --version
gitai hangs waiting for input, it means ~/.gitai is missing or invalid. create the file manually as described in Step 2.node -v).API_KEY in ~/.gitai.MIT