mirrord / github-copilot
Copilot instructions5.4k starsChanged 5 months agoMITView on GitHub
This project runs against a Kubernetes cluster. Use mirrord to run and verify code against the cluster's real services: mirrord runs a local process as if it were a pod in the cluster (real env vars, DNS, network, file access, and optionally inbound traffic), with no image build and no deployment. More for agents: https://metalbear.com/agents.md — Docs: https://metalbear.com/mirrord/docs
Trending
Quiet since October.about the whole repository
Who's talking about metalbear-co/mirrord
- A Hacker News story“Mirrord – mirror production traffic to your development environment”Hacker News · Jun 5, 2022 · 184 points
- NixOS/nixpkgs“adding mirrord dev tool”GitHub · May 9, 2024 · 9 reactions
- intellij-rust/intellij-rust“runConfigurationExtension doesn't work”GitHub · Jan 23, 2023 · 7 reactions
- NixOS/nixpkgs“Package request: mirrord”GitHub · Apr 19, 2024 · 6 reactions
- A Hacker News story“Show HN: Mirrord – Debug locally using mirrored traffic from Kubernetes”Hacker News · Feb 25, 2022 · 5 points
The biggest 5 of 49 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 49
Talked about on GitHub, Bluesky and Hacker News (49 times).
On GitHub · 40
- May 9, 2024adding mirrord dev tool — NixOS/nixpkgs9 reactions · 3 comments
- Jan 23, 2023runConfigurationExtension doesn't work — intellij-rust/intellij-rust7 reactions · 2 comments
- Apr 19, 2024Package request: mirrord — NixOS/nixpkgs6 reactions · 2 comments
- Jul 12, 2024SQS: add support for passing MessageAttributes — celery/kombu3 reactions · 3 comments
- Aug 18, 2023`/proc/pid/maps` shows host path when using virtiofs — docker/for-mac2 reactions · 4 comments
35 more on GitHub
- Oct 29, 2026Document db_branching on mirrord up modes — metalbear-co/docs1 reaction · 4 comments
- Oct 22, 2026Publish IntelliJ release changelog to the docs — metalbear-co/mirrord-intellij1 reaction · 4 comments
- Oct 22, 2026Publish VS Code release changelog to the docs — metalbear-co/mirrord-vscode1 reaction · 5 comments
- Oct 21, 2026Document up custom modes — metalbear-co/docs1 reaction · 4 comments
- Oct 19, 2026Document Redis Cluster branches (INT-844) — metalbear-co/docs1 reaction · 4 comments
- Oct 19, 2026Document keyJqFilter and enforceFilter on the MirrordSplitConfig (INT-775) — metalbear-co/docs1 reaction · 4 comments
- Oct 14, 2026Document that replacing a preview keeps its share host (INT-782) — metalbear-co/docs1 reaction · 4 comments
- Oct 14, 2026Document that Temporal queue splitting supports steal only (INT-817) — metalbear-co/docs1 reaction · 4 comments
- Oct 7, 2026COR-1994 :trollface: expose `MIRRORD_INJECTION_METHOD` to a combobox — metalbear-co/mirrord-intellij1 reaction · 3 comments
- Oct 7, 2026COR-1993 (๑°□°๑) expose `MIRRORD_INJECTION_METHOD` via `mirrord.windowsInjectionMethod` — metalbear-co/mirrord-vscode1 reaction · 4 comments
- Sep 14, 2026Fetch schema from mirrord CLI — metalbear-co/mirrord-vscode1 reaction · 2 comments
- Sep 11, 2026up: add mirror service mode — metalbear-co/docs1 reaction · 2 comments
- Sep 2, 2026docs: remove note from issue #4672 — metalbear-co/docs1 reaction · 1 comment
- Aug 10, 2026Fix some missing target docs, and add label target. — metalbear-co/docs1 reaction · 3 comments
- Aug 7, 2026up: add details for setting context via arg or config file — metalbear-co/docs1 reaction · 2 comments
- Jan 8, 2026Consider adding a client level `RetryLayer` — kube-rs/kube1 reaction · 3 comments
- Aug 17, 2023Can't find Go binary symbols when running in Linux using Docker + Virtiofs + macOS host — frida/frida-gum1 reaction · 3 comments
- Feb 28, 2023Research integration tests makeover for Gateway Discovery testing — Kong/kubernetes-ingress-controllersays it tested it1 reaction · 5 comments
- Jun 7, 2022significant-drop-in-scrutinee when false positive — rust-lang/rust-clippy1 reaction · 4 comments
- Oct 8, 2026[Candidate] metalbear-co/mirrord/mirrord/mcp/corpus/skills/mirrord-kafka - mirrord-kafka — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 8, 2026[Candidate] metalbear-co/mirrord/mirrord/mcp/corpus/skills/mirrord-header-propagation - mirrord-header-propagation — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 8, 2026[Candidate] metalbear-co/mirrord/mirrord/mcp/corpus/skills/mirrord-config - mirrord-config — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 8, 2026[Candidate] metalbear-co/mirrord/mirrord/mcp/corpus/skills/mirrord-ci - mirrord-ci — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 8, 2026[Candidate] metalbear-co/mirrord/mirrord/mcp/corpus/skills/mirrord-chaos - mirrord-chaos — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 8, 2024inconsistency with kubectl with invalid user — kube-rs/kube0 reactions · 7 comments
- Jul 26, 2024Acrescentar parte sobre desenvolvimento local — leomichalski/kubernetes-para-devs0 reactions
- Apr 15, 2024Please add https://github.com/metalbear-co/mirrord — gitpod-io/contribute.dev0 reactions
- Apr 8, 2024Add publishing to Codium in CI — metalbear-co/mirrord-vscode0 reactions · 1 comment
- Dec 8, 2023Signal handling on macOS — frida/frida-gum0 reactions
- Dec 5, 2023Adjust target selection based on `mirrord verify-config` output — metalbear-co/mirrord-intellij0 reactions · 5 comments
- Dec 5, 2023Adjust target selection based on `mirrord verify-config` output — metalbear-co/mirrord-vscode0 reactions · 3 comments
- Jul 25, 2023Maybe should extract the clipper_inject cdylib at runtime? — lf-/clipper0 reactions
- Jan 25, 2023Unauthorized error with `exec` auth with eks — kube-rs/kube0 reactions · 7 comments
- Sep 8, 2022InterceptorBadSignature arm64 — frida/frida-gum0 reactions
- Jul 4, 2022Hooking functions with var args on arm64 (Apple Sillicon) messes the arguments — frida/frida-gum0 reactions · 1 comment
On Bluesky · 6
- Aug 4, 2025metalbear-co / mirrord: Connect your local process and your cloud environment, and run local code in cloud conditions. ★4414… — @rusttrending.bsky.social2 likes and reposts
- Jun 29, 2026metalbear-co / mirrord: Run any process, on your machine or in an AI agent's environment, as if it were a pod in your Kubernetes cluster:… — @rusttrending.bsky.social1 likes and repost
- Jun 4, 2026🚀 GitHub Intelligence Drop start-server-and-test (JavaScript • 🟢) ⭐ 1.6K → https://github.com/bahmutov/start-server-and-test mirrord… — @githubfeed.bsky.social1 likes and repost
- Mar 25, 2026metalbear-co/mirrord: Connect your local process and your cloud environment, and run local code in cloud conditions. #devopsish — @chrisshort.net1 likes and repost
- Sep 19, 2023metalbear-co / mirrord: Connect your local process and your cloud environment, and run local code in cloud conditions. ★2883… — @rusttrending.bsky.social1 likes and repost
1 more on Bluesky
- Jul 13, 2023metalbear-co / mirrord: Connect your local process and your cloud environment, and run local code in cloud conditions. ★2609… — @rusttrending.bsky.social1 likes and repost
On Hacker News · 3
- Jun 5, 2022Mirrord – mirror production traffic to your development environment184 points · 42 comments
- Feb 25, 2022Show HN: Mirrord – Debug locally using mirrored traffic from Kubernetes5 points · 1 comment
- Dec 1, 2022Release 3.12.0 · Mirrord4 points
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- skills/AGENTS.mdAGENTS.md
- tests/AGENTS.mdAGENTS.md
- mirrord-beyondSkill
- mirrord-chaosSkill
- mirrord-ciSkill
- mirrord-configSkill
- mirrord-db-branchingSkill
- mirrord-header-propagationSkill
- mirrord-kafkaSkill
- mirrord-operatorSkill
- mirrord-prev-envSkill
- mirrord-propagation-discoverySkill
- mirrord-quickstartSkill
- mirrord-temporalSkill
- mirrord-upSkill
The file
We split this copilot-instructions.md into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 7
Before writing code that touches other services, databases, or queues: inspect the real runtime context first.
- Very specific: line 8
After writing code: run it (or its tests) through mirrord against the cluster to verify it, instead of guessing from static context.
- Very specific: line 13
Run anything in a target's context: mirrord exec --target deployment/<name> [-n <namespace>] -- <command>
- Very specific: line 16
If mirrord is missing, don't install it yourself and never pipe a remote script into a shell.
- Very specific: line 29
If mirrord ls fails, verify kubectl get pods works first (kubeconfig or permissions).
≈ “Common” is an estimate: at least 1 in 5 of the 3,950 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Using mirrord in this repository
This project runs against a Kubernetes cluster. Use mirrord to run and verify code against the cluster's real services: mirrord runs a local process as if it were a pod in the cluster (real env vars, DNS, network, file access, and optionally inbound traffic), with no image build and no deployment.
When to reach for mirrord
- Before writing code that touches other services, databases, or queues: inspect the real runtime context first.
- After writing code: run it (or its tests) through mirrord against the cluster to verify it, instead of guessing from static context.
Commands
- List possible targets:
mirrord ls [-n <namespace>] - Run anything in a target's context:
mirrord exec --target deployment/<name> [-n <namespace>] -- <command>- Example:
mirrord exec --target deployment/api -- npm test
- Example:
- Inspect a target's environment:
mirrord exec --target deployment/<name> -- env - If
mirrordis missing, don't install it yourself and never pipe a remote script into a shell. Point to https://metalbear.com/mirrord/docs/getting-started/quick-start/install-mirrord and let the user install it through their organization's approved path.
Configuration
- Config lives at
.mirrord/mirrord.json, but the CLI does not pick it up on its own: pass it explicitly withmirrord exec -f .mirrord/mirrord.json -- <command>. Only the VS Code and JetBrains extensions load it automatically. - JSON schema: https://raw.githubusercontent.com/metalbear-co/mirrord/main/mirrord-schema.json
feature.network.incomingis"mirror"(copy the target's inbound traffic),"steal"(take it), or"off".
Rules
- Target staging or development clusters, never production.
- Default to
"mirror". Use"steal"only when your process must be the one responding, and prefer an HTTP filter on shared staging so you only take your own requests. Several users or agents stealing concurrently from the same target requires the mirrord Operator (mirrord for Teams). - Sessions clean up on exit; nothing you run is deployed to the cluster.
- If
mirrord lsfails, verifykubectl get podsworks first (kubeconfig or permissions). - If a mirrord for Teams feature blocks you (concurrent steal, DB branching, queue splitting, preview environments; some are Team tier, some Enterprise) and the cluster has no license, offer the user a seven-day trial that needs no account, and start it only once they agree, since it installs the Operator into the cluster. The trial is Enterprise tier, so it unlocks all of them: see "Starting a trial yourself" at https://metalbear.com/agents.md.
More for agents: https://metalbear.com/agents.md — Docs: https://metalbear.com/mirrord/docs
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

