1password-env — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited 1password-env (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
op) # macOS
brew install 1password-cli
# Linux/WSL
# Download from: https://1password.com/downloads/command-line/~/.zshrc: export OP_SERVICE_ACCOUNT_TOKEN="your-token" source ~/.zshrc op account list# Copy extension to Pi
mkdir -p ~/.pi/agent/extensions
cp extensions/1password.ts ~/.pi/agent/extensions/
# Reload Pi
reload.env (Standard format)# Non-sensitive variables
KEY=value
API_KEY=your-api-key
# Or with 1Password references
OPENAI_API_KEY=op://Private/API-Keys/openai.env.1pass (1Password references)# Format: VAR="op://vault/item/field"
OPENAI_API_KEY="op://Private/API-Keys/openai"
DATABASE_URL="op://Work/Database/prod"# Google AI
GOOGLE_GENERATIVE_AI_API_KEY=op://Private/API-Keys/google-ai
# Anthropic
ANTHROPIC_API_KEY=op://Private/API-Keys/anthropic
# OpenAI
OPENAI_API_KEY=op://Private/API-Keys/openai
# GitHub
GITHUB_TOKEN=op://Personal/GitHub/token.env Support/op-statusCheck 1Password authentication and loaded environment variables.
/op-envLoad project environment from ./.env.1pass.
.env.1pass).env.1pass, .env.local.1pass, etc./op-env-userLoad user-level environment from ~/.config/op-ssh/.env.1pass.
/op-get op://...Get a specific secret and copy to OP_LAST_SECRET env var.
/op-create-env [filename]Create a new project-level environment file with template.
Default: .env.1pass (if no filename provided)
Example:
/op-create-env # Creates ./.env.1pass
/op-create-env .env.local # Creates ./.env.local.1pass
/op-create-env .env.test # Creates ./.env.test.1passTemplate includes common API keys:
GITHUB_TOKENOPENAI_API_KEYANTHROPIC_API_KEY/op-add-item VAR_NAME op://... [--global]Add or update a 1Password secret reference in project or global env.
Project (default):
/op-add-item OPENAI_API_KEY op://Private/API-Keys/openai
/op-add-item DATABASE_URL op://Work/Database/prodGlobal:
/op-add-item OPENAI_API_KEY op://Private/API-Keys/openai --globalFeatures:
op item list/op-add-global-item VAR_NAME op://...Similar to /op-add-item but specifically for global user env.
Examples:
/op-add-global-item OPENAI_API_KEY op://Private/API-Keys/openai
/op-add-global-item ANTHROPIC_API_KEY op://Private/API-Keys/anthropic/op-listList all loaded environment variables with their sources.
/op-configOpen the config directory and show user env file.
# Step 1: Create project environment (defaults to .env.1pass)
/op-create-env
# Step 2: Add API keys easily (autocomplete helps find items)
/op-add-item OPENAI_API_KEY op://Private/API-Keys/openai
/op-add-item ANTHROPIC_API_KEY op://Private/API-Keys/anthropic
# Step 3: Load the environment
/op-env
# Step 4: Verify loaded variables
/op-status
/op-list| Location | Purpose | Command |
|---|---|---|
~/.config/op-ssh/.env.1pass | Global (all projects) | /op-env-user, /op-add-global-item |
./.env.1pass | Project-specific | /op-env, /op-add-item |
Cascade Order:
~/.pi/.env (Pi-level)~/.config/op-ssh/.env.1pass (global)./.env.1pass (project, overrides global)Both formats work in `.env.1pass` files:
# With export
OPENAI_API_KEY="op://Private/API-Keys/openai"
# Without export
OPENAI_API_KEY="op://Private/API-Keys/openai"Both formats work in project env files:
# With export
DATABASE_URL="op://Work/Database/prod"
# Without export
DATABASE_URL="op://Work/Database/prod"Set OP_SERVICE_ACCOUNT_TOKEN in ~/.zshrc and reload.
Check reference format: op://vault/item/field
Restart Pi or run /reload in Pi command.
The commands automatically update existing items - just run them again with the new reference.
Make sure op item list works and returns valid JSON. Run op login if needed.
Based on: "Combining Keychain and 1Password CLI for ssh-agent management" by Bas Nijholt.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.