autocmd
Natural language to shell command.
Installation
uv tool install autocmd-cli
Quick start
First run triggers setup for shell integration and LLM provider:
autocmd "check git status"
After setup, commands appear on your prompt ready to edit:
autocmd "git fetch all updates from remote"
# → git fetch --all
autocmd "show git log for last 5 commits"
autocmd "find all python files modified today"
autocmd "kill process on port 3000"
Multiline prompts
Use triple quotes for multiline prompts or prompts with quotes:
autocmd '"""find all log files
that contain "ERROR"
modified in the last hour"""'
autocmd '"""search for files with 'important' in the name"""'
Providers
Supports multiple LLM providers:
- Anthropic (Claude) - default
- OpenAI (GPT)
- Groq (Llama)
- Grok (xAI)
- Deepseek
- Openrouter
Configure via autocmd --settings or environment variables:
export AUTOCMD_PROVIDER=groq
export GROQ_API_KEY=your_key_here
export AUTOCMD_MODEL=llama-3.3-70b-versatile # optional
Configuration
autocmd --settings # Configure provider, API key, model, and streaming
autocmd --reset # Reset all configuration
Development
git clone https://github.com/dvirzg/autocmd.git
cd autocmd
./dev-setup.sh
source ~/.zshrc # or ~/.bashrc
# Always uses the local code
autocmd-dev "check git status"
Uninstall
uv tool uninstall autocmd
Then remove the autocmd line from your shell config if you want to fully clean it up.
Metadata
Release files for autocmd-cli 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| autocmd_cli-0.2.2.tar.gz | 459.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| autocmd_cli-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 469.0 kB
Release files / autocmd_cli-0.2.2.tar.gz
| Download URL | autocmd_cli-0.2.2.tar.gz |
|---|---|
| Size | 459.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
abba2ed3b7fdaa987b5d97100599f6beaeebbb1432cb3e0bfbb5d501f01d26c9
|
|
BLAKE2b-256 checksum How to use checksums |
9b6d5e3000a5a7095ba3b1b15938ece5050c5fc343c7cdca801760f0548bbf6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 13, 2025.
Transparency logRelease files / autocmd_cli-0.2.2-py3-none-any.whl
| Download URL | autocmd_cli-0.2.2-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9e32297c05a25316ed4e5f1dc0da40f3491ce65ba81a169d6946d32157129e9a
|
|
BLAKE2b-256 checksum How to use checksums |
a64883bd70a2e6b5c0c7d5e8e5a24b8366c6aa34a27fd890f4e68ef3864c0d49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 13, 2025.
Transparency log