Saltar al contenido
Skillpedia
Agentes6,9 mil · #13715

coding-agent

Qué hace

Configura una máquina virtual separada donde un agente de programación puede editar tu proyecto e instalar herramientas, mientras tu equipo sigue protegido. Es para desarrolladores que quieren que un agente se ejecute con todos los permisos.

Cuándo usarla

  • ✓Cuando quieres que un agente de programación se ejecute sin pedir permiso en cada paso.
  • ✓Cuando quieres que las instalaciones y pruebas de un agente se mantengan lejos de tu propio equipo.
  • ✓Cuando quieres un entorno desechable que aún pueda acceder a tu carpeta de proyecto.

Link de la skill

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

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/smol-machines/smolvm/blob/main/docs/coding-agent/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Configura una máquina virtual segura para que Claude Code pueda ejecutarse con todos los permisos sobre mi carpeta de proyecto.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

Un Smolfile configura la máquina y monta tu proyecto. Tú inicias la máquina y ejecutas el agente dentro de ella, y las ediciones de archivos aparecen en la carpeta de tu proyecto en tu equipo.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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.
Preguntas frecuentes

¿El agente cambiará archivos de mi equipo?

Las ediciones en la carpeta del proyecto montada aparecen en tu equipo. El agente se ejecuta dentro de la máquina y no directamente en tu sistema.

¿Qué agentes admite?

La skill nombra Claude Code, OpenCode y Codex, e indica que cualquier agente con un comando de instalación puede funcionar.

¿Necesita mi agente SSH?

El Smolfile reenvía tu agente SSH, así que el equipo anfitrión debe tener uno en marcha, o puedes eliminar ese bloque del archivo.

Detalles

Descripción original del autor

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

Popularidad

Estrellas en GitHub
6,9 mil
Posición en el ranking
#13715
Licencia
Apache-2.0
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas