據 AlphaMoat 統計,截至 2026-09,1Password Cli For Agents 累計下載 2,657 次、獲 0 個星標,在全部 5,078 個 AI 技能中排名第 3,978 位,在「AI 智慧體」分類(969 個)中排名第 799 位。
| 平台 | 累計安裝 | 累計下載 | 星標 | 評論 |
|---|---|---|---|---|
| ClawHub ↗ | 73 | 2601 | - | 2 |
| SkillHub ↗ | 106 | 2657 | - | — |
各平台的計數口徑不同,統計時間不一致。
主文說明可檢查認證、列出 vault、讀取條目、建立登入項或安全筆記、編輯密碼和刪除專案;所有命令都依賴 OP_SERVICE_ACCOUNT_TOKEN。服務帳戶令牌及讀取到的秘密都不得列印到控制檯。將服務帳戶許可權限制在專用 vault;建立、編輯或刪除前核對目標並取得明確批准,避免把真實秘密直接寫入命令引數或日誌。
資料釋出於 2026-10-29
以下是根據技能文件生成的示例,不代表實際執行結果。
2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。
| 月份 | 累計下載 | 環比 | 星標 |
|---|---|---|---|
| 2026-09 | 2657 | — | - |
| 2026-08 | 2312 | +5.7% | - |
| 2026-07 | 2187 | +13.8% | - |
| 2026-06 | 1921 | +9.4% | - |
| 2026-05 | 1756 | — | - |
| 2026-03 | 1339 | — | - |
以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。
# 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:** - 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).
將開發過程中的經驗、錯誤與修正記錄為 Markdown 檔案,供日後重用並提升為工作區記憶。
用自然語言描述需求,在本機與遠端技能市場尋找技能並取得推薦。
給 AI agent 用的瀏覽器自動化命令列技能。
將使用者明確糾正與自我檢視整理成分層記憶,並依使用情況升級或封存。
在安裝第三方技能之前,按清單審查來源、許可權與危險模式的技能。
將代理記憶與跨技能狀態整理成具型別與約束的知識圖譜。
規劃 AI 代理主動跟進、工作記憶與回顧流程的工作區設定指南。
指導如何建立與更新有效 Claude 技能的寫作指南。
資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。