Quick reference
| Command | Description |
|---|---|
helixcommit generate | Generate release notes from Git history |
helixcommit generate-commit | Generate commit messages using AI |
helixcommit preview | Preview changelog in a beautifully formatted panel |
helixcommit browse | Browse commits interactively with detailed views |
helixcommit search | Search commits by keyword, author, or type |
helixcommit --version | Display installed version |
helixcommit --help | Show help information |
Commands
generate
Generate release notes from Git commit history.generate-commit
Generate a commit message from staged changes using AI.git diff --staged), generates a commit message using an AI model, and enters an interactive loop where you can review, refine, or commit the message.
Interactive commands:
c(commit): Commits the changes with the generated messager(reply): Chat with the AI to refine the messageq(quit): Abort the operation
The AI provider to use (
openai or openrouter).The OpenRouter model ID. Defaults to a free model.
The OpenAI model ID.
Skip the confirmation prompt (not recommended for interactive use).
Show or hide the staged diff preview before generating.
preview
Preview changelog in a beautifully formatted terminal panel.Preview commits after this tag.
Preview commits up to this tag.
Show HEAD vs latest tag.
Limit the number of commits to preview.
Exclude merge commits from the preview.
browse
Browse commits interactively with detailed views.Navigation commands:
n(next): Go to next commitp(prev): Go to previous commitd(diff): Show diff for current commitq(quit): Exit browser
Browse commits after this tag.
Browse commits up to this tag.
Show HEAD vs latest tag.
Maximum commits to load.
Exclude merge commits.
Show commit bodies in the detail view.
search
Search commits by keyword, author, or type.Search query (searches subject, author, body). Supports regex patterns.
Filter by author name or email (regex pattern).
Filter by commit type (feat, fix, docs, etc.).
Search commits after this tag.
Search commits up to this tag.
Maximum results to show.
Enable case-sensitive search.
Global Options
Color theme for terminal output.Options:
dark, light, autoRepository & Range Options
Path to the Git repository to analyze.
Start generating notes from commits after this tag.
Generate notes up to and including this tag.
Start from this Git ref, commit SHA, or date expression.
Generate notes up to this Git ref or commit SHA.
Generate notes for commits between the latest tag and HEAD.
This is equivalent to using
--since-tag <latest-tag> --until HEADFilter commits to only include those after this date. Supports ISO 8601 dates and relative expressions.Supported formats:
- ISO 8601:
2024-01-15,2024-01-15T10:30:00 - Relative:
2 weeks ago,3 days ago,1 month ago - Keywords:
yesterday,today
Filter commits to only include those before this date. Supports the same date formats as
--since-date.When using both
--since-date and --until-date, commits within the specified date range (exclusive of since, inclusive of until) are included.Output Options
Output format for the generated release notes.Options:
markdown, html, text, json, yamlWrite output to the specified file instead of stdout.
The directory will be created automatically if it doesn’t exist.
Filtering Options
Show or hide commit scopes in the output.With scopes:Without scopes:
Skip GitHub API lookups for pull request information.
Exclude merge commits from the generated release notes.
Merge commits often duplicate information from their constituent commits, so excluding them can make release notes cleaner.
Limit the number of commits to process.Useful for testing or when you only want recent changes.
Exit with status code 1 when no commits are found.
Useful in CI/CD pipelines to detect when there are no changes to release.
Advanced Filtering
Only include commits of the specified types. Accepts space-separated values.Supported types:
feat, fix, docs, style, refactor, perf, test, build, ci, chore, revertFor non-conventional commits, the type is inferred using heuristics based on commit message content.
Exclude commits with the specified scopes. Accepts space-separated values.
Filter commits by author name or email using a regex pattern.
The regex is matched case-insensitively against both the author name and email.
AI & LLM Options
Enable AI-powered summarization for release notes.
AI provider to use for summarization.Options:
openai, openrouterOpenAI model to use for summarization.
| Model | Speed | Quality | Cost |
|---|---|---|---|
gpt-4o-mini | Fast | Excellent | Low |
gpt-4o | Moderate | Outstanding | High |
gpt-3.5-turbo | Very fast | Good | Very low |
OpenAI API key (can also be set via
OPENAI_API_KEY environment variable).OpenRouter model to use for summarization.
The default OpenRouter model is
x-ai/grok-4.1-fast:free. See openrouter.ai/docs for the latest available models.OpenRouter API key (can also be set via
OPENROUTER_API_KEY environment variable).Domain scope for the AI system prompt to constrain tone and terminology.Examples:
"software release notes", "conservation", "healthcare", "finance"Add expert roles for multi-expert prompting (can be specified multiple times).Default roles: Product Manager, Tech Lead, QA Engineer
RAG (Retrieval Augmented Generation) backend to use.Options:
simple, chromaPath to cache file for AI-generated summaries.Default:
.helixcommit-cache/summaries.jsonCaching reduces API costs by reusing previously generated summaries for unchanged commits.
Git Platform Options
GitHub
GitHub personal access token for API requests.Required permissions:
- Public repositories: No special permissions needed
- Private repositories:
reposcope
GitLab
GitLab personal access token for API requests.Required permissions:
read_apiscope for API accessread_repositoryscope for private projects
Bitbucket
Bitbucket App Password for API requests.Required permissions:
- Repositories: Read
- Pull requests: Read
Environment Variables
GitHub personal access token for API authentication.Improves rate limits and enables access to private repositories.
OpenAI API key for AI summarization.Required when using
--use-llm with the OpenAI provider.OpenRouter API key for AI summarization.Required when using
--use-llm --llm-provider openrouter.GitLab personal access token for API authentication.Enables access to private GitLab projects and improves rate limits.
Bitbucket App Password for API authentication.Enables access to private Bitbucket repositories and improves rate limits.
GitHub Client Configuration
| Variable | Default | Description |
|---|---|---|
HELIXCOMMIT_GH_MAX_RETRIES | 3 | Maximum number of GitHub API retry attempts |
HELIXCOMMIT_GH_BACKOFF_BASE_SEC | 0.5 | Base delay in seconds for exponential backoff |
HELIXCOMMIT_GH_BACKOFF_CAP_SEC | 8 | Maximum backoff delay in seconds |
HELIXCOMMIT_GH_CACHE | false | Enable on-disk caching for GitHub API responses |
HELIXCOMMIT_GH_CACHE_DIR | .helixcommit-cache/github | Directory for GitHub API cache files |
HELIXCOMMIT_GH_CACHE_TTL_MINUTES | 10 | Cache time-to-live in minutes |
Common Usage Patterns
Generate notes for CI/CD release
Generate notes for CI/CD release
Preview unreleased changes with AI
Preview unreleased changes with AI
Generate HTML changelog for website
Generate HTML changelog for website
Quick offline generation
Quick offline generation
Exit Codes
| Code | Meaning |
|---|---|
0 | Success - release notes generated successfully |
1 | Error - no commits found (when --fail-on-empty is used), or other error occurred |
2 | Usage error - invalid arguments or options |
Getting help
Display help information for the CLI:Next steps
Configuration guide
Learn about configuration options and customization
AI features
Explore AI-powered summarization capabilities
Examples
See real-world usage examples and patterns
Python API
Use HelixCommit programmatically in Python