← Back to Skills Marketplace
zhaozewen0519

1password Local

by zhaozewen0519 · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ Security Clean
192
Downloads
0
Stars
2
Active Installs
2
Versions
Install in OpenClaw
/install 1password-local
Description
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/...
README (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.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install 1password-local
  3. After installation, invoke the skill by name or use /1password-local
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug 1password-local
Version 1.0.2
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 2
Frequently Asked Questions

What is 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/... It is an AI Agent Skill for Claude Code / OpenClaw, with 192 downloads so far.

How do I install 1password Local?

Run "/install 1password-local" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 1password Local free?

Yes, 1password Local is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 1password Local support?

1password Local is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 1password Local?

It is built and maintained by zhaozewen0519 (@zhaozewen0519); the current version is v1.0.2.

💬 Comments