# Claude

本書では、Claude Codeのプラグインマーケットプレースからのインストールについて説明します。別のエージェントを使用する場合は、AIエージェント向けの[インストール方法](/keeperpam/jp/secrets-manager/integrations/ai-agents.md#installation)をすべてご参照ください。

***

### 手順1: マーケットプレースを追加 <a href="#step-1-add-the-marketplace" id="step-1-add-the-marketplace"></a>

Claude Codeのセッションを開き、以下を実行します。

```bash
/plugin marketplace add Keeper-Security/keeper-agent-kit
```

これでKeeper Agent KitのカタログがClaude Codeに登録されます。この時点ではスキルはまだインストールされていません。

{% columns fullWidth="false" %}
{% column %}

<figure><img src="/files/UR0heBZvThXpuE4YaBq4" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column %}

<figure><img src="/files/UBEIsUICVR5OuVeNVDdH" alt=""><figcaption><p>追加に成功しました</p></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

### 手順2: スキルをインストール <a href="#step-2-install-skills" id="step-2-install-skills"></a>

必要なスキルをインストールします。

```bash
/plugin install keeper-secrets@keeper-security
/plugin install keeper-admin@keeper-security
/plugin install keeper-setup@keeper-security
```

または、まず `/plugin` を実行し、**\[Discover]** タブでカタログを参照してから、必要なものを選びます。

{% columns fullWidth="false" %}
{% column %}

<div data-full-width="true"><figure><img src="/files/4riVSwmeGWFg0yq28f1V" alt=""><figcaption></figcaption></figure></div>
{% endcolumn %}

{% column %}

<figure><img src="/files/r3eNwMG6sWYkLddiQhf1" alt=""><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

### 手順3: 動作確認 <a href="#step-3-verify" id="step-3-verify"></a>

`/plugin` を実行し、**\[インストール済み]** タブを開きます。Keeperのスキルが一覧に表示されているか確認してください。動作確認として、例えば以下のプロンプトを入力してみてください。

> "How do I list my KSM profiles?"

エージェントが `ksm profile list` と応答すれば、スキルが動作しています。

<div data-full-width="false"><figure><img src="/files/vyE2L4EyRkCtOrrqxwnp" alt=""><figcaption></figcaption></figure></div>

***

### スコープの選択 <a href="#choosing-a-scope" id="choosing-a-scope"></a>

Claude CodeのUIからインストールするときは、スコープの選択が求められます。各スコープの意味は以下のとおりです。

| スコープ             | 誰が使えるか         | 保存場所                         | 使い分け                           |
| ---------------- | -------------- | ---------------------------- | ------------------------------ |
| **ユーザー** (デフォルト) | あなた、すべてのプロジェクト | `~/.claude/skills/`          | 複数のリポジトリでKeeperを利用する場合         |
| **プロジェクト**       | リポジトリ上の全員      | `.claude/skills/` (gitにコミット) | チーム全員に同じスキルを揃えたい場合             |
| **ローカル**         | このリポジトリのみのあなた  | `.claude/skills/` (コミットしない)  | 検証中、または1つのリポジトリでのみKeeperが必要な場合 |

コマンドラインから `/plugin install` でインストールする場合、スキルのデフォルトは**ユーザー**スコープです。別のスコープを選ぶ場合は、対話型のUIを使用してください。

***

### 自動更新 <a href="#auto-updates" id="auto-updates"></a>

Claude Codeには、起動時にマーケットプレースのプラグインを自動更新する機能があります。Keeper Agent Kitはサードパーティのマーケットプレースのため、自動更新のデフォルトは**オフ**です。

自動更新を有効にする手順は以下のとおりです。

1. `/plugin` を実行
2. **\[マーケットプレース]** タブを開く
3. Keeperのマーケットプレースを選択
4. **\[自動更新を有効にする]** を選択

更新がある場合は、`/reload-plugins` の実行を促すメッセージが表示されます。

***

### アンインストール <a href="#uninstall" id="uninstall"></a>

個別のスキルを削除するには、以下のコマンドを実行します。

```bash
/plugin uninstall keeper-secrets@keeper-security
/plugin uninstall keeper-admin@keeper-security
/plugin uninstall keeper-setup@keeper-security
```

マーケットプレースのカタログを丸ごと削除するには、以下のコマンドを実行します。

```bash
/plugin marketplace remove Keeper-Security/keeper-agent-kit
```

削除されるのはエージェント用のスキルのみです。KSM CLIとコマンダーCLIはマシン上に残ります。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.keeper.io/keeperpam/jp/secrets-manager/integrations/ai-agents/claude.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
