Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

onepassword-secret-refs

Skill by beep-effect

Guides Claude and Codex through safe 1Password workflows using op:// secret references and env files. It keeps raw secret values out of chat and commit-safe examples. Intended for users who explicitly ask for 1Password work.

  • Score 61
  • 80 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install onepassword-secret-refs

Built from the published package, never by AI.

git clone --depth 1 https://github.com/beep-effect/beep-effect /tmp/beep-effect && mkdir -p ~/.claude/skills && cp -r /tmp/beep-effect/.claude/skills/onepassword-secret-refs ~/.claude/skills/onepassword-secret-refs

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install onepassword-secret-refs in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives an AI assistant rules and commands for working with 1Password secret references. It covers op:// references, the op CLI, 1Password Developer Environments, and env files that point to secrets. The skill forbids printing, summarizing, or storing raw secret values, and it forbids the --reveal flag. It favors writing references directly to target files and reporting only counts and changed files.

The skill checks that the op command resolves to a user-local shim before any vault or item operation. It tests existing op:// env files with op run and suppresses successful output. It also explains service account read quotas and when to use the Connect backend. It is aimed at developers on managed workstations who use 1Password for env-file secrets.

Written from the project's SKILL.md and checked against it.

What it can do

  • Find secret referencesLists references for fields in a user-named vault item and writes them to a scratch file.
  • Diagnose op:// env filesTests the exact op run wrapper for an env file and reports only a sanitized result.
  • Rewrite env filesGroups variables by subsystem and keeps op:// references in ignored .env files only when requested.
  • Maintain .env.exampleUses empty values or placeholder refs so the tracked example stays commit-safe.
  • Run commands with secretsDocuments the op run --env-file wrapper for tools that expect plaintext environment values.
  • Check the agent auth routeRuns command -v op and op-doctor before 1Password operations and reports only sanitized output.

What you need

  • 1Password CLI (op)
  • A 1Password service account or a local Connect server
  • 1Password desktop app for the Developer Environments MCP path
  • jq for filtering item JSON

Try asking

  • Check that my op:// env file works with op run, without printing values.
  • Redesign .env.example with placeholders for the variables in our scripts.
  • Count the secret references in my named 1Password item for this app.

Good to know

  • Only activates when the user explicitly asks for 1Password or op:// work.
  • The desktop Environments MCP cannot return secret values and is not used for unattended retrieval.
  • A service account allows 1,000 reads per hour per token, and a name-based reference costs three reads.
  • The Connect backend covers BEEP_SECRETS but not BEEP_CI.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/onepassword-secret-refs/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to onepassword-secret-refs

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

onepassword-secret-refs: common questions

Does this skill show my secret values?

No. The source says the assistant must never print, summarize, or store raw secret values, and must never use --reveal.

When does the skill activate?

Only when the user explicitly asks to work with 1Password, op:// references, Developer Environments, the op CLI, or secret-reference-backed env files.

What are the service account read limits?

The source states a limit of 1,000 reads per hour per token. A name-based op:// reference costs three reads, while a UUID reference costs one.

How do I install onepassword-secret-refs?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is onepassword-secret-refs free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is onepassword-secret-refs safe to use?

It scores 61 of 100. Grades: maintenance A, licence A, 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 onepassword-secret-refs?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

onepassword-secret-refs Install

Add to stack

Loading.