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 hereData 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 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.
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.
Workflows where Run a script is one step in a larger chain.
Search past conversations for relevant context, then run a script or query DynamoDB based on what you find.
Run a script or query that watches for a condition, then send yourself an SMS when it fires.