All parts of Claude Code's system prompt, 27 builtin tool descriptions, sub agent prompts (Plan/Explore/Task), utility prompts (CLAUDE.md, compact, statusline, magic docs…
Leash
Leash by StrongDM - take your AI agents for a walk
Install: npm install -g @strongdm/leash
Works with Claude Code, Codex · 592 GitHub stars
Install
npm install -g @strongdm/leashInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →Leash
Leash wraps AI coding agents in containers and monitors their activity. You define policies in Cedar; Leash enforces them instantly.
Requirements
- Docker, Podman, or OrbStack
- macOS or Linux (WSL, too!)
Installation
Recommended method is via npm:
npm install -g @strongdm/leash
Alternative ways follow:
Download the latest pre-built release binary from the releases page.
or if you're on macOS:
brew tap strongdm/tap
brew install --cask leash-app
macOS Note 1: This installs a helper app that enables experimental native mode on macOS and also installs the leash formula.
macOS Note 2: If you download Leash from the releases page, you'll need to run xattr -d com.apple.quarantine leash after extracting it
Refer to MACOS.md to learn more about the additional native macOS capabilities.
Run your first Leash command
# Launch codex with the Control UI and pop open the web browser automatically
leash --open claude
leash --open codex
# Inspect available options
leash --help
AI agents claude, codex, gemini, qwen, and opencode are shipped in the default coder image.
On first use Leash will prompt to mount the host's coder-agent config directory (for example ~/.claude) into the container.
Choose whether to remember that decision globally, for the current project, or just this once; persistent choices are stored at ~/.config/leash/config.toml.
Key Concepts
Full monitoring captures every filesystem access and network connection initiated by the agent so Cedar policies and audit trails operate on complete telemetry.
Agent container runs your command with the current directory bind-mounted, so tools see the same file tree they would on the host.
Leash container monitors system calls, applies Cedar policies, and exposes the Control UI at http://localhost:18080 (use
--opento launch it automatically).Mount prompts remember whether to forward host agent credentials (see CONFIG.md).
Environment forwarding maps common API keys automatically:
ANTHROPIC_API_KEYforclaude,OPENAI_API_KEYforcodex,GEMINI_API_KEYforgemini, andDASHSCOPE_API_KEYforqwen.
MCP Integration
Leash includes a Model Context Protocol (MCP) observer that inspects, records, and enforces MCP tool calls made by the agent. Requests flowing through supported MCP transports are correlated with filesystem and network telemetry, enabling Cedar policies to govern tool use alongside core runtime activity.
Using Leash
Images and Dependencies
- Keep the default
public.ecr.aws/s5i7k8t3/strongdm/coderimage for a ready-to-run AI tooling environment. - Extend Dockerfile.coder with project packages, then point Leash at the new image.
- Reuse an existing project image by adding
ca-certificatesand configuring Leash to launch it.
Configure alternative images through TOML, CLI flags, or environment variables:
[leash]
codex = true
[projects."/absolute/path/to/project"]
target_image = "ghcr.io/example/dev:latest"
[projects."/absolute/path/to/project".volumes]
"~/devtools" = "/workspace/devtools:rw"
Similar plugs
AI-powered bug bounty hunting toolkit that works with or without subscription.
AI Marketing Suite for Claude Code. 15 marketing skills with parallel subagents, audit any website, generate copy, email sequences, ad campaigns, content calendars…
Turn Claude Code into your offensive security research assistant. Specialized AI subagents for authorized penetration testing plan engagements, analyze recon, research…