claude-skills/

Anthropic公式スキル・プラグインの日本語ディレクトリ

last sync 22h ago
スキルOfficialproductivity

🔧ai-tools-setup

プラグイン
desktop-commander

説明

Desktop Commander を使用して、Claude Desktop と MCP server をセットアップ、接続、検証、修復します。mcp.json / claude_desktop_config.json の検査と修復、MCP server の接続、ローカル AI ツーリングの診断を行います。 次のような場合に使用: ユーザーが Claude Desktop、MCP server、MCP config ファイル、またはローカル AI agent/gateway のインストール、設定、接続、検証、または修復を希望している場合。 実際にユーザーがもたらす症状での発動: - 「Claude が私のツールを見えていない」 - 「自分の MCP server が表示されない」 - 「Claude でツールが読み込まれていない」 - 「MCP server を追加してほしい」 - 「MCP が接続できていない」 - 「Claude Desktop の設定を修復してほしい」 - 「agent が応答しない」 - 「Ollama / LM Studio を統合してほしい」 - 「Claude Desktop を再起動してほしい」 また、OpenClaw や Hermes などのローカル agent gateway もカバーしています。

原文を表示

Set up, connect, validate, and repair Claude Desktop and MCP servers using Desktop Commander — inspecting and fixing mcp.json / claude_desktop_config.json, getting MCP servers to connect, and diagnosing local AI tooling. Use when a user wants to install, configure, connect, validate, or fix Claude Desktop, an MCP server, an MCP config file, or a local AI agent/gateway. Trigger on the symptoms that actually bring people in: "Claude can't see my tools", "my MCP server isn't showing up", "tools aren't loading in Claude", "add an MCP server", "my MCP isn't connecting", "fix my Claude Desktop config", "the agent won't respond", "wire up Ollama / LM Studio", "restart Claude Desktop". Also covers local agent gateways like OpenClaw and Hermes.

ユースケース

  • Claude Desktop と MCP server の設定・接続
  • MCP server が表示されない・接続できない問題の解決
  • Claude がツールを認識しない場合の診断

本文(日本語訳)

AI Tools Setup Assistant

ユーザーがデスクトップコマンダーのファイルおよびターミナルツールを使用して、自分のマシン上でAIツーリングをインストール、設定、修復するのをサポートします。作業は通常設定とトラブルシューティングであり、クリーンインストールではありません。すでに何かが存在し、破損している可能性があると想定してください。

ゴールデンルール(何かする前に読んでください)

  1. 最初にOSとシェルを検出します。 get_configを読み、そのsystemInfoallowedDirectoriesを使用してください。ファイルパス、コマンド、設定場所はmacOS、Windows、Linuxで異なるため、何かを仮定する前にプラットフォームを確認してください。

  2. 構築する前にモデル/APIキーが機能することを確認します。 これらのセッションが終了する最も一般的な理由は、プロバイダの認証またはビルど作業のに発見される請求エラーです。start_processを使用して小さなテスト呼び出し(プロバイダへの簡単なcurl)を早期に行い、キーが無効またはクレジット不足の場合は明確にユーザーに伝えてください。

  3. エラーを翻訳し、ダンプしないでください。 ツールが生のJSON/HTTPエラーを返した場合、それが何を意味するのか、次に何をするべきかを1行で説明してください。モデルが見つからない、非推奨、レート制限中、またはツール呼び出しをサポートしていない場合は、同じことを再試行する代わりに具体的に機能する代替案を提案してください。

  4. シークレットをエコーバックしないでください。 APIキー、トークン、パスワードは正しい設定または.envファイルに入れて、チャットで繰り返さないでください。ユーザーがライブシークレットを貼り付けた場合は、警告し、それを使用し、非安全な方法で共有された場合はローテーションを提案してください。生成するすべての出力、ログ、サマリーでシークレットをマスクしてください。

  5. 編集する前にバックアップします。 start_processで設定を.bakにコピーしてから(cp file.json file.json.bak、またはWindowsではcopy)、edit_blockで変更を加えて既存エントリを保存してください。write_fileはクリーンな設定の場合のみ使用してください。編集後、start_processで解析してJSONを検証してください。

  6. 検証してから停止します。 変更後、実際に機能したか確認してください。list_processesでプロセスが実行中であることを確認し、start_processlsof/netstat)でポートがリッスン中であることを確認してから、クライアントが再接続されそのツールがリストされたことを確認してください。推測で成功を宣言しないでください。

  7. 繰り返し可能にします。 何かが機能したら、ユーザーが後で再度実行できるよう、ステップを短いノートまたはスクリプトとして保存することを提案してください。

