
from agent-skills-for-context-engineering17,077
Run agents in remote sandboxes with warm pools, snapshots, and streaming clients to enable low-latency, scalable background agent execution.
This skill documents patterns and operational practices for running agents in hosted, sandboxed environments. It explains how to prebuild images, maintain warm pools, snapshot sessions, and extract outputs (branches/PRs/logs) so agents can perform reliable, low-latency background work. Concrete use cases include background coding agents that open PRs, collaborative sessions across clients, and self-spawned sub-agents for parallel tasks.
Use this skill when designing or operating hosted agent runtimes: when you need predictable sandbox spin-up times, session snapshot/restore, per-session state isolation, user-attributed commits, or streaming feedback to clients (web, Slack, VS Code). Activate it instead of adjacent skills like harness-engineering or tool-design when the problem is the hosted runtime itself.
Best suited for server-first agent frameworks and tools that can manage sandboxes and Git flows (e.g., Codex/Copilot-style automation, Cursor/Claude Code backends, or custom server agents that can call sandbox APIs).
Well-written architectural guide for building hosted agent infrastructure with sandboxed execution, warm pools, and session snapshots. The SKILL.md is comprehensive and well-organized. The bundled sandbox_manager.py script is pseudocode with many stub methods; its demo crashes because warm pool and cold start paths return None. Security concerns include string interpolation of user-controlled data into shell commands and token embedding in git clone URLs.
The SKILL.md is excellent — thorough, well-structured, with clear triggers, boundaries, references, and practical checklists. The script is reference/pseudocode quality with meaningful architectural patterns but not production-ready. Shell injection risks in _configure_for_user and build_image are the main security concern.