Data & Code

Run a script

Execute shell commands.

What it does

Run a script is part of the Data & Code category in the Workhog agent. When you pick it, your next chat message is wrapped so the agent uses this tool to run your command — no more guessing whether the agent will pick the right tool.

Prompt seed

Run this script: …your request here

How to use it

  1. 1Click Use this tool above. You'll land in the Workhog chat with the prompt seed already typed.
  2. 2Finish the sentence — describe what you want, attach files if needed, then send.
  3. 3The agent runs Run a script and streams the result back.

Data and scripts in your workspace

Data tools let the agent query your DynamoDB tables and run shell scripts. Query results and script output can be written to your workspace as structured files — CSVs, JSON, markdown reports — ready for the agent or your apps to consume.

The agent runs code and queries

The agent executes shell commands and streams output back to your chat. It can run data processing scripts, install dependencies, transform files, or automate any command-line workflow. Script output can be captured and saved to your workspace.

Audit trails and repeatable queries

Query results and script outputs saved to your workspace form an audit trail. The agent can re-run a query and diff against last time, or reference a saved dataset in a future conversation. Scripts you save become reusable — the agent can run them again without you re-typing the instructions.

Pairs well with

Workflows where Run a script is one step in a larger chain.

Recall context, then act

Search past conversations for relevant context, then run a script or query DynamoDB based on what you find.

Alert yourself when something matches

Run a script or query that watches for a condition, then send yourself an SMS when it fires.

More Data & Code tools

See all

You might also like

Run a script — Workhog Tools