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 메모를 만들고, 검색하고, 읽고, 편집하고, 옮기거나 삭제하도록 돕습니다.
apple-reminders
12k에이전트가 remindctl 도구를 사용해 Mac의 Apple 미리 알림과 미리 알림 목록을 보고, 만들고, 수정하고, 완료하거나 삭제하도록 돕습니다.
document-to-action-items
12k에이전트가 문서, 회의 녹취록 또는 메모 묶음을 작업, 담당자, 마감일, 결정 사항이 정리된 명확한 표로 바꾸도록 돕습니다.
docx
12k에이전트가 Word .docx 파일을 만들고, 읽고, 편집하고, 점검하고, 시각적으로 검토하도록 돕습니다. 템플릿, 댓글, 변경 내용 추적, 표도 포함됩니다.