मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट6.9k · #13715

coding-agent

यह क्या करती है

यह एक अलग वर्चुअल मशीन सेट करती है, जहाँ कोडिंग एजेंट आपका प्रोजेक्ट बदल सकता है और टूल इंस्टॉल कर सकता है, जबकि आपका कंप्यूटर सुरक्षित रहता है। यह उन डेवलपर्स के लिए है जो चाहते हैं कि एजेंट पूरी अनुमतियों के साथ चले।

कब इस्तेमाल करें

  • ✓जब आप चाहते हों कि कोडिंग एजेंट हर कदम पर अनुमति माँगे बिना चले।
  • ✓जब आप चाहते हों कि एजेंट के इंस्टॉल और प्रयोग आपके अपने कंप्यूटर से दूर रहें।
  • ✓जब आपको ऐसा अस्थायी वातावरण चाहिए जो फिर भी आपके प्रोजेक्ट फ़ोल्डर तक पहुँच सके।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/smol-machines/smolvm/blob/main/docs/coding-agent/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“एक सुरक्षित वर्चुअल मशीन सेट कीजिए, ताकि Claude Code मेरे प्रोजेक्ट फ़ोल्डर पर पूरी अनुमतियों के साथ चल सके।”

हर हफ़्ते 5 नई skills, 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 agent चाहिए?

Smolfile आपका SSH agent आगे भेजती है, इसलिए होस्ट पर एक चलना चाहिए, या फ़ाइल से वह ब्लॉक हटा सकते हैं।

जानकारी

लेखक का मूल विवरण

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
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

branch-and-checkpoint

6.9k

यह आपके एजेंट को चल रही smolvm वर्चुअल मशीन को चेकपॉइंट के रूप में सहेजने, बाद में वापस लाने, रोकने और फिर चालू करने, और उसे कॉपी में बाँटने में मदद करती है।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

credentials

6.9k

यह आपके एजेंट को आपकी key से API कॉल करने देती है, जबकि key कभी उसकी वर्चुअल मशीन के अंदर नहीं जाती, ताकि भरोसे के बाहर का कोड उसे न पढ़ सके।

कोडिंगसिक्योरिटी

dev-env

6.9k

यह आपके एजेंट को smolvm की डेव मशीन में इंस्टॉल किए टूल बनाए रखना सिखाती है, ताकि वह जल्दी रीस्टार्ट हो और सत्रों के बीच पैकेज बने रहें।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

docker-in-machine

6.9k

यह आपके एजेंट को smolvm वर्चुअल मशीन के अंदर Docker daemon चलाने में मदद करती है, ताकि टेस्ट, बिल्ड और कंटेनर शुरू करने वाले एजेंट वहाँ काम कर सकें।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

मिलती-जुलती skills