Zum Inhalt springen
Skillpedia
Agenten6.9k · #13715

coding-agent

Was er macht

Richtet eine getrennte virtuelle Maschine ein, in der ein Programmieragent deine Projektdateien bearbeiten und Werkzeuge installieren kann, während dein Computer geschützt bleibt. Sie ist für Entwickler gedacht, die einen Agenten mit vollen Rechten laufen lassen wollen.

Wann du ihn nutzt

  • ✓Wenn ein Programmieragent laufen soll, ohne bei jedem Schritt um Erlaubnis zu fragen.
  • ✓Wenn du die Installationen und Experimente eines Agenten von deinem eigenen Computer fernhalten willst.
  • ✓Wenn du eine Wegwerfumgebung willst, die trotzdem deinen Projektordner erreicht.

Link zum Skill

https://github.com/smol-machines/smolvm/blob/main/docs/coding-agent/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/smol-machines/smolvm/blob/main/docs/coding-agent/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Richte eine sichere virtuelle Maschine ein, damit Claude Code mit vollen Rechten in meinem Projektordner laufen kann.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Eine Smolfile richtet die Maschine ein und bindet dein Projekt ein. Du startest die Maschine und lässt den Agenten darin laufen, Dateiänderungen erscheinen in deinem Projektordner auf deinem Computer.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

A coding agent in a machine

Verified on smolvm v1.27.4 on Linux x86_64, 2026-10-14, and on v1.29.0 on macOS arm64, 2026-10-15. Done means the agent runs inside the machine from the project directory, its edits appear on the host, and git works on the mounted repo.

Procedure

1. Copy the Smolfile into the project. Edit the npm install line in init to the agents you use; any install command works.

cp docs/coding-agent/assets/agent.smolfile ./Smolfile

2. Create and start the machine. Pass API keys as references so they are read from your host at launch, never written to the machine record:

smolvm machine create --name agent -s Smolfile --secret-env ANTHROPIC_API_KEY=ANTHROPIC_API_KEY
smolvm machine start --name agent      # first start runs init: under a minute once the image is pulled

The Smolfile forwards your SSH agent, so start needs SSH_AUTH_SOCK set on the host: without it, it stops with ssh-agent: SSH_AUTH_SOCK is not set. Start one with eval $(ssh-agent), or delete the [auth] block.

3. Run the agent.

smolvm machine exec --name agent -it -- claude --dangerously-skip-permissions
smolvm machine exec --name agent -it -- opencode

machine shell --name agent gives a shell in /workspace for anything else.

4. Check git. smolvm machine exec --name agent -- git status must print the repo's status, not dubious ownership; if it does not, the safe.directory line in init did not run.

5. Stop or delete. machine stop --name agent keeps the installed agents for next time, and the next start takes about a second. machine delete --name agent -f removes the machine; the project stays on the host.

Notes

  • init runs once. Changing it later needs a new machine, or run the new commands with exec.
  • To keep the agent off your LAN and the host's ports, add block_private = true under [network] (from v1.28.1). See README.md.
  • An agent that needs Docker: add "/var/lib/docker", "/var/lib/containerd" to [dev] volumes (from v1.28.1) and see docker-in-machine.
Häufige Fragen

Ändert der Agent Dateien auf meinem Computer?

Änderungen am eingebundenen Projektordner erscheinen auf deinem Computer. Der Agent läuft in der Maschine und nicht direkt auf deinem System.

Welche Agenten werden unterstützt?

Die Fähigkeit nennt Claude Code, OpenCode und Codex und sagt, jeder Agent mit einem Installationsbefehl kann funktionieren.

Braucht sie meinen SSH-Agenten?

Die Smolfile leitet deinen SSH-Agenten weiter, der Host braucht also einen laufenden. Alternativ entfernst du diesen Block aus der Datei.

Details

Originalbeschreibung des Autors

Runs a coding agent (Claude Code, OpenCode, Codex or any other) inside a persistent smolvm machine with the project mounted, so it can run with full permissions without touching the host. Use when someone wants to sandbox their coding agent, run it in skip-permissions or YOLO mode safely, or give it a disposable environment it can install anything into. Do not use it to run untrusted code with no network; use throwaway-machine for that.

repo: smol-machines/smolvm

Beliebtheit

GitHub-Sterne
6.9k
Platz im Ranking
#13715
Lizenz
Apache-2.0
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills