mirrord-quickstart
できること
このスキルは、mirrord を初めて使う利用者が、インストールして、最初のローカルのセッションを Kubernetes のターゲットに接続するまで案内します。最初に動く設定を求める初心者のためのものです。
使う場面
- ✓mirrord を初めて使い、初めてインストールしたいとき。
- ✓Kubernetes のクラスターへの最初の mirrord のセッションが接続できないとき。
- ✓クラスターが mirrord の要件を満たすか確認したいとき。
スキルのリンク
https://github.com/metalbear-co/mirrord/blob/main/mirrord/mcp/corpus/skills/mirrord-quickstart/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“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
よくある質問
クラスターには何が必要ですか?
Kubernetes の1.22 以降と、カーネル5.4 以降の Linux のノードが必要だとされています。
代わりに VS Code や IntelliJ を使えますか?
はい。CLI、VS Code、IntelliJ からのインストールが扱われています。
kubectl が動かない場合はどうしますか?
mirrord がクラスターに届くために必要なので、まず kubectl へのアクセスを直すよう勧めています。
詳細
作者による元の説明
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
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
mirrord-chaos
5.4kエージェントが、開発者のテストセッションに遅延や接続エラーを加え、アプリが遅い、または失敗する依存先にどう対処するかを確かめられるよう支援します。
mirrord-ci
5.4kエージェントが、自動テストが実際の Kubernetes の環境に対して実行できるよう、CI パイプラインに mirrord を設定できるよう支援します。
mirrord-config
5.4kエージェントが、ローカルのアプリを Kubernetes の環境につなぐ mirrord.json ファイルを書き、確認し、直せるよう支援します。
mirrord-db-branching
5.4kエージェントが、mirrord のデータベースのブランチを設定し、開発者がチームに影響を与えずに、データベースの分離されたコピーで作業できるよう支援します。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。