Catalog npm
PACKAGE EXPLORERView in registry

2password

npm

1Password for coding agents: find, use, and save secrets without exposing them.

1passwordagentscliopsecretsskill
Versions collected4
Direct dependencies8From release 0.2.0
Last observed20 Oct, 19:17 UTC

README

Current package documentation

2password

1Password for coding agents. Your agent finds, uses, and saves secrets without ever seeing them, and asks you to approve far less often.

Install

Requires Bun and the 1Password CLI.

bun add -g 2password                  # the CLI
bunx skills add kitlangton/2password  # teaches your agent to use it

Use

2password find openai stripe        # returns op:// references, never values
2password run --env "OPENAI_API_KEY=op://Personal/OpenAI API Key/credential" -- bun dev
2password env run .env.tpl -- bun dev
2password create api-credential --title "OpenAI API Key" --vault Personal --clipboard

Run 2password --help to see all commands.

Fewer prompts

  • One prompt per command. find with many queries and env files with many references each need a single 1Password approval.

  • No prompts at all. Give your agent its own vault and a service account whose token lives in macOS Keychain, or on Windows in a file encrypted for your user (DPAPI):

    2password service-account setup --vault Automation --create-vault --write --save-vault Personal
    

Safety

  • Only read and env resolve intentionally return or materialize a secret from 2password.
  • run and env run inject plaintext into the selected child process. 2password does not print the value, but the child can; only use them with commands you trust with that credential.
  • New secrets come in through the clipboard or a pipe, never as arguments. Every write is read back and checked.
  • Writes are never retried automatically.

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 4

Collected releases
VersionPublishedDirect dependenciesOpen version
0.2.0Registry latest4 Oct 20268
0.1.13 Oct 20268
0.1.03 Oct 20268
0.0.0-stage3 Oct 20260

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
kitlangton/2password

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:17 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:6c8e3a5f373bf22f777995dc82296e78bec04421896c35dcb15b5db9238eb6d6