1Password CLI

SkillDev tools

Install and use 1Password CLI (`op`) to sign in, inspect vault items, read secrets safely, and inject secrets into commands.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the 1Password CLI skill

What this skill tells your AI

The instructions your AI receives, as published by hybridaione/hybridclaw in skills/1password/SKILL.md and read by ahel’s review.

Use this skill for host-side secret workflows with 1Password CLI.

Default Workflow

  1. Check whether op is installed:
    op --version
    
  2. If it is missing, tell the user to run:
    hybridclaw skill install 1password op
    
    or install it manually.
  3. Verify sign-in state:
    op whoami
    op vault list
    
  4. Confirm the exact vault and item before reading any secret.
  5. Prefer secret injection over copying values into files or chat.

Safe Read Patterns

List items:

op item list --vault "Engineering"

Inspect an item without dumping every field:

op item get "Prod API" --vault "Engineering"

Read one field only:

op item get "Prod API" --vault "Engineering" --fields label=password

Read by secret reference:

op read "op://Engineering/Prod API/password"

Safe Injection Patterns

Run a command with secrets injected:

op run --env-file=.env.1password -- your-command

Inject a template into a throwaway runtime file:

RUNTIME_ENV="$(mktemp /tmp/runtime.env.XXXXXX)"
chmod 600 "$RUNTIME_ENV"
trap 'rm -f "$RUNTIME_ENV"' EXIT INT TERM
op inject -i .env.template -o "$RUNTIME_ENV"

Prefer /tmp or an untracked runtime path. Do not inject into tracked files unless the user explicitly asks. If you are done before the shell exits, run rm -f "$RUNTIME_ENV" and trap - EXIT INT TERM.

Rules

  • Never paste a secret value into chat unless the user explicitly requests it and there is no safer option.
  • Never commit, log, or echo secrets into shell history on purpose.
  • Default to read-only operations. Creating or editing vault items needs explicit user confirmation.
  • If op whoami fails, stop and tell the user they need to unlock the desktop app or sign in again.
  • If the task only needs a secret for one command, use op run instead of reading the secret into plain text.

Signals

GitHub stars
132
Forks
12
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
x-1password-hybridaione
Source
github.com/hybridaione/hybridclaw