कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

mh-1password

mohdalhashemi98-hue द्वारा

Health & Fitness
263clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Set up and use 1Password CLI (op)

विवरण

यह स्किल क्या करती है

Installs and configures the 1Password CLI (`op`) for reading, injecting, and running secrets from a 1Password vault. Handles authentication flows including desktop app integration and multi-account setups. All `op` commands run inside a dedicated tmux session to avoid TTY re-prompt failures.

`op run` and `op inject` keep secrets out of env files and shell history entirely, unlike manually exporting variables.

इसे कब इस्तेमाल करें

  • Injecting API keys into a dev server without writing them to disk
  • Running a script with secrets via `op run` in CI-like workflows
  • Switching between multiple 1Password accounts using `--account`
  • Verifying vault access and listing available vaults after sign-in
  • Automating secret retrieval inside tmux for shell-tool environments

उदाहरण वर्कफ़्लो

इनपुट

User asks: run my deploy script with production secrets from 1Password

एजेंट
  1. 1

    Verify op --version confirms CLI is installed

  2. 2

    Create a fresh tmux session with a unique socket and session name

  3. 3

    Run op signin inside tmux and wait for desktop app authorization

  4. 4

    Confirm access with op whoami before proceeding

  5. 5

    Execute op run -- ./deploy.sh inside the tmux session to inject secrets at runtime

आउटपुट

Deploy script runs with secrets injected via `op run`, nothing written to disk or logs

आवश्यकताएँ

  • 1Password desktop app installed and unlocked
  • 1Password account (personal or team)
  • op CLI installed (via brew or official installer)

इंस्टॉलेशन

clawhub install mohdalhashemi98-hue/mh-1password

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक