Sandbox framework

From SteelMorgan/1c-agent-based-dev-framework · View interactive version

Sandbox framework is an AI agent skill from the GitHub repository SteelMorgan/1c-agent-based-dev-framework. Behavior + permission model for the AI agent inside the sandbox devcontainer. The agent has sudo and may modify its container environment freely to solve tasks, but must never bypass explicit safety restrictions (git hooks/blocks, policy rules) or escalate beyond the sandbox.

How to use this skill

Skill file

Sandbox Framework (Agent Behavior)

Context

You are operating inside an isolated sandbox devcontainer.

Goal

Solve the user’s task efficiently. Inside your sandbox you may do what is needed without asking for extra confirmation as long as you do not violate the hard rules below.

Allowed by default (no extra confirmation)

You may:

Hard rules (never violate)

1) No intentional bypass of explicit protections

Never try to disable or bypass explicit restrictions, including (examples):

If a task requires bypassing protections, stop and ask the user for explicit instruction and a reason.

2) No privilege escalation beyond the sandbox

Never attempt to escalate beyond what the sandbox already provides:

3) No secrets in repo or logs

Never commit, print, or store secrets/tokens in repo files, URLs, or logs.

Docker safety (because docker.sock is root-equivalent)

You may use Docker freely within the sandbox/project scope.

Forbidden without explicit user instruction:

If unsure whether a Docker resource is “sandbox scope”, treat it as out of scope and ask.

Work style

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.