op-helper
Skill by shepherdjerred
Helps an AI assistant use the 1Password CLI (op) to retrieve secrets, manage credentials and inject them into scripts. Aimed at developers and operators who keep secrets in 1Password.
Install op-helper
Built from the published package, never by AI.
git clone --depth 1 https://github.com/shepherdjerred/monorepo /tmp/monorepo && mkdir -p ~/.claude/skills && cp -r /tmp/monorepo/packages/dotfiles/dot_agents/skills/op-helper ~/.claude/skills/op-helperRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/shepherdjerred/monorepo /tmp/monorepo && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/monorepo/packages/dotfiles/dot_agents/skills/op-helper ~/.gemini/antigravity-cli/skills/op-helperAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill helps an AI assistant work with the 1Password CLI (op) for retrieving secrets, managing credentials and injecting secrets into applications and scripts. It covers reading items and fields, listing vaults and items, using op:// secret references, and running commands with secrets through op run. It also includes guidance on creating items from JSON templates and on setting up service accounts for CI/CD.
The skill is written for a local setup that uses the 1Password desktop app with biometric unlock, where each op call may prompt for approval. It tells the assistant to batch lookups into fewer calls, to check readiness with a real read instead of op whoami, and to avoid revealing or logging secret values. It also includes notes for a specific monorepo, including a toolkit command and a Cloudflare token wrapper, so it fits best with that layout. It is aimed at developers and operators who manage secrets with 1Password.
Written from the project's SKILL.md and checked against it.
What it can do
- Retrieve secretsGets item details and specific fields from 1Password using op item get.
- List vaults and itemsLists available vaults and the items inside them.
- Secret referencesUses op:// references to load secrets into environment variables.
- Run commands with secretsInjects secrets into a command with op run and masks them in output by default.
- Create items from templatesGenerates JSON item templates and creates items without exposing values in command history.
- Service account setupExplains how to set OP_SERVICE_ACCOUNT_TOKEN for CI/CD with least-privilege access.
- Reduce op callsBatches lookups with --format json to limit repeated desktop authentication prompts.
- Reveal sensitive fieldsShows how the --reveal flag displays concealed values and when to avoid it.
What you need
- 1Password CLI (op)
- 1Password account
- 1Password desktop app with biometric unlock for local use
- 1Password service account token for CI/CD
Try asking
- Get the password field from my 1Password item called Database Password
- List all items in my Production vault in 1Password
- Set DATABASE_URL from an op:// reference and run my app with op run
Good to know
- Written for a local desktop-app setup with biometric unlock.
- Each desktop-authenticated op call can prompt for biometric or password approval.
- Includes guidance specific to a monorepo toolkit and Cloudflare wrapper.
- Non-interactive CI use needs a service account token.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: packages/dotfiles/dot_agents/skills/op-helper/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to op-helper
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
op-helper: common questions
Why does op whoami fail even when 1Password works?
The skill says op whoami can report a false negative under the desktop-app integration because it looks for a shell session token that is not populated. It recommends running a real read command instead.
Are secret values hidden in output?
The skill says sensitive fields are concealed by default in v4 and require the --reveal flag to display. It also says secrets are masked in stdout by default with op run.
How can the assistant avoid many authentication prompts?
The skill advises fetching the full item once with --format json and extracting fields from it, instead of making a separate op call for each field.
How do I install op-helper?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is op-helper free?
The code is published under the GPL-3.0 licence. The service it connects to may have its own pricing.
Is op-helper safe to use?
It scores 53 of 100. Grades: maintenance A, licence C, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to op-helper?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
