mirrord-quickstart
Что он делает
Этот скилл проводит нового пользователя через установку mirrord и подключение первой локальной сессии к цели Kubernetes. Он нужен тем, кто впервые работает с mirrord и хочет получить первую рабочую настройку.
Когда использовать
- ✓Когда вы впервые работаете с mirrord и хотите его установить.
- ✓Когда первая сессия mirrord с кластером Kubernetes не подключается.
- ✓Когда вы хотите проверить, что кластер соответствует требованиям mirrord.
Ссылка на скилл
https://github.com/metalbear-co/mirrord/blob/main/mirrord/mcp/corpus/skills/mirrord-quickstart/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Я новичок в mirrord. Можешь проверить требования к моему кластеру, помочь установить его и запустить первую сессию?”
5 новых скиллов в неделю. 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 на ядре 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
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
mirrord-chaos
5.4kПомогает агенту добавить в тестовую сессию разработчика задержки или ошибки соединения, чтобы проверить работу приложения при сбоях.
mirrord-ci
5.4kПомогает агенту настроить mirrord в конвейерах CI, чтобы автоматические тесты могли работать с настоящим окружением Kubernetes.
mirrord-config
5.4kПомогает агенту писать, проверять и исправлять файл mirrord.json, который управляет подключением локального приложения к окружению Kubernetes.
mirrord-db-branching
5.4kПомогает агенту настроить ветки базы данных mirrord, чтобы разработчик работал с изолированной копией базы, не затрагивая команду.
Похожие скиллы
diffs
394kПозволяет агенту создать настоящее сравнение правок в виде ссылки или файла изображения, которым можно поделиться, вместо ручной сводки.
coding-agent
394kПомогает агенту передать большую задачу по коду в Codex, Claude Code или OpenCode как фоновому исполнителю, а затем проверять ее ход.
gh-issues
394kПомогает агенту находить задачи GitHub, выбирать, над какими работать, и открывать запросы на слияние с исправлениями, включая ответы на комментарии рецензентов.