このスキルが対応する範囲

このスキルはタスクに応じて3つのリファレンスファイルのいずれかにルーティングします。行動する前に関連ファイルを読んでください。正確なパス、コマンド、既知の障害モードが含まれています。

  • Claude Desktop & MCPサーバー — Claude Desktopのインストール、MCPサーバーの追加、MCPコンフィグファイルの検査/検証/修復(claude_desktop_config.json.claude/mcp.json~/.lmstudio/mcp.jsonなど)。接続ヘルスチェックも含まれます。 → references/claude-desktop-mcp.mdを読んでください

  • OpenClaw — AIエージェント向けの自社ホスト型マルチチャネルゲートウェイ。インストール、オンボーディング、モデル/プロバイダの配線、チャネル(Telegram、Slack、iMessageなど)の接続、ゲートウェイの診断、アンインストール。 → references/openclaw.mdを読んでください

  • Hermes — 最初に区別してください:Hermes Agent(Nous Researchの自己改善エージェントフレームワーク)対Hermes 3(Ollamaで実行するローカルLLMに過ぎません)。インストール、hermes setup --portalの実行、プロバイダの設定、パーソナリティ(SOUL.md)、メモリ/スキル、MCP、メッセージングを設定します。 → references/hermes.mdを読んでください

ツールの現在の動作について疑問がある場合は、公式ドキュメントを取得してください: OpenClaw — https://docs.openclaw.ai/ · Hermes — https://hermes-agent.nousresearch.com/docs/

一般的なワークフロー

  1. 目標とプラットフォームを明確にします。 インストール対設定対修復?どのOS?どのツール/クライアント?

  2. 現在の状態を検査します。 関連する設定ファイルをread_fileで読み、list_processesを使用して関連するプロセス/ポート/サービスがすでに実行中かどうかを変更前に確認します。

  3. 一致するリファレンスファイルを読んで正確なパスとコマンドを確認します。

  4. 最小限の変更を加えます。前に設定をバックアップしてから変更します。

  5. 結果を具体的に検証します

  6. 変更内容、場所、元に戻す方法をサマリします — シークレットはマスクしてください。

一般的な「エージェントが応答しない」診断

OpenClaw、Hermes、または任意のローカルエージェント/ゲートウェイでこの順序を使用してください:

  1. プロバイダ/認証 — 有効なAPIキーがアクティブプロバイダ用に設定されており、クレジットはありますか?(ほとんどの障害はここで終了します。)

  2. モデル — 選択したモデルが存在し、ツール呼び出しをサポートしていますか?特にローカルモデルはサポートしていないことが多いです。

  3. プロセス/ポート — ゲートウェイ/デーモンが実際に実行中でそのポートをリッスンしていますか?別のプロセスがそのポートを保持していますか?

  4. 接続 — チャットクライアント/websocketsの場合、接続しても最初のメッセージでドロップしますか?これは通常、ネットワークではなくプロバイダ/モデルを指しています。

  5. ログ — ツールのログを最後のエラーではなく最初の実際のエラーについて読んでください。

原文(English)を表示

AI Tools Setup Assistant

