Logo von Ai Coding Agents Execution Sandbox

Ai Coding Agents Execution Sandbox

Community
vasilyu1983
ai-coding-agents-execution-sandbox

Entwirft Ausführungs-Sandboxes für Coding-Agenten. Verwenden Sie diesen Skill, wenn Sie Prozessisolation, Dateisystemrichtlinien, Netzwerksteuerung, Workspace-Einbindungen oder Grenzen für destruktive Befehle festlegen.

Add to TypingMind

Übersicht

Herausgebervasilyu1983
RepositoryAI-Agents-public
Skill-Nameai-coding-agents-execution-sandbox
Sterne
87
Forks
19
Mitgelieferte Dateien
10
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • Mitgelieferte Dateien: 10

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von vasilyu1983 auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Ai Coding Agents Execution Sandbox in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/vasilyu1983/AI-Agents-public/tree/main/frameworks/shared-skills/skills/ai-coding-agents-execution-sandbox
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vasilyu1983/AI-Agents-public.git /tmp/AI-Agents-public
mkdir -p .claude/skills
cp -r /tmp/AI-Agents-public/frameworks/shared-skills/skills/ai-coding-agents-execution-sandbox .claude/skills/ai-coding-agents-execution-sandbox
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Ai Coding Agents Execution Sandbox in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Ai Coding Agents Execution Sandbox automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Ai Coding Agents Execution Sandbox nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

AI Coding Agents Execution Sandbox

Use this skill to design or review the execution substrate for a coding-agent runtime: process isolation, filesystem mounts, network policy, workspace boundaries, environment exposure, and destructive-command controls.

This skill covers where and how code runs. It complements permission routing by defining the actual isolation and policy envelope around execution.

For remote execution — managed sandbox providers, ephemeral cloud workspaces per task, hosted agent runtimes, egress policy across a network boundary, and cost per task — use ai-coding-agents-cloud-sandboxes instead.

ASCII Flow

text
requested execution
  |
  v
classify action
  read | write | network | process | destructive | secret-bearing
  |
  v
sandbox policy
  filesystem roots + workspace mounts + env exposure + network policy
  |
  v
decision
  allow in sandbox | ask permission | deny | require safer workspace
  |
  v
run process with bounded cwd, mounts, env, network, and cleanup rules

Quick Reference

QuestionReadOutcome
How should process, filesystem, and workspace isolation work?references/sandbox-process-and-filesystem-model.mdExecution modes, mounts, working directories, and write boundaries
How should network, approvals, and destructive actions be controlled?references/network-approval-and-destructive-action-guards.mdOutbound policy, command classes, escalation triggers, and guardrails
What sandbox mode names and backend split should runtime builders copy from Codex?references/openai-codex-sandbox-guardrails-may-2026.mdread-only/workspace-write/danger-full-access modes, platform backends, fail-closed policy translation, security telemetry
What does a shipping Bash sandbox actually enforce, and where does its scope end?references/claude-code-bash-sandbox-mechanics.mdRead/write asymmetry, credential deny-vs-mask, TLS-blind allowlists, tool-scope limits, known compatibility failures
What is the canonical policy format for interpreter allowlists and filesystem/network rules?references/sandbox-policy-format.mdRuntime-agnostic policy fields, common traps, and translation notes
How do I verify a sandbox actually holds before shipping it?references/escape-path-test-matrix.mdSymlink, interpreter-wrapper, env-injection, and package-manager escape tests with pass criteria

When To Use

  • Design execution modes for local or remote coding agents
  • Define filesystem write boundaries and workspace mount rules
  • Add network restrictions, env-var policy, or secret exposure controls
  • Review how destructive commands should be blocked or escalated
  • Model how worker or teammate sandboxes should inherit or narrow permissions

Use Other Skills

NeedUse Instead
Approval routing and permission prompts../ai-coding-agents-permissions/SKILL.md
Remote bridge and local or remote execution model../ai-coding-agents-remote-runtime/SKILL.md
Tool contract and execution pipeline../ai-coding-agents-tools/SKILL.md
Broader coding-agent architecture../ai-coding-agents/SKILL.md

Default Workflow

  1. Define execution modes. For example: read-only, workspace-write, unrestricted, remote-bridged, or worker-reduced.
  2. Set the mount model. Decide which directories are readable, writable, hidden, or remapped.
  3. Control process spawning. Define which shells, interpreters, and subprocess classes are allowed by default.
  4. Separate network policy. Outbound access, host allowlists, and package-manager exceptions should be explicit.
  5. Constrain environment exposure. Make secret inheritance opt-in and scoped to the minimum execution surface.
  6. Classify destructive actions. Delete, reset, force-push, and privileged commands need stricter rules than normal edits.
  7. Protect privileged config surfaces. Settings files, policy files, and skill directories should usually be non-writable even when the workspace is otherwise writable.
  8. Narrow worker inheritance. Child tasks and teammates should inherit the minimum effective envelope, not the widest parent one.
  9. Test escape paths. Validate symlink tricks, path traversal, shell expansion, and tool-wrapper bypass attempts.

