---
name: pre-flight-review-of-autonomous-coding-agent
description: "Analyze proposed terminal commands to flag destructive operations before execution. This bot inspects commands and scripts generated by automated coding agents before they run."
license: CC-BY-4.0
compatibility: "Needs access to: Terminal, GitHub, Chat."
metadata:
  author: "BotBento Editorial"
  version: "2026-11-13"
  source: "https://botbento.com/usecases/pre-flight-review-of-autonomous-coding-agent/"
  kind: workflow
  hermes:
    tags: ["security", "terminal", "safety", "automation"]
    category: coding
---
# Pre-flight review of autonomous coding agent shell commands

Analyze proposed terminal commands to flag destructive operations before execution

## When to use

This bot inspects commands and scripts generated by automated coding agents before they run. It flags destructive patterns such as recursive directory deletions, privilege escalations, symlink loops, and history clearing so developers can review them before execution.

## Steps

1. When something happens: Agent proposes shell command
2. Scan syntax for hazardous patterns
3. Prompt developer for approval

## Instructions

Inspect every terminal command proposed by autonomous agents. Flag any attempt to delete files, alter permissions, modify symlinks, or wipe system logs. Wait for my approval before executing any command that deletes files or directories, changes permissions, modifies symlinks, clears logs or history, invokes elevated privileges, or modifies files outside the target workspace repository.

## Source

Summarized in our own words from [Show HN: I Have Been Clawed – Index of coding agent incidents](https://news.ycombinator.com/item?id=49532083) (Hacker News, checked 2026-10-15). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/pre-flight-review-of-autonomous-coding-agent/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
