Langsung ke konten
Skillpedia
Agen6.9k · #13715

coding-agent

Fungsinya

Menyiapkan mesin virtual terpisah tempat agent pengodean dapat mengedit proyek Anda dan memasang alat, sementara komputer Anda tetap terlindungi. Skill ini ditujukan untuk developer yang ingin agent berjalan dengan izin penuh.

Kapan dipakai

  • ✓Saat Anda ingin agent pengodean berjalan tanpa meminta izin pada setiap langkah.
  • ✓Saat Anda ingin pemasangan dan eksperimen agent tetap terpisah dari komputer Anda sendiri.
  • ✓Saat Anda menginginkan lingkungan sekali pakai yang tetap dapat mengakses folder proyek Anda.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/smol-machines/smolvm/blob/main/docs/coding-agent/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Siapkan mesin virtual yang aman agar Claude Code dapat berjalan dengan izin penuh pada folder proyek saya.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Sebuah Smolfile menyiapkan mesin dan memasang proyek Anda. Anda menjalankan mesin dan menjalankan agent di dalamnya, dan perubahan file akan muncul di folder proyek di komputer Anda.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.
Pertanyaan umum

Apakah agent akan mengubah file di komputer saya?

Perubahan pada folder proyek yang terpasang akan muncul di komputer Anda. Agent berjalan di dalam mesin, bukan langsung di sistem Anda.

Agent apa saja yang didukung?

Skill ini menyebutkan Claude Code, OpenCode, dan Codex, dan menyatakan bahwa agent apa pun dengan perintah pemasangan dapat bekerja.

Apakah perlu SSH agent saya?

Smolfile meneruskan SSH agent Anda, sehingga host harus menjalankannya, atau Anda bisa menghapus blok itu dari file.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
6.9k
Peringkat
#13715
Lisensi
Apache-2.0
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa