mirrord-quickstart
यह क्या करती है
यह स्किल एक नए यूज़र को mirrord इंस्टॉल करने और पहले लोकल सेशन को Kubernetes टारगेट से जोड़ने तक ले जाती है। यह उन लोगों के लिए है जो mirrord में नए हैं और पहला काम करने वाला सेटअप चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप mirrord में नए हैं और उसे पहली बार इंस्टॉल करना चाहते हैं।
- ✓जब Kubernetes क्लस्टर से आपका पहला mirrord सेशन कनेक्ट न हो पा रहा हो।
- ✓जब आप जाँचना चाहते हैं कि आपका क्लस्टर mirrord की आवश्यकताएँ पूरी करता है।
Skill का लिंक
https://github.com/metalbear-co/mirrord/blob/main/mirrord/mcp/corpus/skills/mirrord-quickstart/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मैं mirrord में नया हूँ। क्या आप मेरे क्लस्टर की आवश्यकताएँ जाँच सकते हैं, इंस्टॉल में मदद कर सकते हैं और मेरा पहला सेशन चला सकते हैं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट आपके kubectl एक्सेस और क्लस्टर वर्ज़न की जाँच करता है, स्वीकृत तरीके से mirrord इंस्टॉल करने में मदद करता है, फिर पहला सेशन चलाकर कनेक्शन की पुष्टि करता है। वह एक समय में एक चरण आगे बढ़ता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Mirrord Quickstart Skill
Purpose
Help new users get mirrord running quickly:
- Check system requirements
- Install mirrord (CLI, VS Code, or IntelliJ)
- Connect to their first Kubernetes target
- Verify the connection works
Go one step at a time — don't overwhelm a new user with all options at once, and when they first connect, explain what just happened.
Critical First Steps
Step 1: Detect user's environment Ask or detect:
- Operating system (macOS, Linux, Windows)
- Preferred workflow (CLI, VS Code, IntelliJ)
- Do they have kubectl configured?
Step 2: Verify requirements
# Check kubectl access
kubectl cluster-info
kubectl get pods -A | head -5
If kubectl fails, help them configure it first.
Cluster requirements: Kubernetes 1.22 or later, with nodes on Linux kernel 5.4+ and a containerd, CRI-O, or Docker runtime. Some features need a newer Kubernetes version (for example, the agent as an ephemeral container needs 1.23); point users at Cluster Requirements if a specific feature fails on an older cluster.
Installation Paths
CLI (recommended for getting started)
Do not run remote install scripts that pipe a network download into a shell interpreter. Use only methods your organization approves.
Official guide: Follow mirrord installation documentation for supported options (package managers, pinned release binaries with checksum verification, etc.).
Summary for the agent:
- macOS / Linux: Point the user to the official docs for Homebrew, apt, or pinned binary install steps — do not invent or paste one-liners that fetch and execute remote scripts.
- Windows: Point the user to the official docs for supported installers.
Security: Prefer package managers or manually verified binaries from official release artifacts. Never execute installation by piping downloaded content into a shell.
Verify installation:
mirrord --version
VS Code Extension
- Open VS Code Extensions (Cmd/Ctrl+Shift+X)
- Search "mirrord"
- Install "mirrord" by MetalBear
- Look for mirrord icon in status bar
IntelliJ Plugin
- Open Settings → Plugins → Marketplace
- Search "mirrord"
- Install and restart IDE
- Find mirrord in navigation toolbar
First Session
CLI approach
# List available targets
mirrord ls
# Run a local process with mirrord
mirrord exec --target pod/<pod-name> -- <your-command>
# Example: Node.js app
mirrord exec --target pod/api-server-7c8d9 -- node app.js
# Example: Python app
mirrord exec --target pod/backend-abc123 -- python main.py
If mirrord ls returns no targets, check that the kubeconfig context points at the right cluster (kubectl config current-context) and list pods in the expected namespace (kubectl get pods -n <namespace>).
IDE approach
- Enable mirrord (click status bar icon / toolbar button)
- Select target pod when prompted
- Run/debug your application normally
- mirrord intercepts and connects automatically
Verification
After running, verify the connection:
- Check logs - mirrord's startup progress (agent started, connected to the target) prints before your app's own output:
mirrord exec --target pod/<pod-name> -- <your-command>
- Test environment - Remote env vars should be available locally:
mirrord exec --target pod/<pod-name> -- env | grep -i database
- Test network - Send a request to the remote service; it should reach the local process (check the local process's output):
curl http://<remote-service-url>
What's Next
Once the first session works, point users to:
mirrord ui— launches a local dashboard showing every active session on the machine, with a live event stream (HTTP requests, file operations, DNS, outgoing connections). See Local UI.mirrord up— for debugging several microservices together from onemirrord-up.yaml(compose-style). Point to the mirrord-up skill.- Browser extension — routes requests made from Chrome to the local process, for testing an HTTP-filtered session from a browser instead of
curl. See Debugging from Browser. - mirrord for Teams features (DB branc
अक्सर पूछे जाने वाले सवाल
क्लस्टर पर mirrord को क्या चाहिए?
स्किल Kubernetes 1.22 या नया, और Linux nodes जिन पर kernel 5.4 या नया चल रहा हो, सूचीबद्ध करती है।
क्या इसके बजाय VS Code या IntelliJ इस्तेमाल कर सकते हैं?
हाँ। स्किल CLI, VS Code या IntelliJ से इंस्टॉल करना कवर करती है।
अगर kubectl काम न करे तो?
स्किल कहती है कि पहले kubectl एक्सेस ठीक करें, क्योंकि mirrord को क्लस्टर तक पहुँचने के लिए उसकी ज़रूरत है।
जानकारी
लेखक का मूल विवरण
Guide users from zero to their first working mirrord session — check system requirements, install mirrord via CLI, VS Code, or IntelliJ, run a first session against a Kubernetes target, and verify the connection. Use when a user is new to mirrord, wants to install it, needs help running their first session, or wants to debug or test a local process against their Kubernetes cluster.
repo: metalbear-co/mirrord
लोकप्रियता
- GitHub स्टार
- 5.4k
- रैंकिंग में स्थान
- #14884
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
mirrord-chaos
5.4kयह आपके एजेंट को डेवलपर के टेस्ट सेशन में देरी या कनेक्शन त्रुटियाँ जोड़ने देती है, ताकि देखा जा सके कि ऐप धीमी या विफल सेवा से कैसे निपटती है।
mirrord-ci
5.4kयह आपके एजेंट को CI पाइपलाइन में mirrord सेट करने देती है, ताकि स्वचालित टेस्ट असली Kubernetes वातावरण के खिलाफ़ चल सकें।
mirrord-config
5.4kयह आपके एजेंट को mirrord.json फ़ाइल लिखने, जाँचने और ठीक करने देती है, जो तय करती है कि आपका लोकल ऐप Kubernetes वातावरण से कैसे जुड़े।
mirrord-db-branching
5.4kयह आपके एजेंट को mirrord डेटाबेस ब्रांच सेट करने देती है, ताकि डेवलपर टीम को प्रभावित किए बिना डेटाबेस की अलग कॉपी पर काम कर सके।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।