Tools

AI shell command generator

Describe the task, get a bash, zsh, fish, PowerShell or cmd one-liner, with warnings on destructive ones.

Your key, or hosted with creditsAI assistants12.3K
Get a key

Your key stays in your browser.It goes straight to the provider, never to our servers, and we neither log nor keep it. Use a dedicated key with a spending cap, and delete it in the provider's dashboard when you are done.

Input

Result

The result will appear here.

You know what you want — "gzip logs older than a day, delete archives older than a month" — but not the exact find flags, or the PowerShell equivalent. Describe it, pick the operating system and shell, and get a command that runs as-is. The prompt is adapted from TheR1D/shell_gpt, the 12k-star terminal assistant, and adds what a web tool needs: platform awareness (GNU versus BSD sed and date on macOS), properly quoted paths, and a WARNING line on anything that deletes, overwrites or force-pushes.

How it works

  • Operating system and shell are separate choices, because bash on macOS and bash on Linux need different flags for sed -i, date and stat.
  • Commands that can lose data start with a WARNING comment saying what is at risk and how to preview first, such as dropping -delete or adding -WhatIf.
  • Turn on explanations to get a comment line above each command; comments are written in the language you described the task in.

Where your data goes

With your own key, what you type and the key go from your browser straight to the provider you choose; neither passes through Hysen Labs. In hosted mode, your text goes through our server to our provider (DeepSeek) and is billed in credits; we keep the token counts and cost of each run for billing, never the text itself or the answer. How the provider handles the text is governed by its own privacy policy.

This tool handles keys and credentials, so nothing about a run is saved, not even to your own history.

About your API key

We do not collect, store or leak your key: it lives only in this page's memory (unless you tick “remember in this tab”) and is gone when you close it. Still, treat any key you have pasted into a web page with care — create a dedicated key with a spending cap for use here, and delete or rotate it in your provider's dashboard when you are done.

What it costs

This tool is free, with no sign-in and no points.

Common questions

Should I run the command straight away?
Not without reading it, and never as root on the first try. Run the preview form first — find without -delete, rsync with --dry-run, PowerShell with -WhatIf — and check the file list before you let it change anything.
Does the tool see my machine?
No. It knows only the text you type and the two choices above it; it cannot see your files, paths or installed tools. The description travels from your browser to your AI provider, with your own key — create one with a small monthly limit for this.
Can I describe the task in Chinese?
Yes. Any language works; the command is the same, and the comment lines (warnings, assumptions, explanations) are written in the language you used, except for the WARNING keyword itself, which stays in English so it is easy to spot.

The open-source behind it

This tool's prompt is adapted from TheR1D/shell_gpt (MIT) and runs on the model you choose. To use the same capability from the command line or inside your own program, start with that project.

TheR1D/shell_gpt

Also known as

  • ai shell command generator
  • natural language to bash
  • bash command generator
  • powershell command generator
  • shell gpt online