2025-03-14 21:59:59 -06:00
# mods
> AI for the command-line, built for pipelines.
2026-02-18 06:55:01 -07:00
> More information: <https://github.com/charmbracelet/mods#usage>.
2025-03-14 21:59:59 -06:00
- Ask a generic question:
`mods "{{write me a poem about platypuses}}"`
- Open settings in your `$EDITOR` :
`mods --settings`
- Ask for comments on your code, in markdown format:
2026-02-18 06:55:01 -07:00
`mods < {{path/to/file}} {{[-f|--format]}} "{{what are your thoughts on improving this code?}}"`
2025-03-14 21:59:59 -06:00
- Ask for help with your documentation, in markdown format:
2026-02-18 06:55:01 -07:00
`mods < {{README.md}} {{[-f|--format]}} "{{write a new section to this readme for a feature that sends you a free rabbit if you hit r}}"`
2025-03-14 21:59:59 -06:00
- Organize your videos, in markdown format:
2026-02-18 06:55:01 -07:00
`ls {{path/to/videos}} | mods {{[-f|--format]}} "{{organize these by decade and summarize}}"`
2025-03-14 21:59:59 -06:00
- Read through raw HTML and summarize the contents, in markdown format:
2026-02-18 06:55:01 -07:00
`curl "{{https://api.open-meteo.com/v1/forecast?latitude=29.00&longitude=-90.00¤t_weather=true&hourly=temperature_2m,relativehumidity_2m,windspeed_10m}}" | mods {{[-f|--format]}} "{{summarize this weather data for a human}}"`
2025-03-14 21:59:59 -06:00
- Display help:
`mods --help`