Skip to main content

Build

Mirrord Quickstart

mirrordOfficialCertified

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.

  • New
  • v1.0.1
  • No reviews yet

Capabilities

  • Purpose

    Go one step at a time — don't overwhelm a new user with all options at…

  • Critical First Steps

    If kubectl fails, help them configure it first

  • CLI (recommended for getting started)

    Do not run remote install scripts that pipe a network download into a…

  • CLI approach

    If mirrord ls returns no targets, check that the kubeconfig context…

Getting started

Full instructions

Example command

Critical First Steps

kubectl cluster-info

Instructions: SKILL.mdv1.0.1

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

bash
# 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 Which Kubernetes versions does mirrord support? if a specific feature fails on an older cluster.

Installation Paths

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:

bash
mirrord --version

VS Code Extension

  1. Open VS Code Extensions (Cmd/Ctrl+Shift+X)
  2. Search "mirrord"
  3. Install "mirrord" by MetalBear
  4. Look for mirrord icon in status bar

IntelliJ Plugin

  1. Open Settings → Plugins → Marketplace
  2. Search "mirrord"
  3. Install and restart IDE
  4. Find mirrord in navigation toolbar

First Session

CLI approach

bash
# 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>).

To keep the session's settings in a file, write a mirrord-up.yaml with the mirrord-up skill and run it with mirrord up, even for one service. If the user wants to keep running mirrord exec, write a mirrord.json with the mirrord-config skill instead and pass it with mirrord exec -f. The IDE extensions below don't run mirrord up, so they take a mirrord.json too.

IDE approach

  1. Enable mirrord (click status bar icon / toolbar button)
  2. Select target pod when prompted
  3. Run/debug your application normally
  4. mirrord intercepts and connects automatically

Verification

After running, verify the connection:

  1. Check logs - mirrord's startup progress (agent started, connected to the target) prints before your app's own output:
bash
mirrord exec --target pod/<pod-name> -- <your-command>
  1. Test environment - Remote env vars should be available locally:
bash
mirrord exec --target pod/<pod-name> -- env | grep -i database
  1. Test network - Send a request to the remote service; it should reach the local process (check the local process's output):
bash
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: runs the services listed in a mirrord-up.yaml together, one or several, to debug related microservices side by side. 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 branching, queue splitting, preview environments, concurrent steal on one target) need the Operator. On a cluster with no license, an AI agent can offer the user a seven-day Enterprise trial and start it once they agree: point to the mirrord-operator skill, "Agent-started trial".

Common First-Timer Issues

Issue Solution
"kubectl not found" Install kubectl and configure cluster access
"No pods found" Check namespace: kubectl get pods -n <namespace>
"Permission denied" Check RBAC permissions for your kubectl context
"Agent failed to start" Ensure the cluster runs Kubernetes 1.22+, with nodes on Linux kernel 5.4+ and a containerd, CRI-O, or Docker runtime

Explore more skills

Browse all
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

More from mirrord

View source →
mirrord-db-branchingHelps users configure mirrord.json for database branching, enabling isolated database copies for safe development and testing. Use when the user wants to set up MySQL, MariaDB, PostgreSQL, MSSQL, MongoDB, Redis, DynamoDB, ClickHouse,…0 installsmirrord-beyondHelp users set up and use mirrord Beyond, which runs a local process against workloads outside Kubernetes (docs section "Beyond Kubernetes"; the CLI, dashboard and config call them serverless workloads and `serverless/` targets). Two…0 installsmirrord-chaosHelp users chaos test their app with mirrord: inject artificial latency or connection errors into a mirrord session's outgoing traffic via per-session chaos rules managed with the `mirrord chaos` CLI. Use when a user wants to add latency…0 installsmirrord-temporalHelps DevOps engineers configure mirrord Operator's Temporal task queue splitting feature end-to-end. Generates the MirrordSplitConfig and MirrordPropertyList Kubernetes CRD YAMLs, the matching mirrord.json split_queues section with…0 installsmirrord-configHelps users generate, edit, and validate mirrord.json configuration files for mirrord (MetalBear). Use when the user runs mirrord from the VS Code or IntelliJ extension or with `mirrord exec`, needs feedback on or changes to an existing…0 installsmirrord-ciHelp users set up mirrord in CI pipelines for testing against real Kubernetes environments. Use when users want to run end-to-end tests, integration tests, or automated tests in CI using mirrord to connect to staging/shared clusters.0 installs

Frequently asked questions about mirrord-quickstart

What does the mirrord-quickstart skill do?

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. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the mirrord-quickstart skill?

Run `npx @skills-hub-ai/cli install mirrord-quickstart` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/mirrord-quickstart/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does mirrord-quickstart work with?

mirrord-quickstart runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the mirrord-quickstart skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use mirrord-quickstart after installing it?

In Claude Code, type `/mirrord-quickstart` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the mirrord-quickstart skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.

Badge for your README

Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.

Install on Skills Hub badge preview
Markdown
[![Install on Skills Hub](https://skills-hub.ai/api/badges/skill/mirrord-quickstart)](https://skills-hub.ai/skills/mirrord-quickstart)
HTML
<a href="https://skills-hub.ai/skills/mirrord-quickstart"><img src="https://skills-hub.ai/api/badges/skill/mirrord-quickstart" alt="Install on Skills Hub"></a>

More options in the badge docs.