AI-powered pre-commit hook that reviews every code change for security vulnerabilities, performance issues, and best practice violations. Supports OpenAI, Anthropic, and Ollama.
npm install -g @creowis/creoguard-cliFeatures
A comprehensive CLI tool that integrates seamlessly into your Git workflow, catching issues before they make it past your local machine.
Automatically reviews staged code before every commit. Issues are caught at the source, not in PR reviews.
Choose between OpenAI GPT-4, Anthropic Claude, or run locally with Ollama. Use the model that fits your needs.
Import your organization's coding standards from PDF or Markdown. Get reviews tailored to your team's rules.
No subscriptions or accounts needed. Use your own API keys with direct provider billing. Full control.
Works with GitHub, GitLab, Bitbucket, or any Git repository. No platform lock-in.
Set severity levels for security, performance, best practices, and style. Ignore files with glob patterns.
Prevent commits with critical security vulnerabilities. Configurable blocking rules per severity level.
Clear, colorful reports with line numbers, issue descriptions, and suggested fixes right in your terminal.
How It Works
Get up and running in under a minute. No complex configuration, no CI/CD changes needed.
Set your LLM provider and API key. Choose from OpenAI, Anthropic, or Ollama for local AI.
creoguard config set provider openai creoguard config set apiKey sk-your-key
Run init in your Git repository to set up the pre-commit hook and project configuration.
cd your-project creoguard init
Just commit as usual. CreoGuard automatically reviews your staged changes before the commit goes through.
git add . git commit -m "feat: add login" # CreoGuard reviews automatically
See It In Action
CreoGuard provides clear issue reports with line numbers, severity levels, and suggested fixes — all in your terminal.
Providers
Bring your own API key and use the model you prefer. Switch providers anytime with a single command.
GPT-4o, GPT-4o-mini, and other OpenAI models with industry-leading code understanding.
creoguard config set provider openai creoguard config set apiKey sk-your-key creoguard config set model gpt-4o-mini
Claude Sonnet and Haiku models known for nuanced, thorough code analysis.
creoguard config set provider anthropic creoguard config set apiKey sk-ant-your-key creoguard config set model claude-sonnet-4-20250514
Run AI models locally for free. No API keys needed. Full privacy — your code never leaves your machine.
creoguard config set provider ollama creoguard config set ollamaUrl http://localhost:11434 creoguard config set ollamaModel codellama
Install CreoGuard in under a minute. No sign-up required — just your API key and a Git repository.
npm install -g @creowis/creoguard-cli