sichengchen

1Password Cli For Agents

AIエージェントv0.1.0
作者:sichengchen更新日 2026-05-111password-cli@clawhub_sichengchen/1password-cli
ツール呼び出し

AlphaMoatによると、2026-09時点で1Password Cli For Agentsのダウンロード数は2,657、スター数は0で、AIスキル全体5,078件中3,978位、AIエージェントでは969件中799位です。

インストール数
106
ダウンロード数
2657
スター数
-
総合順位
#3,978
全体の上位 79% · AIエージェントの上位 83%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗732601-2
SkillHub ↗1062657-—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

主文では認証確認、vault 一覧、アイテム読み取り、ログイン項目やセキュアノートの作成、パスワード編集、削除を扱い、すべてのコマンドで OP_SERVICE_ACCOUNT_TOKEN が必要です。サービスアカウントトークンや取得した秘密をコンソールへ出力してはいけません。専用 vault に権限を限定し、作成・編集・削除の前に対象を確認して明示的な承認を得てください。実際の秘密をコマンド引数やログに含めないでください。

資料公開日 2026-10-29

できること

  • サービスアカウントがアクセスできる vault を一覧表示する
  • トークンを露出せず指定アイテムの一つのフィールドを読む
  • ユーザー確認用にアイテム作成・更新コマンド案を作る

使う場面

  • 1Password のサービスアカウントが許可された vault を管理する必要が明確なとき
  • サービスアカウントが必要最小限の vault 権限のみを持つとき
  • 書き込みや削除を実行前にユーザーが承認できるとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

サービスアカウントトークンを表示せず認証状態を確認する
指定アイテムの許可されたフィールドだけを読み、秘密の値を隠す
削除対象と影響を示し、承認を待つ

月次の推移

ダウンロード数2657
1234199827622026-03 · ダウンロード数 13392026-05 · ダウンロード数 17562026-06 · ダウンロード数 19212026-07 · ダウンロード数 21872026-08 · ダウンロード数 23122026-09 · ダウンロード数 265726-0326-09
スター数-
0112026-03 · スター数 -2026-05 · スター数 -2026-06 · スター数 -2026-07 · スター数 -2026-08 · スター数 -2026-09 · スター数 -26-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-092657—-
2026-082312+5.7%-
2026-072187+13.8%-
2026-061921+9.4%-
2026-051756—-
2026-031339—-

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

2.6 KB・ClawHub v0.1.0
# 1Password CLI for Agents

This skill allows agents to securely access and manage secrets using the 1Password CLI (`op`) and a Service Account. It provides commands for reading, writing, and managing items within a dedicated vault.

## Prerequisites

1.  **Install 1Password CLI:**
    -   macOS: `brew install --cask 1password-cli`
    -   Linux/Windows: See [official docs](https://developer.1password.com/docs/cli/get-started).
2.  **Create a Service Account:**
すべて表示(全 91 行)
    -   Go to [1Password Developer Portal](https://developer.1password.com/).
    -   Create a Service Account and grant it access to a specific vault (e.g., "Agent Vault").
    -   Copy the Service Account Token.
3.  **Set Environment Variable:**
    -   Set `OP_SERVICE_ACCOUNT_TOKEN` in your environment (e.g., `.env` file or export in shell).
    -   For OpenClaw, you can add `OP_SERVICE_ACCOUNT_TOKEN=...` to `.env`.

## Usage

All commands require the `OP_SERVICE_ACCOUNT_TOKEN` to be set.

### 1. Check Authentication

Verify the service account is working:

```bash
op whoami
```

### 2. List Vaults

List vaults accessible to the service account:

```bash
op vault list
```

### 3. Read an Item

Get details of an item (JSON format is best for parsing):

```bash
op item get "Item Name" --vault "Vault Name" --format json
```

Or get a specific field (e.g., password):

```bash
op read "op://Vault Name/Item Name/password"
```

### 4. Create an Item

Create a login item:

```bash
op item create --category login --title "My Service" --url "https://example.com" --vault "Vault Name" username="myuser" password="mypassword"
```

Create a secure note:

```bash
op item create --category "Secure Note" --title "API Key" --vault "Vault Name" notes="my-secret-key"
```

### 5. Edit an Item

Update a password:

```bash
op item edit "Item Name" password="newpassword" --vault "Vault Name"
```

### 6. Delete an Item

```bash
op item delete "Item Name" --vault "Vault Name"
```

## Tips for Agents

-   **Always use JSON output:** Add `--format json` to `op` commands for structured data that is easier to parse.
-   **Security:** Never print the `OP_SERVICE_ACCOUNT_TOKEN` or retrieved secrets to the console unless explicitly asked.
-   **Vaults:** If multiple vaults are available, specify the `--vault` flag to avoid ambiguity.
-   **Rate Limits:** Service accounts have rate limits. Cache results if possible or retry with backoff.

## Troubleshooting

-   **"You are not currently signed in":** Ensure `OP_SERVICE_ACCOUNT_TOKEN` is set correctly.
-   **"account is not authorized":** Check that the service account has permission for the specific vault and operation (read/write).

AIエージェントの人気スキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。