1password Skill
Description
A Claude Code skill for securing API keys with 1Password CLI. Stop hardcoding secrets where your AI tools can read them.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
1password -- Claude Code skill
Stop hardcoding API keys in `.env` files where your AI coding tools can read them.
This skill uses 1Password CLI to inject secrets at runtime. Your `.env` holds pointers instead of values, commands run through `op run`, and real secrets never touch disk, terminal output, or your AI's chat window.
Works with Claude Code, Cursor, Windsurf, Antigravity, or any tool that runs shell commands.
The idea
Your `.env` becomes pointers, not secrets:
OPENAI_API_KEY=op://Automation/OpenAI/credential
You run things through `op run`:
op run --env-file ~/.env -- python3 script.py
`op run` resolves the pointers, injects real values into the subprocess, and conceals them in any output. If the AI reads your `.env`, it only sees `op://` pointers. If a subprocess prints a secret, 1Password replaces it with ``.
How to install
**Easy way:** Drop this whole folder into your project and ask Claude to set it up. Tell Claude to walk you through `reference/setup-guide.md` step by step. It will ask which auth tier you want (biometric, service account manual, or service account auto-loaded) and handle the configuration.
**Manual way:**
- Follow reference/setup-guide.md once (10-15 minutes)
- Copy
SKILL.mdinto your Claude Code skills directory:mkdir -p ~/.claude/skills/1password cp SKILL.md ~/.claude/skills/1password/SKILL.md - Restart Claude Code so the skill loads
- Type
/1passwordwhenever you need to add a new API key
What's in this folder
| File | Purpose |
|---|---|
SKILL.md |
The /1password skill. Handles the day-to-day of adding new credentials. |
reference/setup-guide.md |
One-time setup. Install the CLI, pick an auth tier, configure your shell. |
Critical rules (baked into the skill)
- Never use
op read-- it prints raw secret values to the terminal - **Never paste secrets into
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的
AI mem0
| Universal memory layer for AI Agents | 51341 | 221 | 1 |
AI