Logo von Op

Op

Community
kevinslin
op

Use 1Password CLI safely for agent credential workflows.

Übersicht

Herausgeberkevinslin
Repositoryagstack
Skill-Nameop
Sterne
26
Forks
1
Mitgelieferte Dateien
1
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • 1 mitgelieferte Dateien

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von kevinslin auf GitHub veröffentlicht. Prüfen Sie den Quellinhalt vor der Installation.

Installation

Installieren Sie den KI-Skill Op in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner — liest SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/kevinslin/agstack/tree/main/active/op
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill anlegen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format lesen kann, kann diesen Skill nutzen — kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kevinslin/agstack.git /tmp/agstack
mkdir -p .claude/skills
cp -r /tmp/agstack/active/op .claude/skills/op
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Op in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Op automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Op nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Keys.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

1Password CLI

Use this skill to operate 1Password CLI with least privilege and low transcript exposure.

Default Stance

  • Prefer op run with secret references over reading plaintext secret values.
  • Prefer a scoped 1Password service account for unattended agent or automation work.
  • Prefer app-integrated interactive sign-in for local, human-present workflows.
  • Never print, summarize, paste, commit, or store secret values in chat, logs, notes, diffs, shell history, screenshots, or generated docs.
  • Treat anything that reaches the transcript as exposed. If a secret was printed, tell the user to rotate it.

Preflight

Before touching secrets, establish what is needed:

  1. Identify the command or tool that needs the credential.
  2. Identify the smallest set of fields it needs.
  3. Decide whether the task can use secret references instead of plaintext.
  4. Check whether op is installed and authenticated without exposing secrets:
bash
command -v op
op --version
op whoami

If auth is missing, ask the user to unlock or sign in to 1Password. Do not ask the user to paste account passwords, Secret Keys, recovery codes, or service account tokens into chat.

Access Patterns

Run a command with secrets

Use this when a subprocess needs credentials:

bash
op run --env-file .env.op -- your-command

The .env.op file should contain secret references, not secret values:

dotenv
API_KEY=op://Vault/Item/api-key
TOKEN=op://Vault/Item/token

Keep secret-reference env files local and uncommitted unless the project explicitly wants shared references. If creating a local env file, set restrictive permissions:

bash
chmod 600 .env.op

Read a value only when necessary

Use plaintext reads only when no safer injection path exists. Prefer command substitution that passes the value directly to the consumer, and avoid echoing:

bash
TOKEN="$(op read 'op://Vault/Item/token')" your-command

Avoid these patterns:

bash
op read 'op://Vault/Item/token'
echo "$(op read 'op://Vault/Item/token')"
set -x
env
printenv

Get secret references

When a user gives an item name but not a reference, inspect item metadata carefully and avoid revealing field values. Do not print raw op item get --format json output; filter it before it reaches the transcript:

bash
op item get "Item Name" --vault "Vault Name" --format json \
  | jq '.fields[] | {label, id, type, purpose, reference}'

When the desired field is known, extract only the reference:

bash
op item get "Item Name" --vault "Vault Name" --format json \
  | jq -r '.fields[] | select(.label == "Field Name") | .reference'

Do not include secret field values in the final answer. If a command output includes values, redact them before quoting or summarizing.

Unattended agents and automations

Use a dedicated service account with access only to the needed vault/items. Keep the service account token out of repos and transcripts:

bash
export OP_SERVICE_ACCOUNT_TOKEN="..."
op whoami

In Codex or other agent runtimes, inject OP_SERVICE_ACCOUNT_TOKEN through the runtime's approved secret mechanism or a local secrets file sourced by the launching shell. Do not write it into project config unless that config is explicitly secret-managed and excluded from version control.

Decision Tree

  • Need to run tests/build/deploy with secrets: use op run --env-file.
  • Need to configure an app: write secret references to local config, then run the app under op run.
  • Need to inspect whether an item exists: use op item get and report metadata only.
  • Need a raw secret value: pause and confirm the value must be exposed to a process; use op read without printing it.
  • Need long-running or headless access: use a scoped service account, not a human's broad interactive session.
  • Need to troubleshoot auth: use op whoami, op account list, and non-secret error text.

Transcript And Log Hygiene

  • Before running commands, consider whether stdout/stderr may contain secrets.
  • Disable shell tracing around op commands.
  • Do not run broad environment dumps after injecting secrets.
  • Do not pipe secret-bearing output into log files.
  • When sharing output, redact tokens, passwords, session identifiers, account IDs if sensitive, and item values.
  • If a tool insists on verbose debug logs, prefer passing a dummy credential first to validate shape, then run the real command only when needed.

Git Hygiene

Before finishing any task that created or changed files:

bash
git status --short
git diff -- . ':!*.lock'

Confirm no plaintext secrets were added. If a secret appears in a tracked file or diff, stop, remove it, and tell the user to rotate the credential if it may have been persisted.

User-Facing Guidance

When explaining setup to a user:

  • Recommend op run and secret references first.
  • Explain the tradeoff between app-integrated local sign-in and service accounts.
  • Tell the user where to put references, not secret values.
  • Include exact commands, but use placeholder vault/item names.
  • Avoid implying Codex needs unrestricted access to all of 1Password.

Failure Handling

  • If op is missing, ask the user to install 1Password CLI.
  • If op whoami fails, ask the user to unlock/sign in or provide a runtime-approved secret injection path.
  • If a vault/item/field is missing, ask for the vault, item, and field names or IDs.
  • If permissions are denied, recommend narrowing or correcting vault access rather than broadening to all vaults.
  • If a secret was exposed, report that plainly and recommend rotation.

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Op?

Use 1Password CLI safely for agent credential workflows.

Warum Op in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Op besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Op in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/kevinslin/agstack/tree/main/active/op ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Op nutzen?

Jedes Modell, das Sie in TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Op verwenden?

So viele Sie möchten. Solange ein Modell Skills unterstützt, können Sie Op damit verwenden – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama und weitere – alles in TypingMind mit Ihren eigenen API-Schlüsseln.

Ist der KI-Skill Op kostenlos?

Der Skill wird von kevinslin auf GitHub veröffentlicht. Die Lizenzbedingungen finden Sie im Repository. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: eine Datei namens SKILL.md mit einem Namen und einer Beschreibung sowie allen Skripten, Vorlagen oder Referenzdateien, die das Modell möglicherweise benötigt. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und benötigen daher weder Server noch API-Schlüssel oder Laufzeitumgebung. Sie funktionieren mit jedem Modell.

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