# Sh autopilot

> Sh autopilot is an open-source agent skill for security. Runs indra security skills in sequence and records each step in a resumable ledger. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/dmdhrumilmistry/indra/tree/main/plugins/indra/skills/sh-autopilot
- **Repository:** https://github.com/dmdhrumilmistry/indra
- **GitHub stars:** 44
- **License:** MIT
- **Skill name:** sh-autopilot
- **Collection:** https://github.com/dmdhrumilmistry/indra
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-03

## About

Sh-autopilot is a runner that sits on top of the other indra security skills. Given a plain-language security request, or none at all, it chooses one of several named flows, such as a full review, a PR check, a threat model, a fix and retest cycle, or a SOC shift handover, and then executes that flow's steps in order. Each step is confirmed with a command or file test before the run moves on, and progress is kept in a ledger so an interrupted run can be resumed.

The skill is strictly limited to static analysis and reporting. It is written not to deploy detection rules, change anything in a SIEM, take response actions such as blocking or isolating, or push commits. Code changes happen only on a separate branch after the user approves, and they are left uncommitted. Budgets cap how many findings are fixed, rules drafted and skill calls made per run, and a run stops after repeated failures. A final report summarises what was done and what needs a human.

The flows rely on the indra binary for many steps, and some need a configured SIEM source, a git repository or the gh CLI. Without indra, only the review, threat-model, fix, harden and reduced everything flows run, and the purple flow is limited to planning.

## When your agent uses it

> Autopilot for the indra security harness: takes any security request (or none), picks the right flow, and runs the existing skills in order, end to end, checking each step with a command and keeping a ledger so it can resume. Flows: everything (review, attack surface, fix, retest, detection coverage, rules, hardening, memory), review, pr, threat-model, fix, retest, harden, shift, alert, incident, rules, coverage, hunt, purple. Static analysis only; never deploys a rule, never acts on a SIEM, never takes a response action, never pushes. Use when the user says 'do everything', 'run it all', 'autopilot', 'end to end', 'secure this repo', 'full security pass', 'handle this alert', 'start my shift', or makes any security request without naming a skill.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/dmdhrumilmistry/indra/tree/HEAD/plugins/indra/skills/sh-autopilot)
- [Asks for: Read, Write, Edit, Grep, Glob, Bash, Skill, Task…](https://github.com/dmdhrumilmistry/indra/blob/HEAD/plugins/indra/skills/sh-autopilot/SKILL.md)
- [License: MIT](https://github.com/dmdhrumilmistry/indra/tree/HEAD/plugins/indra/skills/sh-autopilot)

## Features

- **Request-based flow selection:** Picks one of several named flows from the wording of the request, or asks which one to run when nothing matches.
- **Ordered skill execution:** Runs the underlying indra skills step by step, checking each one with a command before moving on.
- **Resumable run ledger:** Records every step with its result and evidence so an interrupted run can continue where it stopped.
- **Safety limits and gates:** Enforces static-only analysis, no pushes, no rule deployment and capped counts of fixes, rules and incidents.
- **Final run report:** Writes a report with step results, counts, the diff summary and items needing a human decision.

## Good for

- Run a full security pass on this repository from start to finish
- Review a pull request for security issues before merging
- Build a threat model for this codebase
- Triage a suspicious SIEM alert and draft an incident summary
- Check whether previously found vulnerabilities are still exploitable

## Install

### Claude Code

This skill ships in the `indra` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add dmdhrumilmistry/indra
/plugin install indra@indra
```

Or copy only this skill to `~/.claude/skills/sh-autopilot`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/sh-autopilot &&
cp -R "$tmp/plugins/indra/skills/sh-autopilot" ~/.claude/skills/sh-autopilot &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/sh-autopilot` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/sh-autopilot` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/sh-autopilot &&
cp -R "$tmp/plugins/indra/skills/sh-autopilot" ~/.agents/skills/sh-autopilot &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/sh-autopilot` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/sh-autopilot` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/sh-autopilot &&
cp -R "$tmp/plugins/indra/skills/sh-autopilot" ~/.cursor/skills/sh-autopilot &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/sh-autopilot` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/dmdhrumilmistry/indra.git --path plugins/indra/skills/sh-autopilot
```

Or copy the folder to `~/.gemini/skills/sh-autopilot` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/sh-autopilot`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/sh-autopilot &&
cp -R "$tmp/plugins/indra/skills/sh-autopilot" ~/.copilot/skills/sh-autopilot &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/sh-autopilot` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git
```

Then copy `indra/plugins/indra/skills/sh-autopilot` into your agent's skills folder as `sh-autopilot`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Sh autopilot deploy detection rules or change my SIEM?

No. The skill says it never deploys a rule, never acts on a SIEM, never takes a response action and never pushes. Rules are kept as files for a person to review.

### Where does Sh autopilot write its output?

Each run gets a folder under autopilot/ in the target, with a state file, a step ledger and a report. Other output goes to the output folders of the skills it runs.

### Does Sh autopilot need indra installed?

Most flows need the indra binary. Review, threat-model, fix, harden and a reduced everything flow work without it, and purple runs as a plan only.

### Can I resume an interrupted run?

Yes. Using the resume argument, it finds the last run with a running or stopped status and continues from the first unfinished step.

### Will Sh autopilot commit code changes?

No. Fixes are made on a new branch named indra/fixes with the run id, only after approval, and are left uncommitted.

### How do I install Sh autopilot in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/sh-autopilot to use it in all your projects, or to .claude/skills/sh-autopilot in one project. Or install the indra plugin, which includes it: /plugin marketplace add dmdhrumilmistry/indra, then /plugin install indra@indra.

### Does Sh autopilot run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Sh autopilot?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Sh autopilot?

The closest alternatives to Sh autopilot are Indra, Skill scanner, Sh security review, Security review and Sh purple team.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Indra](https://ai-powered.com/skills/indra): Indra is an open-source agent skill for security.
- [Skill scanner](https://ai-powered.com/skills/skill-scanner): Skill scanner is an open-source agent skill for security.
- [Sh security review](https://ai-powered.com/skills/sh-security-review): Sh security review is an open-source agent skill for security.
- [Security review](https://ai-powered.com/skills/security-review-getsentry): Security review is an open-source agent skill for security.
- [Sh purple team](https://ai-powered.com/skills/sh-purple-team): Sh purple team is an open-source agent skill for security.
- [Sh detection rules](https://ai-powered.com/skills/sh-detection-rules): Sh detection rules is an open-source agent skill for security.
- [Sh incident response](https://ai-powered.com/skills/sh-incident-response): Sh incident response is an open-source agent skill for security.
- [Security agent](https://ai-powered.com/skills/security-agent): Security agent is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/sh-autopilot
