
Sh autopilot
Runs indra security skills in sequence and records each step in a resumable ledger
Sh autopilot is an open-source agent skill for security. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 44
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Sh autopilot
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.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Instructions only, no scripts(see the files on GitHub)
- Asks for: Read, Write, Edit, Grep, Glob, Bash, Skill, Task…(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 2 files (149 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the indra plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add dmdhrumilmistry/indra
/plugin install indra@indraOr copy only this skill to ~/.claude/skills/sh-autopilot:
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.
Copy the skill folder to ~/.agents/skills/sh-autopilot to use it in every repository:
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.
Copy the skill folder to ~/.cursor/skills/sh-autopilot to use it in every project:
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.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/dmdhrumilmistry/indra.git --path plugins/indra/skills/sh-autopilotOr copy the folder to ~/.gemini/skills/sh-autopilot yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/sh-autopilot:
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.
Get the folder:
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.gitThen 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.
What it does
- 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
Sh autopilot 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.
More from dmdhrumilmistry/indra

Lets an agent triage SIEM alerts and logs, sweep indicators and build evidenced timelines
- Open source
- 44 GitHub stars
- Security

Gives a security review agent persistent Markdown memory of past findings and learnings
- Open source
- 44 GitHub stars
- Knowledge and memory

Security-reviews a GitHub pull request and reports findings as inline comments
- Open source
- 44 GitHub stars
- Developer tools

Publishes security review findings as de-duplicated Jira, GitHub, Confluence or Notion
- Open source
- 44 GitHub stars
- Knowledge and memory

Plans and runs approved purple-team tests to check whether SIEM detections fire
- Open source
- 44 GitHub stars
- Security

Re-checks one earlier security finding against current code or recorded traffic
- Open source
- 44 GitHub stars
- Security




