Turn a plain English task into a working bash command, with a clear breakdown of every flag and pipe, expected output, and safety warnings before anything that deletes or overwrites files.
Describe the task, such as finding large files, renaming photos in bulk or counting lines in logs. Mention your operating system and shell if it is not bash on Linux. Choose a length and send. You get the command itself, a part-by-part explanation, a sample of the output, warnings for risky steps with a safe preview version, and an alternative approach when one would be simpler.
Be specific about paths, file types and what should happen to the results. Run the preview version first, especially for rm, mv, chmod or find with -delete. Paste any error message back into the tool for a fix. On macOS, mention it, because tools like sed and date take different flags. Save commands you use often as aliases or small scripts once you trust them.
Does it work for macOS and PowerShell?
Yes. It defaults to bash on Linux, but tell it you use macOS, zsh or Windows PowerShell and it will adjust the syntax and point out tools that behave differently.
Is it safe to run the commands directly?
Read the explanation first. Commands that delete, overwrite or need sudo are flagged with a preview version, and testing on a copy of your data is always the safer route.
Can it write full shell scripts?
It can. Ask for a script and it adds a shebang line, comments, safe variable quoting and basic error handling, along with instructions for making the file executable.