/onepassword-connector:runfrom onepassword-connector
Provides instructions for running a trusted local command with 1Password secret references, ensuring secrets are resolved outside the agent session and not exposed to Claude.
Ships in onepassword-connector. 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.
Do not run this command from Claude or any agent tool. Provide the operator the instructions below; never ask for, read, or print secret values or service tokens. This connector is an opt-in runtime-injection helper, not an evidence collector.
Install 1Password CLI v2 and authenticate outside the agent session using the vendor-supported desktop integration or a narrowly scoped service account. Its vault permissions should grant access only to needed items. This helper provides no interactive stdin, so sign in beforehand; desktop biometric approval may require a graphical session. It does not pass tokens in command arguments.
In a trusted terminal, set references (not values), then invoke a trusted command:
export CONNECTOR_TOKEN='op://MyVault/MyItem/credential'
node /path/to/onepassword-connector/scripts/run.js -- /path/to/trusted-collector --configured-option
The reference is an example; use a valid field reference for your item. The helper
checks only that an allowed value starts with op://; it does not parse or
validate reference syntax, completeness, existence, or access. 1Password CLI
resolves and validates references; a prefix alone is not proof of a valid
reference. See 1Password secret reference syntax.
References are permitted only as values beginning with op:// in CONNECTOR_TOKEN, TOKEN, API_TOKEN,
API_KEY, ACCESS_TOKEN, or PASSWORD; other variables containing op:// cause
an error before op starts. This prevents resolving references into loader or
interpreter control variables. Commands needing another variable name require a
trusted adapter. op run scans the inherited environment. The helper does
not fetch fields into the agent, write secret files or findings, or forward child
stdout/stderr. Exit 0 means the child succeeded; 1 means provider or child
failure; 2 means invalid invocation or no environment reference. Diagnostics are
intentionally generic. Provider/child errors cannot be distinguished here.
Only run programs you trust: the child receives resolved secrets in its
environment and can write, log, transmit, or disclose them. Other inherited
environment variables, including service-account credentials, may also reach the
child. A local process with sufficient privileges may inspect process memory or
environment. Protect the terminal, host and CI logs; do not put secret values in
arguments, shell history, tickets, findings, or agent conversations. Arguments are
passed literally without a shell; pipes and redirects are not interpreted.
The helper cannot control files or network calls made by the selected program.
Use a secure collector that writes sanitized evidence itself. For Document items,
see /onepassword-connector:document; to pass a field on standard input instead of
the environment, see /onepassword-connector:field. Metadata discovery, finding generation,
and automatic integration with collect-evidence are not implemented.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub grcengclub/claude-grc-engineering --plugin onepassword-connector4 skills in this plugin
/documentExplain operator-only document retrieval into a trusted command without displaying document contents./fieldExplain operator-only retrieval of one item field into a trusted command's standard input without displaying the value./onepassword-connector-expertGuide operators in using 1Password references without exposing secrets to the agent.Other plugins' skills for the same job