Creates secrets in 1Password using the op CLI. Use when the user needs to store new passwords, API keys, login credentials, or secure notes in 1Password. Supports Login, Password, API Credential, and Secure Note item types with optional vault selection and password generation.
Creates new secrets in 1Password using the op CLI. Automatically triggered when users need to store passwords, API keys, login credentials, or secure notes with optional vault selection and password generation.
/plugin marketplace add leefowlercu/agent-kit/plugin install op-secrets-manager@leefowlercu-agent-kitThis skill inherits all available tools. When active, it can use any tool Claude has access to.
README.mdreferences/item-templates.mdreferences/op-create-commands.mdThis skill enables agents to create secrets in 1Password using the op CLI. It supports creating Login, Password, API Credential, and Secure Note items with template support and vault selection.
The skill assumes the op CLI is installed and the user is already authenticated.
| Type | Category | Use Case |
|---|---|---|
| Login | LOGIN | Website accounts, application logins |
| Password | PASSWORD | Standalone passwords, WiFi, PINs |
| API Credential | API_CREDENTIAL | API keys, access tokens, service credentials |
| Secure Note | SECURE_NOTE | Text notes, recovery codes, configurations |
Determine what the user wants to create:
Identify the item type:
Gather required information:
Check for special requirements:
See Item Templates Reference for field requirements per type.
Based on the item type, collect the necessary field values:
Login:
username: Account username or emailpassword: Account password (or use --generate-password)url: Website URL (via --url flag)Password:
password: The password value (or use --generate-password)API Credential:
credential: The API key or secretusername: Optional key identifierSecure Note:
notesPlain: The note contentBuild and execute the appropriate op item create command.
See op CLI Create Command Reference for complete syntax.
Basic pattern:
op item create --category <CATEGORY> \
--title "<title>" \
[--vault "<vault>"] \
[field assignments...] \
--format json
With generated password:
op item create --category Login \
--title "<title>" \
--generate-password=24 \
username=<user> \
--format json
Common errors and resolutions:
| Error | Resolution |
|---|---|
vault not found | List vaults with op vault list, verify name |
already exists | Use different title or update existing item |
invalid category | Use valid category: Login, Password, "API Credential", "Secure Note" |
missing required field | Provide required fields for the category |