A skill for Claude Code that provides comprehensive guidance for working with the 1Password CLI (op command).
This skill helps Claude Code assist with:
- Secrets Management: Reading, creating, and managing items in 1Password vaults
- Authentication: Setting up desktop app integration, service accounts, and manual sign-in
- Environment Injection: Using
op runto inject secrets into development environments - Secret References: Working with the
op://vault/item/fieldURI format - CI/CD Integration: Configuring service account tokens for automated environments
- Best Practices: Security recommendations for secrets management
Visit skillsmp.com and search for "1password-cli".
# Create skills directory if it doesn't exist
mkdir -p ~/.claude/skills/1password-cli
# Download the skill
curl -o ~/.claude/skills/1password-cli/SKILL.md \
https://raw.githubusercontent.com/prestonbourne/1password-cli-skill/main/SKILL.mdOnce installed, Claude Code will automatically use this skill when you ask about:
- 1Password CLI commands
- Secrets management
- API key retrieval from vaults
- Environment variable injection with
op run - Service account configuration
- "How do I read an API key from 1Password?"
- "Set up op run to inject secrets into my dev server"
- "Help me create a service account for CI/CD"
- "What's the secret reference syntax for 1Password?"
- 1Password CLI installed
- 1Password desktop app (for biometric authentication) or service account token
MIT License - see LICENSE for details.