据 AlphaMoat 统计,截至 2026-09,1Password Cli For Agents 累计下载 2,657 次、获 0 个星标,在全部 5,078 个 AI 技能中排名第 3,978 位,在「AI 智能体」分类(969 个)中排名第 799 位。
| 平台 | 累计安装 | 累计下载 | 星标 | 评论 |
|---|---|---|---|---|
| ClawHub ↗ | 73 | 2,601 | - | 2 |
| SkillHub ↗ | 106 | 2,657 | - | — |
各平台的计数口径不同,统计时间不一致。
主文说明可检查认证、列出 vault、读取条目、创建登录项或安全笔记、编辑密码和删除项目;所有命令都依赖 OP_SERVICE_ACCOUNT_TOKEN。服务账户令牌及读取到的秘密都不得打印到控制台。将服务账户权限限制在专用 vault;创建、编辑或删除前核对目标并取得明确批准,避免把真实秘密直接写入命令参数或日志。
资料发布于 2026-10-29
以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-09 | 2,657 | — | - |
| 2026-08 | 2,312 | +5.7% | - |
| 2026-07 | 2,187 | +13.8% | - |
| 2026-06 | 1,921 | +9.4% | - |
| 2026-05 | 1,756 | — | - |
| 2026-03 | 1,339 | — | - |
以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 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 用的浏览器自动化命令行技能。
把用户纠正与自我复盘沉淀成分层记忆、并按使用情况升降级的技能。
在安装第三方技能之前,按清单审查来源、权限与危险模式的技能。
把 agent 的记忆与跨技能状态存成带类型和约束的知识图谱的技能。
一份为 AI 代理规划主动跟进、工作记忆与复盘流程的工作区配置指南。
指导如何创建与更新有效 Claude 技能的写作指南。
数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。