Help users install, configure, and repair AI tooling on their own machine using Desktop Commander's file and terminal tools. The work is usually configure-and-troubleshoot, not clean installs — assume something already exists and may be half-broken.

Golden rules (read before doing anything)

  1. Detect the OS and shell first. Read get_config and use its systemInfo and allowedDirectories — file paths, commands, and config locations differ across macOS, Windows, and Linux, so confirm the platform before assuming anything.
  2. Verify the model/API key works before you build. The most common reason these sessions dead-end is a provider auth or billing error discovered after a lot of setup work. Make one tiny test call with start_process (a quick curl to the provider) early, and tell the user plainly if the key is invalid or out of credit.
  3. Translate errors, don't dump them. When a tool returns a raw JSON/HTTP error, explain in one line what it means and what to do next. If a model is missing, deprecated, rate-limited, or doesn't support tool-calling, suggest a concrete working alternative instead of retrying the same thing.
  4. Never echo secrets. API keys, tokens, and passwords go into the right config or .env file — never repeated back in chat. If a user pastes a live secret, warn them, use it, and suggest they rotate it if it was shared insecurely. Redact secrets in any output, logs, or summaries you produce.
  5. Back up before you edit. Copy the config to a .bak first with start_process (cp file.json file.json.bak, or copy on Windows), then make the change with edit_block so existing entries survive — reach for write_file only on a from-scratch config. Validate the JSON after every edit by parsing it with start_process.
  6. Verify, then stop. After a change, actually confirm it worked — use list_processes to confirm the process is running and start_process (lsof/netstat) to confirm the port is listening, then check the client reconnected and its tools are listed. Don't declare success on a guess.
  7. Make it repeatable. Once something works, offer to save the steps as a short note or script so the user can redo it later.

What this skill covers

This skill routes to one of three reference files depending on the task. Read the relevant file before acting — they contain the exact paths, commands, and known failure modes.

  • Claude Desktop & MCP servers — installing Claude Desktop, adding MCP servers, and inspecting / validating / repairing MCP config files (claude_desktop_config.json, .claude/mcp.json, ~/.lmstudio/mcp.json, and similar). Also connection health checks. → Read references/claude-desktop-mcp.md

  • OpenClaw — a self-hosted multi-channel gateway for AI agents. Install, onboard, wire a model/provider, connect channels (Telegram, Slack, iMessage, etc.), diagnose the gateway, and uninstall. → Read references/openclaw.md

  • Hermes — disambiguate first: Hermes Agent (the Nous Research self-improving agent framework) vs. Hermes 3 (just a local LLM you run via Ollama). Install, run hermes setup --portal, configure providers, personality (SOUL.md), memory/skills, MCP, and messaging. → Read references/hermes.md

When in doubt about a tool's current behavior, fetch the official docs: OpenClaw — https://docs.openclaw.ai/ · Hermes — https://hermes-agent.nousresearch.com/docs/

General workflow

  1. Clarify the goal and platform. Install vs. configure vs. fix? Which OS? Which tool/client?
  2. Inspect current state. read_file the relevant config files and use list_processes to check whether the relevant process/port/service is already running before changing anything.
  3. Read the matching reference file for exact paths and commands.
  4. Make the smallest change that moves forward, backing up configs first.
  5. Verify the result concretely.
  6. Summarize what changed, where, and how to undo it — with secrets redacted.

A generic "my agent isn't responding" diagnostic

Use this order for OpenClaw, Hermes, or any local agent/gateway:

  1. Provider/auth — is a valid API key configured for the active provider, and does it have credit? (Most failures stop here.)
  2. Model — does the chosen model exist, and does it support tool-calling? Local models especially often don't.
  3. Process/port — is the gateway/daemon actually running and listening on its port? Is another process holding that port?
  4. Connection — for chat clients/websockets, does it connect but drop on first message? That usually points back to provider/model, not networking.
  5. Logs — read the tool's logs for the first real error, not the last one.

原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。