본문으로 건너뛰기
Skillpedia
에이전트6.9k · #13715

coding-agent

하는 일

코딩 에이전트가 프로젝트를 편집하고 도구를 설치할 수 있는 별도의 가상 머신을 설정하며, 내 컴퓨터는 보호된 상태로 둡니다. 에이전트에게 전체 권한을 주고 싶은 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓코딩 에이전트가 모든 단계마다 허락을 묻지 않고 실행되기를 원할 때.
  • ✓에이전트의 설치와 실험을 내 컴퓨터와 분리해 두고 싶을 때.
  • ✓프로젝트 폴더에는 접근할 수 있는 일회용 환경이 필요할 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/smol-machines/smolvm/blob/main/docs/coding-agent/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Claude Code가 제 프로젝트 폴더에서 전체 권한으로 실행될 수 있도록 안전한 가상 머신을 설정해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

Smolfile이 머신을 설정하고 프로젝트를 연결합니다. 머신을 시작한 뒤 그 안에서 에이전트를 실행하면, 파일 편집 내용이 내 컴퓨터의 프로젝트 폴더에 나타납니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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.
자주 묻는 질문

에이전트가 제 컴퓨터의 파일을 바꾸나요?

연결된 프로젝트 폴더의 편집 내용은 내 컴퓨터에 나타납니다. 에이전트는 시스템에서 직접 실행되는 대신 머신 안에서 실행됩니다.

어떤 에이전트를 지원하나요?

스킬은 Claude Code, OpenCode, Codex를 지원한다고 적고, 설치 명령이 있는 에이전트라면 모두 쓸 수 있다고 설명합니다.

제 SSH 에이전트가 필요한가요?

Smolfile이 SSH 에이전트를 전달하므로 호스트에서 에이전트가 실행 중이어야 합니다. 필요 없다면 파일에서 해당 블록을 삭제할 수 있습니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
6.9k
순위
#13715
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