intu is an AI-powered command-line tool that leverages language models to assist with various tasks, including file content analysis and generating git commit messages.
- Process input with AI using custom prompts
- Concatenate and display file contents with optional filters
- Generate git commit messages based on diffs
- Support for multiple AI providers (OpenAI and Claude)
- Extensible filter system for text processing
ai
: Process input with AI using a custom promptcat
: Concatenate and display file contents with optional filterscommit
: Generate a git commit message based on the provided diff
[Add installation instructions here]
intu [command] [flags]
For detailed usage of each command, use the --help
flag:
intu [command] --help
intu uses a configuration file located at $HOME/.intu.yaml
. You can specify a different config file using the --config
flag.
intu supports the following AI providers:
- OpenAI (default)
- Claude
Set the OPENAI_API_KEY
or CLAUDE_API_KEY
environment variable to use the respective provider.
intu includes the following filters:
- Go AST Compressor: Compresses Go source code
- TF-IDF: Filters text based on term frequency-inverse document frequency
Run the tests using:
go test ./...