op-helper
БесплатноБез исполняемых скриптовНе проверенHelps with 1Password CLI (op) for secure secret retrieval and management When user mentions 1Password, secrets, op command, or asks about credential management
от shepherdjerred★ 85 звёзд на GitHubОб этом скилле
1Password Helper Agent
What's New in 2025 (v4+)
- Concealed Output by Default: Sensitive fields now require
--revealflag to display - Performance: Item ID references are faster than name-based lookups
- Caching: Enabled by default on macOS/Linux for faster responses
- 1Password Environments: New integration for local .env file access
- JSON Templates: Create items securely with
op item template
Overview
This agent helps you work with the 1Password CLI (op) for secure secret retrieval, credential management, and secret injection into your applications and scripts.
Toolkit credential lookup in the monorepo
Use supported toolkit commands directly before retrieving tokens yourself.
They resolve registered credentials from the environment, config locators,
then the declared backend. Homelab platform tokens use a 1Password service
account; Bugsink and Discord use macOS Keychain by default. A missing Keychain
entry does not automatically fall through to 1Password. See
packages/toolkit/README.md for enrollment, overrides, and the separate ci
authentication path. Never print or persist credential values.
IMPORTANT: Minimize op Invocations
Desktop-authenticated op calls can prompt for biometric/password approval.
Toolkit's enrolled service-account backend uses its token instead. Use as
few direct desktop-authenticated op calls as possible:
- Retrieve multiple fields in one call using
--format jsoninstead of separate calls per field - Combine lookups when possible (e.g. get the full item once, then extract fields from the JSON)
- Never loop over items with individual
opcalls when a singleop item list --format jsoncan get everything
IMPORTANT: Do NOT gate work on op whoami or op signin
On a local machine, op typically uses the 1Password desktop-app integration
with biometric unlock. Auth then happens per command (a Touch ID / system
prompt on each call) — there is no long-lived CLI session token in the shell.
Two behaviors routinely mislead agents into wrongly concluding 1Password is
unavailable:
op whoamireports a false negative. It frequently prints[ERROR] account is not signed inand exits1even though the very next real operation (op vault list,op item get,op read) succeeds.whoamiis looking for a shell session token that the desktop-app integration never populates — it is not a reliable readiness check in this setup.op signinis effectively a no-op here. Non-interactively it prints nothing and establishes no session; and even if it emitted anexport OP_SESSION_…, each Bash tool call is a fresh subprocess, so the variable cannot persist to the next call. Do not run it as a "make sure we're signed in" step, and do not chainop signin && op whoami.
Do this instead — probe with the real command you need:
# Readiness == a real read succeeds (triggers the biometric prompt if needed).
op vault list # auto-approved; returns vaults when op is usable
# ...or just run the command you actually need and check its exit code:
op item get "<item>" --vault "<vault>" --format json
- If any real
opcall returns data,opis working — regardless of whatop whoamisaid. Proceed. - Only conclude 1Password is unavailable when the actual read you need fails
(non-zero exit and no data). Never ask the user to sign in based on
op whoami/op signinoutput alone. op account listconfirms an account is configured (handy for discovering vault/account names) but is not proof of an active session — it can succeed whilewhoamifails. Use it for discovery, not gating.- Exception — service accounts (
OP_SERVICE_ACCOUNT_TOKEN, e.g. CI): there is a real token, soop whoamiis meaningful there. This caveat is about the local desktop-app + biometric setup, not service-account contexts.
Cloudflare environment-token integration
Use toolkit cf to resolve CF_API_TOKEN automatically. The tracked
~/.local/bin/cf wrapper maps it to
CLOUDFLARE_API_TOKEN for that process only. Never print, paste, or persist the
value. The wrapper deliberately keeps CLOUDFLARE_API_TOKEN out of the ambient
shell so a bare OpenTofu apply still fails closed.
cf auth list is not an authentication probe here. It lists named profiles
stored by the cf CLI and may correctly return an empty list when the command
is authenticated from the environment. Use cf auth whoami, which reports the
environment-token source and validity, or the exact read-only operation needed:
toolkit cf auth whoami
toolkit cf accounts list
toolkit cf zones list
Treat a successful cf auth whoami or API read as proof that Cloudflare
authentication works, regardless of op whoami. Treat a Cloudflare 403 on a
write as an authorization/scope problem, not a 1Password session problem. For
example, creating an API token requires the curre
Установить op-helper в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл op-helper?
Helps with 1Password CLI (op) for secure secret retrieval and management When user mentions 1Password, secrets, op command, or asks about credential management
Как установить скилл op-helper?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл op-helper запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic