Claude Templates
WARNING: This project is designed for use in sandboxed environments only.
A curated setup for Claude Code combining plugins (from the Claude marketplace) and skills (from skills.sh) with sandbox safety guards. Designed for YOLO mode (--dangerously-skip-permissions).
NOTE: This may be updated at any time as I tweak things to fit my own workflows, so I recommend you to fork it and adapt it to your own usage patterns.
Quick Start
git clone https://github.com/pvillega/claude-templates.git
cd claude-templates
# Installs plugins, skills, and default settings
./install.sh
# Run Claude (added as an alias to your ~/.bashrc or ~/.zshrc)
cl
To update all installed plugins, skills, and tools to their latest versions:
./update.sh
To completely remove everything installed by this project:
./uninstall.sh
If you do not use Bash or Zsh, you can set up the alias manually:
alias cl='claude --dangerously-skip-permissions'
Prerequisites
The installer requires the following to be available before running:
- curl — for downloading installers
- npm — for installing Node.js-based tools and skills
- Homebrew — package manager for CLI tools (macOS and Linux)
- Docker (optional) — required by some security skills (not installed by the installer)
Homebrew is available on both macOS and Linux. To install:
# macOS and Linux
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
For Linux-specific instructions, see Homebrew on Linux.
About Safety
Using agents without restrictions on tools poses some dangers. It could impact files outside your workspace, potentially damaging your system. Or it can exfiltrate data.
As a consequence, using Claude Code from your local environment by itself is risky. At this point in time there are multiple alternatives, so this template doesn't enforce any preferences.
What it does, though, is to restrict very dangerous commands (like git push --force).
Setup
The install.sh script installs plugins, skills, sandbox settings, and marketplace configuration. Run it from the repository root:
./install.sh
Use --clean for a fresh install when you want to remove stale configuration that might not be properly overridden. The --dry-run flag lets you preview what would be deleted before committing.
Optional Tools
At the end of every install, install.sh scans tools/optional/*.sh and offers a numbered menu of opt-in installers. Non-interactive runs honour INSTALL_OPTIONAL=all|<csv>|<empty> (e.g. INSTALL_OPTIONAL=lean,postgres_mcp ./install.sh). Failures in an optional installer warn but never abort the main install.
Currently shipped:
| Script | What it installs | Notes |
|---|
tools/optional/lean.sh | lean-lsp-mcp at user scope + cameronfreer/lean4-skills marketplace + lean4 plugin + lake build PostToolUse hook | For Lean 4 projects. Requires uv + rg + jq + claude on PATH. Hook only fires when a lakefile.lean is present. |
tools/optional/postgres_mcp.sh | Prereq check + uvx cache pre-warm for postgres-mcp | Does not register the MCP at user scope (load-in-every-project cost). Prints the exact claude mcp add --scope local command and DATABASE_URI convention for per-project opt-in. |
API Keys
Tavily requires an API key. You can configure it via:
- Tavily CLI login (recommended): Run
tvly login --api-key $(echo $TAVILY_API_KEY) to authenticate using your API key.
- Shell export: Add
export TAVILY_API_KEY=... to your shell profile.
Plugins
Plugins are installed from the Claude marketplace. They provide commands, agents, skills, and MCP server configurations.