Tools & Automation

Bash and Code

Run any shell command. Execute any script. Like a developer with a real terminal.

MoClaw can run bash commands and execute Python, Node, Go, Rust, anything you have installed on your AI Cloud Computer. Useful for one-off scripts, batch jobs, file conversions, deployments, or just asking the AI to figure out why this command is hanging.

How it works

3 steps to wire up Bash and Code, no engineering required.

  1. 1

    Ask in plain English

    'Convert all PNGs in this folder to WebP', 'rename these files by their EXIF date', 'check why this server is slow'. MoClaw decides which command to run.

  2. 2

    Watch the output stream

    stdout and stderr stream into the chat in real time. Long-running commands show progress; you can interrupt with a stop button.

  3. 3

    It can fix its own mistakes

    If a command fails — wrong flag, missing dependency, permission denied — the model reads the error and tries again, usually within one or two retries.

Try saying

Real prompts you can paste into Bash and Code.

  • Convert all PNGs in ~/screenshots to WebP at 80% quality, then move the originals to ~/archive.
  • ssh into prod-1, tail the nginx access log for 30 seconds, and tell me what the top 5 source IPs are.
  • Write and run a benchmark comparing pandas read_csv vs pyarrow on this 500MB file.

Step by step demo

What actually happens when you send the prompt.

Prompt 01 4 steps

“Why is my Postgres query slow? Connection string is in ~/.pg-creds.”

What MoClaw does

  1. 1 Reads ~/.pg-creds (asks for confirmation first since it contains credentials).
  2. 2 Connects with psql and runs EXPLAIN ANALYZE on the query you flagged.
  3. 3 Spots a sequential scan over 4M rows where an index on (user_id, created_at) would help.
  4. 4 Generates the CREATE INDEX statement and a rollback statement, ready to paste.
Result

Replies: 'Found it — the planner is doing a sequential scan because there's no index on (user_id, created_at). Adding the composite index drops the cost from 84,000 to 12. Here's the CREATE INDEX statement and a rollback if you need it.' You apply it; the next query runs in 14ms.

FAQ

Quick answers about pricing, privacy, and limits.

Where do the commands actually run?
On your AI Cloud Computer, a Linux sandbox tied to your account. Not on your local laptop, and not on shared infra — your own isolated VM.
Can it run dangerous commands?
MoClaw asks for confirmation on anything destructive (rm -rf, force-push, dropping tables) and on anything that touches credentials. You can grant standing approval for specific tools in Settings then Permissions.
Can I run my own scripts?
Yes. Upload a script to ~/scripts and ask MoClaw to run it. It understands script arguments and reads the script's source to know what it expects.
Does this work with my own SSH keys to other servers?
Yes. Add a private key to ~/.ssh on your cloud computer and reference it in your prompt. Keys never leave your sandbox.

Try MoClaw free.

1,000 credits a month, or bring your own key for unlimited usage.

Cancel anytime