sandbox-execution-guide
Secure sandboxed code execution environments for reproducible research computing
npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill sandbox-execution-guide --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Sandbox Execution Guide A skill for setting up and using sandboxed code execution environments for research computing. Covers containerized execution, security considerations, resource management, and integration with research workflows. ## Why Sandboxed Execution? Research code often requires: - Isolation from the host system for security - Reproducible environments across machines - Resource limits to prevent runaway computations - Multi-language support (Python, R, Julia, MATLAB) ## Docker-Based Sandboxes ### Creating a Research Container ```dockerfile # Dockerfile for a reproducible research environment FROM python:3.11-slim # System dependencies RUN apt-get update && apt-get install -y --no-install-recommends \ build-essential \ gfortran \ libopenblas-dev \ && rm -rf /var/lib/apt/lists/* # Create non-root user for security RUN useradd -m -s /bin/bash researcher USER researcher WORKDIR /home/researcher # Pin all dependencies COPY requirements.txt . RUN pip install --user --no-cache-dir -r requirements.txt # Copy project files COPY --chown=researcher:researcher . /home/researcher/project WORKDIR /home/researcher/project # Resource limits set at runtime, not build time CMD ["py
- Why Sandboxed Execution?
- Docker-Based Sandboxes
- Creating a Research Container
- Running with Resource Limits
- Python Sandbox with Resource Limits
- Process-Level Isolation
- Nix-Based Reproducible Environments
- Security Best Practices
- Integration with CI/CD
Run with CPU, memory, and time constraints docker run \ Mount data as read-only, output directory as writable Enter the reproducible environment nix-shell shell.nix Or use flakes for even better reproducibility nix develop
What does the sandbox-execution-guide skill do?
Secure sandboxed code execution environments for reproducible research computing
How do I install it?
Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill sandbox-execution-guide --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From brycewang-stanford/Auto-Empirical-Research-Skills, a repository with 3,244 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.