← 返回 Skills 市场
zhaozewen0519

1password Local

作者 zhaozewen0519 · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ 安全检测通过
192
总下载
0
收藏
2
当前安装
2
版本数
在 OpenClaw 中安装
/install 1password-local
功能描述
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/...
使用说明 (SKILL.md)

1Password CLI (Local)

Follow the official CLI get-started steps. Don't guess install commands.

References

  • references/get-started.md (install + app integration + sign-in flow)
  • references/cli-examples.md (real op examples)

Workflow

  1. Check OS + shell.
  2. Verify CLI present: op --version.
  3. Confirm desktop app integration is enabled (per get-started) and the app is unlocked.
  4. REQUIRED: create a fresh tmux session for all op commands (no direct op calls outside tmux).
  5. Sign in / authorize inside tmux: op signin (expect app prompt).
  6. Verify access inside tmux: op whoami (must succeed before any secret read).
  7. If multiple accounts: use --account or OP_ACCOUNT.

REQUIRED tmux session (T-Max)

The shell tool uses a fresh TTY per command. To avoid re-prompts and failures, always run op inside a dedicated tmux session with a fresh socket/session name.

Example (see tmux skill for socket conventions, do not reuse old session names):

SOCKET_DIR="${CLAWDBOT_TMUX_SOCKET_DIR:-${TMPDIR:-/tmp}/clawdbot-tmux-sockets}"
mkdir -p "$SOCKET_DIR"
SOCKET="$SOCKET_DIR/clawdbot-op.sock"
SESSION="op-auth-$(date +%Y%m%d-%H%M%S)"

tmux -S "$SOCKET" new -d -s "$SESSION" -n shell
tmux -S "$SOCKET" send-keys -t "$SESSION":0.0 -- "op signin --account my.1password.com" Enter
tmux -S "$SOCKET" send-keys -t "$SESSION":0.0 -- "op whoami" Enter
tmux -S "$SOCKET" send-keys -t "$SESSION":0.0 -- "op vault list" Enter
tmux -S "$SOCKET" capture-pane -p -J -t "$SESSION":0.0 -S -200
tmux -S "$SOCKET" kill-session -t "$SESSION"

Guardrails

  • Never paste secrets into logs, chat, or code.
  • Prefer op run / op inject over writing secrets to disk.
  • If sign-in without app integration is needed, use op account add.
  • If a command returns "account is not signed in", re-run op signin inside tmux and authorize in the app.
  • Do not run op outside tmux; stop and ask if tmux is unavailable.
安全使用建议
This skill appears coherent for using the 1Password CLI. Before installing, verify you trust the skill publisher and that your agent will handle captured command output safely: (1) ensure tmux socket directory permissions prevent other users from reading sockets/panes, (2) avoid sending captured pane content to chat or logs that others can access, and (3) confirm the Homebrew 1password-cli formula comes from the official source if brew will install it. If you need stronger guarantees, run op commands manually or in an isolated environment rather than granting the agent the ability to run them and capture pane output automatically.
功能分析
Type: OpenClaw Skill Name: 1password-local Version: 1.0.2 The skill bundle provides a legitimate interface for an AI agent to interact with the 1Password CLI (op). It includes detailed instructions in SKILL.md for managing authentication sessions using tmux, which is a documented workaround for handling TTY-based interactive prompts in stateless execution environments. The bundle includes appropriate guardrails against secret leakage and relies on official 1Password documentation and workflows.
能力评估
Purpose & Capability
Name/description match the requested binary and install: the skill requires the 'op' binary and provides a Homebrew install for the 1password-cli formula. No unrelated credentials, binaries, or remote endpoints are requested.
Instruction Scope
Instructions are largely within scope (install, sign-in, read/inject/run secrets). The SKILL.md mandates running all op commands inside a fresh tmux session and uses tmux capture-pane to collect output — this is coherent for isolating interactive auth, but capture-pane will include command output (which can contain secrets or auth responses). The skill does state guardrails (don’t paste secrets) but does not enforce where captured output may be routed, so operators should ensure the agent does not inadvertently expose captured pane contents to logs or chat.
Install Mechanism
Install uses a Homebrew formula (1password-cli) which is appropriate and low-risk compared with arbitrary downloads. No extract-from-URL or custom binaries are present.
Credentials
The skill requests no secrets or required environment variables. It references OP_ACCOUNT and an optional CLAWDBOT_TMUX_SOCKET_DIR for socket location, which are reasonable for operation but are not declared as required secrets.
Persistence & Privilege
always is false and the skill does not request persistent/system-wide privileges or modify other skills. Autonomous invocation is allowed (platform default) but not excessive here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install 1password-local
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /1password-local 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Added "(Local)" to the CLI section heading for clarification. - No workflow or functional changes; documentation updated only.
v1.0.0
Initial release of the 1Password CLI skill. - Provides structured guidance for setting up and using the 1Password CLI (`op`), including installation and app integration. - Requires all `op` commands to run inside a dedicated tmux session for security and reliability. - References detailed workflows for installing, signing in (including multi-account support), and accessing secrets. - Emphasizes security guardrails: avoids exposing secrets, uses `op run`/`op inject`, and recommends against running `op` outside tmux. - Includes example commands and links to official CLI documentation.
元数据
Slug 1password-local
版本 1.0.2
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 2
常见问题

1password Local 是什么?

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 192 次。

如何安装 1password Local?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install 1password-local」即可一键安装,无需额外配置。

1password Local 是免费的吗?

是的,1password Local 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

1password Local 支持哪些平台?

1password Local 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 1password Local?

由 zhaozewen0519(@zhaozewen0519)开发并维护,当前版本 v1.0.2。

💬 留言讨论