# Command Shell

> Use this tool when you need to securely execute shell commands, navigate directories, or automate interactive programs while maintaining customizable security boundaries. It solves problems related to system administration, development workflows, and command-line tool interaction by providing a controlled environment for command execution. The Command Shell takes input through configurable TOML files and shell commands, and outputs execution results, making it ideal for use cases that require secure and restricted command-line access.

Canonical page: https://skillsregistry.net/skills/jon2allen-command-shell  
JSON: https://api.skillsregistry.net/v1/skills/jon2allen-command-shell

## Description

A command execution server that provides secure shell command execution, directory navigation, and interactive program automation through pexpect integration. Built by Jon Allen, it features configurable command blocking and file access restrictions via TOML configuration, with safety controls that can be overridden when needed. The server includes tools for running shell commands with stdin support, changing directories with environment variable expansion, and automating interactive programs through expect/send sequences. Useful for system administration tasks, development workflows, and command-line tool interaction while maintaining security boundaries through customizable restrictions on dangerous commands and sensitive files.

## Trust

- **Trust score (0–1):** 0.75
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** security
- **Updated:** 2026-09-28

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/jon2allen-command-shell)
- **Repository:** <https://github.com/jon2allen/mcp_command_serv>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "jon2allen-command-shell"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/jon2allen-command-shell` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/jon2allen-command-shell/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
