/workflow-skills:1passwordfrom workflow-skills
1Password CLI (op) usage in this dotfiles setup: desktop-app integration (biometric unlock) locally, optional service-account token (OP_SERVICE_ACCOUNT_TOKEN) for headless/non-interactive use. Key gotcha: op auth-status probes are meaningless under desktop integration (a read may still succeed); status only works with a service-account token. Use when reading secrets with op, writing passwordCommand entries, debugging 'is 1Password signed in?', or when an op read/run fails. Triggers on: op read, op run, op whoami, op signin, 1password, passwordCommand, secret fetch, mcp-secret-cache, biometric unlock, service account.
Ships in workflow-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
op) in this setupSecrets here are fetched at runtime with the 1Password CLI (op). Secrets never
land in git or the Nix store; nix passwordCommand entries and mcp-secret-cache.sh
call op read / op run when a value is needed. There are two auth modes:
op invocation on demand, usually via
a biometric (Touch ID) prompt. No persistent CLI session.OP_SERVICE_ACCOUNT_TOKEN is
exported, op runs fully non-interactively (no app, no biometric), scoped to
the token's granted vaults. Only this mode has a meaningful, working auth status.op auth status (desktop mode)With the desktop-app integration, auth/session status does NOT work and must NOT
be used as an indicator of whether op will work — a read call may still
succeed even when every status probe says "not signed in." This includes:
op whoamiop account get / op account listop signin / op signin --listWith desktop-app integration these can report not signed in, error, or hang —
even when op read / op run will succeed moments later (the app authorizes the
actual command on demand, not the status probe). Conversely a "signed in" result
doesn't guarantee the next read works. Auth status ≠ whether op works.
Do not add a status check as a guard, and don't conclude 1Password is broken because
op whoami failed. Test with a real read, not a status command.
Exception — service-account mode: if
OP_SERVICE_ACCOUNT_TOKENis set,op whoamidoes report the service-account identity reliably and reads are non-interactive. The "status is meaningless" rule is specific to the desktop integration.
Attempt the real read/run and handle its failure. Give it a timeout so the biometric prompt has time to appear but a genuinely-stuck call can't block forever:
# Read a single field
op read "op://Private/<item>/<field>"
# Run a command with secrets injected as env vars
op run -- some-command --flag "$SOME_SECRET"
# Time-boxed (mirrors mcp-secret-cache.sh — allow ~20s for the biometric prompt),
# non-fatal so a blocked/denied read doesn't wedge the caller:
TOKEN="$(timeout 20 op read "op://Private/<item>/credential" 2>/dev/null || true)"
[ -n "$TOKEN" ] || echo "op read failed — prompt the user to unlock 1Password, then retry"
If a read fails, the fix is almost always unlock the 1Password desktop app (bring it to foreground / Touch ID) and retry the real command — not to run a status check.
passwordCommand (e.g. git.nix, service configs): op read op://… at
activation/runtime. A blocked read should be non-fatal and never clobber a good
existing value.mcp-secret-cache.sh (claude-scripts/): wraps MCP servers, fetching their
tokens via op with a ~20s timeout to allow the biometric prompt — it does not
pre-check auth status, exactly for the reason above.op read — don't conflate the two
when debugging. It can't be driven by a service-account token. Connection
multiplexing (ControlPersist, ssh.nix) means one unlock covers a burst of git
ops. Headless agents use a dedicated key loaded into ssh-agent memory via a
service-account op read, or git over HTTPS + the gh token — never a key on disk.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub zach-source/claude-marketplace --plugin workflow-skills4 skills in this plugin
/grantedAWS role assumption with Granted CLI. Use when running AWS commands, assuming AWS profiles, switching accounts, or authenticating to AWS. Triggers on: assume, granted, AWS profile, AWS role, AWS SSO, switch AWS account, AWS console, AWS authentication, aws cli./herdrControl herdr from inside it. Manage workspaces and tabs, split panes, spawn agents, read output, and wait for state changes — all via CLI commands that talk to the running herdr instance over a local unix socket. Use when running inside herdr (HERDR_ENV=1)./herdr-claude-loopFan out autonomous Claude /loop sessions across git worktrees, one per epic/task, using herdr. Use when you have a set of independent work items (beads epics, issues, PRs) and want each driven by its own self-paced Claude session in an isolated worktree + herdr workspace. Triggers on: launch subsessions per epic, parallelize epics, one worktree per task, herdr claude loop, fan out agents on worktrees.Other plugins' skills for the same job