Skip to content
Back to skills

Shell Exec

ASecurity

Run a sandboxed shell command with timeout and allowlist

  • 119 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
ai-agentsgoshellbash

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add KeyArgo/custodian-kernel --skill shell-exec --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Shell Exec?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Shell Exec
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/keyargo-shell-exec/badge)](https://www.skillsdirectory.com/skills/keyargo-shell-exec)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: shell-exec
description: "Run a sandboxed shell command with timeout and allowlist"
version: 1.0.0
author: custodian
license: MIT
platforms: [linux, darwin, windows]
metadata:
  hermes:
    tags: [Shell, Local]
  custodian:
    band: L2
    cost_usd: 0.0
    configured: true
---

# Shell Exec

Run a sandboxed shell command with timeout and allowlist

## Authority band

This tool runs under **L2** authority in the Custodian kernel. Autonomous up to the per-action and session caps; escalates above threshold.

## Inputs

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| (see execute.py for full schema) | | | |

## Configuration

No additional configuration required — uses credentials already wired to Custodian.

## Usage

```bash
custodian tools run shell-exec --param value
```

## Custodian governance

Every call to this tool passes through the Custodian kernel authority check
before executing. The kernel verifies the current authority band, checks
spending caps where applicable, logs the action to the OCSF audit trail,
and escalates to a human operator if the action exceeds the declared band.

Adding this tool to any Hermes agent session requires no code changes —
declare `custodian-band: L2` in the SKILL.md frontmatter and the kernel
wraps it automatically.

Files in this skill

  • SKILL.md1.3 KB
  • scripts/execute.py3.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.