Host Rules

  • Keep sandbox mode distinct from approval mode; they are related but not identical.
  • Apply policy before execution, not after output returns.
  • Treat path resolution and symlink resolution as part of the security boundary.
  • Model network access independently from filesystem access.
  • Make the default sandbox conservative and escalate only when justified.
  • Ensure worker tasks never gain more power than the actor that launched them unless a fresh approval path exists.
  • Distinguish path semantics for permission rules from path semantics for substrate mounts if the runtime supports both; do not assume one resolver is correct for both layers.
  • Scope the sandbox explicitly to the tool classes it covers. Both shipping references this skill tracks (Claude Code's Bash sandbox, Codex's exec sandbox) restrict subprocess execution but leave file-edit, fetch, and computer-use tool calls to a separate permission system — "the agent is sandboxed" is a category error unless you name which tool surface that applies to.
  • Do not let default read policy stay broad while write policy is locked down and call the result a secrets boundary; a sandbox that can still read ~/.ssh or ~/.aws/credentials because only writes were restricted is a common, easy-to-miss gap.
  • Treat a hostname-based network allowlist as connectivity policy, not content inspection, unless the proxy actually terminates and inspects TLS — otherwise domain fronting through an allowed host is a viable exfiltration path.

Build Order

  1. Define execution modes and their trust levels.
  2. Implement canonical path resolution and mount policy.
  3. Add process and interpreter allowlists.
  4. Add network policy and host exceptions.
  5. Add env-var exposure rules and secret filtering.
  6. Protect settings, policy, and skill directories as privileged config surfaces.
  7. Add destructive-command classification and escalation hooks.

Core Invariants

  • The sandbox boundary must exist in the execution substrate, not only in prompts.
  • Filesystem, network, and environment policy are separate control planes.
  • Canonical path resolution is part of the security boundary.
  • Child workers inherit the minimum effective envelope by default.
  • Destructive capability must never be implied by tool name or user intent alone.
  • Privileged config surfaces should remain protected even when ordinary workspace edits are allowed.

Failure Modes

  • Symlink or path-traversal writes escaping the allowed workspace.
  • Wrapper tools bypassing interpreter or command allowlists.
  • Network-denied commands succeeding through unclassified package-manager helpers.
  • Child workers inheriting parent unrestricted mode silently.
  • Secrets leaking through inherited environments into commands that did not need them.
  • Workspace-write modes that accidentally allow mutation of policy or skill roots.

Minimal Viable Version

  • One conservative default sandbox mode.
  • Canonical readable and writable root enforcement.
  • One subprocess allowlist and one deny path for privileged classes.
  • One explicit network policy.
  • One protected-config-surface list.
  • One escalation path for destructive or restricted actions.

What Strong Implementations Add

  • Worker-specific narrowed envelopes.
  • Host-specific mount remapping and temp-space policies.
  • Auditable destructive-command classes and explicit justifications.
  • Network host allowlists and package-manager exception handling.
  • Separate path resolvers or canonicalization rules for permission matching versus substrate mount enforcement.
  • Escape-path tests for symlinks, shell expansion, wrapper binaries, and env indirection.

Known Traps

  • Assuming path-prefix checks are sufficient while symlinks, wrapper binaries, env indirection, or shell expansion bypass the intended boundary.
  • Treating approval prompts as if they enforce isolation when the substrate itself still allows broad process, filesystem, or network access.
  • Reusing the parent worker’s envelope for convenience and accidentally granting broader write or network privileges to delegated tasks.
  • Forgetting that package-manager installs, build tools, and test runners often write outside obvious workspace paths unless mounts and temp policies are explicit.
  • Classifying a top-level command as safe without evaluating the actual subprocess tree it can spawn.
  • Enabling a compatibility escape hatch (macOS Apple Events, a MITM-friendly weaker-isolation flag, an unelevated Windows backend chosen for convenience) to fix one broken tool without registering what isolation guarantee that escape hatch removes for every command that follows it in the same session.
  • Allowing a Unix domain socket such as a container runtime's control socket through the sandbox; a single such exception can be equivalent to full host access even when every filesystem and network rule looks tight.

