Zum Inhalt springen
Skillpedia
Sicherheit12k · #11560

1password

Was er macht

Dieser Skill richtet das offizielle Kommandozeilenwerkzeug von 1Password ein und nutzt es. Er hält Passwörter und Schlüssel aus Chat, Protokollen und committeten Dateien heraus. Er ist für Entwickler gedacht, die Geheimnisse in ihren Werkzeugen brauchen.

Wann du ihn nutzt

  • ✓Wenn ein Befehl oder eine Konfigurationsdatei ein Passwort, einen API-Schlüssel oder ein anderes in 1Password gespeichertes Geheimnis braucht.
  • ✓Wenn du prüfen willst, ob die 1Password-CLI installiert und angemeldet ist.
  • ✓Wenn du eine Konfigurationsvorlage mit Geheimnissen füllen willst, ohne sie in eine Datei zu schreiben.

Link zum Skill

https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/1password/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/1password/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Richte die Konfiguration meiner App so ein, dass sie das Datenbankpasswort aus 1Password holt, ohne dass ich es irgendwo einfügen muss.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent prüft, ob das 1Password-Werkzeug installiert und angemeldet ist. Dann nutzt er sichere Befehle, die Geheimnisse erst zur Laufzeit einsetzen, sodass das Geheimnis nie im Gespräch erscheint.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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.
Häufige Fragen

Muss ich mein Passwort in den Chat einfügen?

Nein. Der Skill sagt, Passwörter oder Tokens nicht im Chat abzufragen, sondern die eigenen Anmeldemethoden von 1Password zu nutzen.

Welche Anmeldemethoden unterstützt er?

Ein Dienstkonto-Token für automatisierte Einrichtungen, die 1Password-Desktop-App, wenn sie entsperrt ist, oder eine eigenständige interaktive Anmeldung.

Was passiert, wenn die CLI nicht installiert ist?

Der Agent erklärt, was fehlt, und verweist auf die offizielle Dokumentation von 1Password, statt sie still zu installieren.

Details

Originalbeschreibung des Autors

Set up and use 1Password CLI for authentication, secret references, command injection, and safe configuration templating.

repo: EKKOLearnAI/ekko-studio

Beliebtheit

GitHub-Sterne
12k
Platz im Ranking
#11560
Lizenz
—
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills