mods

Use AI models from the command line with piped input and output

brewmacoslinux
Try with needOr install directly
Source

About

AI on the command-line

Commands

mods

Examples

Ask Claude to explain a code snippet$ echo 'def hello(): print("world")' | mods 'explain this python code'
Generate a git commit message from staged changes$ git diff --cached | mods 'write a concise commit message'
Refactor text with specific instructions$ mods -m gpt-4 'make this more concise' < input.txt