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

1password-sdk

Skill by MadAppGang

Teaches an assistant to load secrets and environment variables from 1Password in JavaScript or TypeScript using the official @1password/sdk. Built for developers wiring 1Password into Node, Bun or TypeScript apps.

  • Score 72
  • 1k stars
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install 1password-sdk

Built from the published package, never by AI.

git clone --depth 1 https://github.com/MadAppGang/claudish /tmp/claudish && mkdir -p ~/.claude/skills && cp -r /tmp/claudish/.claude/skills/1password-sdk ~/.claude/skills/1password-sdk

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

Step-by-step: install 1password-sdk in Claude Code

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

About

The 1password-sdk skill explains how to use the official @1password/sdk to read secrets from 1Password in-process, without the op CLI. It covers authenticating with a service account token or the desktop app, and resolving op:// references one at a time or in batches. It also covers reading 1Password Environments with the beta SDK and discovering the fields of an item for bulk imports.

It is aimed at developers who need credentials at runtime in Node, Bun or TypeScript apps. The skill says to prefer this SDK over shelling out to the op CLI unless the task needs an interactive op signin session. Resolved secrets should stay in memory and never be logged or written to disk.

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

What it can do

  • Resolve secretsResolves a single op:// reference with secrets.resolve.
  • Batch resolveResolves many references in one round-trip with secrets.resolveAll, with per-reference errors.
  • Validate referencesChecks an op:// reference syntactically with Secrets.validateSecretReference, without network access.
  • List vaults and itemsLists vaults and items by ID using client.vaults.list and client.items.list.
  • Get item fieldsFetches an item's fields and sections with client.items.get for bulk imports.
  • Read EnvironmentsReads 1Password Environment variables with environments.getVariables, in the beta SDK.

What you need

  • 1Password service account token or the 1Password desktop app with SDK integration enabled
  • Node.js, Bun or another TypeScript runtime
  • npm or Bun to install @1password/sdk

Try asking

  • Load the database password from 1Password and use it in my Node app.
  • Resolve these op:// references in one batch and show any that fail.
  • Import all API keys from my 1Password item into process.env.

Good to know

  • Reading 1Password Environments requires the beta SDK, version 0.4.1-beta.1.
  • Service account tokens cannot read Private or Personal vaults, only shared vaults.
  • The SDK cannot reuse an existing op signin session and needs its own auth.
  • items.get returns decrypted values for every field, with no names-only mode.

Security check

A

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

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

Alternatives to 1password-sdk

All alternatives →

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

1password-sdk: common questions

Should I use the 1Password SDK or the op CLI?

The skill recommends the in-process SDK over the op CLI unless the task needs the user's interactive op signin session. The SDK avoids a separate binary and batches resolution.

Can a service account read my Private vault?

No. The skill says service account tokens can only read shared vaults. The DesktopAuth option uses the running desktop app and can read the Private vault.

Which SDK version do I need for 1Password Environments?

The stable release does not include the environments API. The skill says to install @1password/sdk@0.4.1-beta.1.

How do I install 1password-sdk?

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

Is 1password-sdk free?

The code is public, but no licence file was found, so check the repository before commercial use.

Is 1password-sdk safe to use?

It scores 72 of 100. Grades: maintenance A, licence F, quality A. 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 1password-sdk?

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

1password-sdk Install

Add to stack

Loading.