forcecage

Contain untrusted code within a pre-tested boundary before execution.

105|13|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/Hmbown/Wizards-of-the-Ghosts --skill forcecage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: forcecage
Source: https://github.com/Hmbown/Wizards-of-the-Ghosts/tree/main/generated/hermes/containment-and-intervention/forcecage
Command: npx skills add https://github.com/Hmbown/Wizards-of-the-Ghosts --skill forcecage

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Forcecage provides a pre-built, self-tested containment boundary to enclose a subject that has not yet run. It ensures the boundary exists before execution, preventing leakage or outside access from untrusted code or agents.

Core Features & Use Cases

  • Pre-tested containment boundary: define exact allowed surfaces and block defined actions before any execution.
  • Self-test and outside observation: run probes to confirm enforcement and log violations for audit.
  • Release-aware execution: specify explicit conditions to descend from cage to a less restricted environment.

Quick Start

Build the containment boundary, run the subject inside, observe the results, and enforce the release criteria before any action leaves the cage.

Frequently Asked Questions about forcecage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I contain untrusted code before execution to prevent system leakage?

To contain untrusted code, you build a pre-tested containment boundary that defines exact allowed surfaces and blocks defined actions before any execution occurs. This prevents leakage by ensuring the boundary exists prior to running the subject.

What is a pre-tested containment boundary for sandbox-style experiments?

A pre-tested containment boundary is a secure enclosure for untrusted code or agents that runs probes to confirm enforcement. It allows you to observe and control risk in sandbox-style experiments before any action leaves the cage.

How do I set up audit logs for sandbox containment violations?

You set up audit logs by running self-test probes inside the containment boundary to confirm enforcement. The system observes the subject during execution and logs any violations for audit before allowing release.

Can I specify explicit release conditions to descend from a sandbox to a less restricted environment?

Yes, you can specify explicit release conditions to descend from a containment cage to a less restricted environment. This release-aware execution ensures criteria are met before any action leaves the boundary.

When do I need a containment boundary for untrusted agents?

You need a containment boundary when running untrusted agents or risky code where risk must be observed and controlled. It is applicable for pre-run containment and scenarios requiring observation before release to production.

Does this containment approach work without external dependencies?

Yes, this containment approach works without external dependencies. You can build the boundary, run the subject inside, observe the results, and enforce release criteria entirely within the defined environment.