# Rash

> Use this tool when you need to secure and optimize shell scripts by transpiling Rust code or purifying legacy bash scripts, solving problems of common shell vulnerabilities and non-deterministic output. It takes in Rust code or legacy bash scripts as input and produces POSIX-compliant, safe, and idempotent shell scripts as output. Use Rash in contexts where shell script security and reliability are critical, such as in DevOps, automation, or system administration tasks.

Canonical page: https://skillsregistry.net/skills/paiml-rash  
JSON: https://api.skillsregistry.net/v1/skills/paiml-rash

## Description

Bidirectional shell safety tool that transpiles Rust code to POSIX-compliant shell scripts or purifies legacy bash scripts through semantic AST transformations. Provides protection against common shell vulnerabilities and ensures deterministic, idempotent output. Differs from ShellCheck by understanding code intent and automatically rewriting scripts to be safe rather than just reporting issues.

## Trust

- **Trust score (0–1):** 0.50
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** data-analytics
- **Updated:** 2026-04-25

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/paiml-rash)
- **Repository:** <https://github.com/paiml/bashrs>

## 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": "paiml-rash"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/paiml-rash` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/paiml-rash/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
