본문으로 건너뛰기
Skillpedia
보안12k · #11560

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/1password/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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.md for prerequisites, authentication modes, and platform notes.
  • Read references/cli-examples.md for safe command patterns.

Workflow

  1. Check the operating system and shell.
  2. Verify the CLI without installing anything: op --version.
  3. Identify the configured authentication mode:
    • OP_SERVICE_ACCOUNT_TOKEN is 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.
  4. Verify access with op whoami before a secret-consuming operation.
  5. If more than one account exists, use --account or the already-configured OP_ACCOUNT value.
  6. Prefer op run or op inject; use op read only 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 whoami and metadata-only listing commands.
  • Prefer op run for process environment variables and op inject for templates.
  • Writing an injected file or op read --out-file persists secret material. Do it only when explicitly requested, restrict permissions, keep it out of version control, and explain cleanup.
  • Do not pass --no-masking unless 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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