codity clismith

Convert natural language into shell commands. Describe what you want to do, and Codity generates the right command — with safety ratings and explanations.

Usage

codity clismith "<query>" [flags]

Flags

FlagDescription
--dry-runShow the generated command without offering to run it

Examples

codity clismith "how to stop all docker containers"
codity clismith "find large files over 100MB"
codity clismith "list all open ports" --dry-run

Output

For each query, Codity returns:

  • Generated command — The shell command to run
  • Severity — Safety rating: safe, moderate, or dangerous
  • Explanation — What the command does
  • Alternatives — Other approaches you could take

Safety Ratings

Commands are rated by risk level and require different levels of confirmation:

SeverityConfirmation Required
SafeNone — runs immediately if selected
ModerateRequires y or yes
DangerousRequires explicit yes (not just y)

Interactive Menu

After generating a command, you are presented with options:

  • (C)opy — Copy the command to your clipboard
  • (R)un — Execute the command (with confirmation if needed)
  • (Q)uit — Exit without action