/mirrord:mirrord-quickstartfrom mirrord
Guides new users through installing mirrord (CLI, VS Code, or IntelliJ) and running their first session against a Kubernetes target for local debugging and testing.
Ships in mirrord. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Help new users get mirrord running quickly:
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.
Step 1: Detect user's environment Ask or detect:
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 Which Kubernetes versions does mirrord support? if a specific feature fails on an older cluster.
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:
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
# 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.
After running, verify the connection:
mirrord exec --target pod/<pod-name> -- <your-command>
mirrord exec --target pod/<pod-name> -- env | grep -i database
curl http://<remote-service-url>
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.curl. See Debugging from Browser.| 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 |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub metalbear-co/skills --plugin mirrord13 skills in this plugin
/mirrord-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 tracks. ECS setup, for platform teams - wire an existing Amazon ECS service (Fargate or EC2) to the MetalBear Cloud sessions-manager - store the serverless agent API key in AWS Secrets Manager, merge the mirrord remote bootstrap into the task definition, deploy and verify. Developer session - sign in with `mirrord login`, write a `mirrord-up.yaml` with a `serverless/` target, and run `mirrord up` (or the IDE) against the ECS service. Use when users mention mirrord Beyond, Beyond Kubernetes, ECS or Fargate with mirrord, serverless targets, sessions-manager, MetalBear Cloud, the serverless agent API key, MIRRORD_REMOTE_SERVICE, or errors from either side. Also covers the Operator-hosted mode briefly./mirrord-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 or delay to outgoing connections or a dependency (e.g. a slow database), simulate connection failures (reset, timed out, refused), test app behavior under degraded network conditions, or wire chaos rules into CI test runs. Always use this skill instead of the deprecated _experimental_.latency mirrord config option./mirrord-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./mirrord-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 mirrord.json, or needs mirrord.json options (env/fs/network) for a mirrord-up.yaml `config_patch`. For a new config to run a local process against a Kubernetes cluster from the CLI, use the mirrord-up skill instead. Always ensures output JSON is valid and schema-conformant./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, Google Spanner, Amazon S3, turbopuffer, or generic branches, configure copy modes, connection sources, schema migrations, IAM authentication, or manage database branches./mirrord-header-propagationMakes a codebase propagate W3C baggage (the `baggage` header carrying `mirrord-session=<key>`) end to end, so mirrord HTTP filters, preview environments, and queue splitting can route a whole request chain to one developer's session. Detects existing OpenTelemetry, Datadog, or other tracing that can already propagate baggage and enables it; otherwise adds a small propagation layer. Covers inbound/outbound HTTP and gRPC, publishing to and consuming from Kafka, RabbitMQ, SQS/SNS, GCP Pub/Sub, Azure Service Bus, NATS, Redis Pub/Sub, BullMQ and Temporal, per-message context restore in consumers, and storage hand-offs such as a GCS signed URL upload that triggers Pub/Sub or an S3 presigned upload that triggers SQS. Ends with a report of every flow found and which ones still drop the header. Use when the user asks to propagate headers, baggage, tracestate, the mirrord session key, or trace context across services or queues, or when a mirrord filter matches the first service but not downstream services or queue consumers.
Other plugins' skills for the same job