Saltar al contenido
Skillpedia
Seguridad12 mil · #11560

1password

Qué hace

Esta skill configura y usa la herramienta oficial de línea de comandos de 1Password. Mantiene las contraseñas y las claves fuera del chat, de los registros y de los archivos confirmados. Está pensada para desarrolladores que necesitan secretos en sus herramientas.

Cuándo usarla

  • ✓Cuando un comando o un archivo de configuración necesita una contraseña, una clave de API u otro secreto guardado en 1Password.
  • ✓Cuando quieres comprobar que la CLI de 1Password está instalada y que has iniciado sesión.
  • ✓Cuando necesitas rellenar una plantilla de configuración con secretos sin escribirlos en un archivo.

Link de la skill

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

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/1password/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Configura mi aplicación para que obtenga la contraseña de la base de datos desde 1Password, sin que yo la pegue en ningún sitio.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente comprueba que la herramienta de 1Password está instalada e iniciada. Después usa comandos seguros que inyectan los secretos en el momento de la ejecución, de modo que el secreto nunca aparece en la conversación.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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.
Preguntas frecuentes

¿Tengo que pegar mi contraseña en el chat?

No. La skill indica que no hay que pedir contraseñas ni tokens en el chat y usa los propios métodos de inicio de sesión de 1Password.

¿Qué métodos de inicio de sesión admite?

Un token de cuenta de servicio para configuraciones automatizadas, la aplicación de escritorio de 1Password cuando está desbloqueada, o un inicio de sesión interactivo independiente.

¿Qué pasa si la CLI no está instalada?

El agente explica qué falta y te remite a la documentación oficial de 1Password, en lugar de instalarla en silencio.

Detalles

Descripción original del autor

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

repo: EKKOLearnAI/ekko-studio

Popularidad

Estrellas en GitHub
12 mil
Posición en el ranking
#11560
Licencia
—
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas