Dangerous Claude — Development skill for Claude Code
Run the Claude Code CLI on the lab HPC cluster inside a Singularity sandbox, with write access limited to the project folder and permission prompts skipped for autonomous agentic work.
How to install Dangerous Claude
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open dpeerlab/dangerous_claude and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Dangerous Claude does
Run the Claude Code CLI on the lab HPC cluster inside a Singularity sandbox, with write access limited to the project folder and permission prompts skipped for autonomous agentic work.
Alternatives in Development
- Analyze Cluster Postmortem — Postmortem analysis of cluster failures → OPTIMIZE PROMPTS to work for EVERY use case 1.7k ★
- Claude-code-safety-net Rules Reference — Custom rules reference for defining safe/dangerous command patterns 1.2k ★
- Pi Reserved Keybindings — Extensions cannot override these shortcuts — they are silently skipped by registerShortcut() 526 ★
README
dangerous_claude
Claude can easily go rogue and read or write files that have nothing to do with the project it's working on, which makes it risky to run with permission prompts skipped (`--dangerously-skip-permissions`). `dangerous_claude` runs Claude Code inside a Singularity container that restricts filesystem access at the system level, so even a rogue session stays contained to the project it was started in.
Installation
git clone https://github.com/dpeerlab/dangerous_claude.git
cd dangerous_claude
bash setup/build.sh
Launch
cd /abs/path/to/your/project
./dangerous_claude claude
Sandboxes the current directory — there's no work-dir argument, `cd` there first. First run in a project prompts for two settings and writes `.dangerous_claude.json`, e.g.:
{
"always_use_dangerous_skip_permissions": true,
"writeable_home": true,
"extra_write_paths": ["/home/you/.some_tool_cache"]
}
See `docs/` for the full sandbox model and configuration reference, and `CHANGELOG.md` for what's new.
Related Skills
Claude Sandbox Zsh
Run Claude Code CLI inside a macOS sandbox with restricted file system access
Cc Agents Kit
Claude Code plugin marketplace. guard-hooks: five defensive hooks that block dangerous shell commands and secr
TechnoAyanOpp
I am an independent developer interested in building innovative open-source projects and learning new technolo
Techno Ayanmd
I am an independent developer interested in building innovative open-source projects and learning new technolo
Analyze Live
Analyse one recorded live (or video) folder - trades taken and skipped with reasons, verified on prices, then
Tool Sandbox MCP
📦 MCP server that runs agent code in a sandbox with access to upstream MCP tools
Related Agents
Track Implementer
Implements one bounded track of work (a folder, component cluster, fix batch, or issue) inside its assigned sc
Agentic Workflow
Designs the AI agent workflows inside the product - whether a task needs an agent, one AI call or no AI at all
Flowai Autonomous Task
Autonomous end-to-end task executor. Runs the full flowai pipeline without interactive prompts inside an isola