Common Anti-Patterns

  • Treating approval prompts as if they were the sandbox.
  • Assuming workspace-write is safe without canonical path checks.
  • Allowing arbitrary interpreters because the top-level tool looked harmless.
  • Reusing the parent worker’s full envelope for convenience.
  • Treating settings and policy files as ordinary editable workspace content.
  • Trusting wrapper commands without classifying what they actually execute.

Cross-Platform Patterns (Goose)

Goose is now maintained under the Agentic AI Foundation (AAIF) at the Linux Foundation (founding contributors Block, Anthropic, OpenAI; transferred April 7, 2026). Repository: aaif-goose/goose; documentation: goose-docs.ai. Goose 2.0 (April 2026) ships a TypeScript TUI and is migrating the desktop app from Electron to Tauri; both surfaces communicate with a shared ACP daemon rather than separate runtimes. For cloud-hosted devbox execution, the isolation substrate is microVM/Firecracker-style (matching the pattern used for Codex cloud tasks).

Goose's sandbox posture adds two patterns the core skill does not model directly: build-time supply-chain gates, and distribution-layer allowlist baking.

Build-time supply-chain gates (deny.toml, recipe-scanner)

Sandboxing stops code from misbehaving at runtime. It does not stop a compromised dependency from shipping. Goose uses deny.toml (cargo-deny) to gate licenses, advisories, and source allowlists at build, and recipe-scanner/ to validate YAML recipes before they enter the shipping artifact.

  • Pattern: pair every runtime substrate control with a build-time gate. If a tool or extension should not be allowed at runtime, it also should not appear in the shipping artifact. The sandbox is the runtime enforcement; build-time gates are the artifact enforcement.
  • Anti-pattern: relying solely on runtime sandboxing to contain shipped-but-disallowed code. An attacker who compromises the build pipeline bypasses the runtime check entirely.
  • Recipe: include deny.toml-equivalent gates (license, advisory, source allowlist) for every language ecosystem your agent uses. Statically scan shipped YAML recipes and plugin manifests for declared tools that exceed the distribution's allowlist.

Custom-distro preconfigured allowlists

Custom distributions (see ai-coding-agents-release-distribution) ship with a narrowed extension/tool/provider allowlist baked into the binary. The runtime sandbox then enforces a tighter envelope than the open-source stable.

  • Pattern: treat distribution-layer allowlists as a sandbox policy layer above the user's own settings. Users cannot broaden beyond what the distro allows; they can only narrow within it.
  • Anti-pattern: ship the open-source binary to enterprise customers with a "policy file" they must install separately. Separation between binary and policy creates drift, stale-policy risk, and bypass-by-rename attacks.
  • Recipe: add distro_envelope: Option<ExtensionAllowlist> as an immutable field in the merged settings source. The sandbox enforces it at execution time; the settings layer shows it as a read-only source (see ai-coding-agents-settings-policy).

Navigation

References

Data

  • data/sources.json — Primary docs and implementation references for coding-agent sandbox design

Related Skills

Fact-Checking

  • Known bugs, regressions, framework/compiler/runtime footguns, and version-specific crash or workaround guidance must be verified against current primary web sources before being treated as current fact.
  • Sandbox details are highly product-specific and may depend on host OS, terminal model, and packaging strategy. Preserve the security model, but verify exact enforcement points in the target runtime.
  • Do not infer real safety from prompt instructions alone; the boundary must exist in the execution substrate.

Learnings Loop

Before applying this skill on a non-trivial task, read learnings.consolidated.md in this directory (and learnings.md if present).

After applying it, if you encountered a pattern worth remembering, a mistake worth preventing, or a domain fact that surprised you, append one dated bullet to learnings.md via agents-skills-feedback-loop/scripts/append_learning.py. Do not modify SKILL.md itself.

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Ai Coding Agents Execution Sandbox?

Entwirft Ausführungs-Sandboxes für Coding-Agenten. Verwenden Sie diesen Skill, wenn Sie Prozessisolation, Dateisystemrichtlinien, Netzwerksteuerung, Workspace-Einbindungen oder Grenzen für destruktive Befehle festlegen.

Warum Ai Coding Agents Execution Sandbox in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Ai Coding Agents Execution Sandbox besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Ai Coding Agents Execution Sandbox in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/vasilyu1983/AI-Agents-public/tree/main/frameworks/shared-skills/skills/ai-coding-agents-execution-sandbox ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Ai Coding Agents Execution Sandbox nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Ai Coding Agents Execution Sandbox verwenden?

So viele Sie möchten. In TypingMind können Sie Ai Coding Agents Execution Sandbox mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Ai Coding Agents Execution Sandbox kostenlos?

Ja. Der Skill wird von vasilyu1983 auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