1password
できること
このスキルは、公式の1Password用コマンドラインツールを設定して使います。パスワードやキーをチャット、ログ、コミットされたファイルの外に保ちます。ツールに秘密情報が必要な開発者向けです。
使う場面
- ✓コマンドや設定ファイルに、1Passwordに保存されたパスワード、APIキー、その他の秘密情報が必要なとき。
- ✓1Password CLIがインストールされていて、サインインしているかを確認したいとき。
- ✓秘密情報をファイルに書かずに、設定のテンプレートを埋めたいとき。
スキルのリンク
https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/1password/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“アプリの設定が、パスワードをどこにも貼らずに、1Passwordからデータベースのパスワードを取得するように設定してもらえますか。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、1Password用のツールがインストールされ、サインインしているかを確認します。その後、実行時に秘密情報を注入する安全なコマンドを使うので、秘密情報が会話に現れることはありません。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
1Password CLI
Use the official op CLI for secrets consumed by commands or configuration. Prefer workflows in which the secret never appears in model context, terminal output, logs, chat, shell history, or a committed file.
References
- Read
references/get-started.mdfor prerequisites, authentication modes, and platform notes. - Read
references/cli-examples.mdfor safe command patterns.
Workflow
- Check the operating system and shell.
- Verify the CLI without installing anything:
op --version. - Identify the configured authentication mode:
OP_SERVICE_ACCOUNT_TOKENis present: service account, usually for CI or headless use.- 1Password desktop integration is enabled: use the running, unlocked desktop app.
- Neither applies: standalone interactive sign-in is required.
- Verify access with
op whoamibefore a secret-consuming operation. - If more than one account exists, use
--accountor the already-configuredOP_ACCOUNTvalue. - Prefer
op runorop inject; useop readonly when its output can be consumed without being exposed.
If op is absent or authentication is not configured, explain the exact prerequisite and point to the official 1Password CLI documentation. Do not silently install the CLI, ask the user to paste a password or token into chat, invent credentials, or place a secret in tool arguments.
Authentication modes
Service account
The user must configure OP_SERVICE_ACCOUNT_TOKEN outside the conversation and agent command history. Do not print or inspect its value.
op whoami
op vault list
Service-account access is limited to its allowed vaults and does not require the desktop app.
Desktop app integration
Run op directly so it can reach the per-user desktop integration channel:
op vault list
op whoami
The first call may request Touch ID, Windows Hello, or system authentication. If the CLI cannot connect, ask the user to open and unlock 1Password and confirm CLI integration is enabled. Do not move this mode into tmux as a workaround.
Standalone interactive sign-in
An interactive sign-in creates a session environment variable that must stay in the same shell. On macOS or Linux, use a private tmux session only when desktop integration and service-account authentication are unavailable. Read the bundled tmux Skill first.
SOCKET_DIR="${EKKO_TMUX_SOCKET_DIR:-${TMPDIR:-/tmp}/ekko-tmux-sockets}"
mkdir -p "$SOCKET_DIR"
chmod 700 "$SOCKET_DIR"
SOCKET="$SOCKET_DIR/ekko-op.sock"
SESSION="op-auth-$(date +%Y%m%d-%H%M%S)"
tmux -S "$SOCKET" new -d -s "$SESSION" -n shell /bin/sh
tmux -S "$SOCKET" send-keys -t "$SESSION":0.0 -- 'eval "$(op signin --account my.1password.com)"' Enter
tmux -S "$SOCKET" capture-pane -t "$SESSION":0.0 -p -S - | tail -40
Do not queue later commands while sign-in is prompting. If a password, MFA challenge, or account choice is required, pause and ask the user to complete it locally by attaching to the named socket and session. Never request the password or one-time code in chat. After the prompt returns, send op whoami into that same pane and reuse the same SOCKET and SESSION for subsequent commands.
On Windows, prefer desktop integration or a service account. Do not translate the POSIX tmux flow into PowerShell without an explicitly provided persistent-session mechanism.
Guardrails
- Never relay secret values through chat or include them in a summary.
- Never use a command whose purpose is to print a secret merely to prove access; use
op whoamiand metadata-only listing commands. - Prefer
op runfor process environment variables andop injectfor templates. - Writing an injected file or
op read --out-filepersists secret material. Do it only when explicitly requested, restrict permissions, keep it out of version control, and explain cleanup. - Do not pass
--no-maskingunless the user explicitly requires unmasked output and the destination is known to be safe. - If authentication expires, fix the active mode rather than switching modes without the user's knowledge.
よくある質問
パスワードをチャットに貼る必要がありますか?
いいえ。このスキルは、チャットでパスワードやトークンを求めないよう定めており、代わりに1Password自身のサインインの方法を使います。
どのサインイン方法に対応していますか?
自動化の設定用のサービスアカウントトークン、ロックを解除した1Passwordのデスクトップアプリ、または単独で行う対話型のサインインに対応しています。
CLIがインストールされていない場合はどうなりますか?
エージェントは何が足りないかを説明し、黙ってインストールはせず、1Passwordの公式文書を案内します。
詳細
作者による元の説明
Set up and use 1Password CLI for authentication, secret references, command injection, and safe configuration templating.
repo: EKKOLearnAI/ekko-studio
人気
- GitHubのスター
- 12k
- ランキング
- #11560
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
apple-notes
12kエージェントが、memoコマンドラインツールを使って、Macのメモ(Apple Notes)を作成、検索、読み取り、編集、移動、削除できるよう支援します。
apple-reminders
12kエージェントが、remindctlツールを使って、Macのリマインダーとリマインダーのリストを一覧表示、作成、編集、完了、削除できるよう支援します。
document-to-action-items
12kエージェントが、文書、会議の書き起こし、メモを、タスク、担当者、期限、決定事項の明確な表に変換できるよう支援します。
docx
12kエージェントが、テンプレート、コメント、変更履歴、表を含め、Wordの.docxファイルを作成、読み取り、編集、確認し、見た目でレビューできるよう支援します。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。