Updates existing secrets in 1Password using the op CLI. Use when the user needs to modify passwords, edit field values, add or remove fields, rename items, move items between vaults, or manage tags on existing 1Password items. Supports all item types including Login, Password, API Credential, and Secure Note.
Updates existing secrets in 1Password using the op CLI. Triggers when users need to modify passwords, edit fields, rename items, move between vaults, or manage tags on existing 1Password items.
/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/op-update-commands.mdThis skill enables agents to update existing secrets in 1Password using the op CLI. It supports comprehensive update operations including editing field values, adding and removing fields, renaming items, moving items between vaults, and managing tags.
The skill assumes the op CLI is installed and the user is already authenticated.
| Operation | Use Case |
|---|---|
| Edit Field | Update password, username, credential, or other field values |
| Add Field | Add new custom fields to an existing item |
| Remove Field | Delete custom fields from an item |
| Rename Item | Change an item's title |
| Move Item | Transfer an item to a different vault |
| Manage Tags | Add, replace, or remove tags |
Determine what the user wants to update:
Identify the target item:
Identify the update operation:
Gather required information:
Clarify if needed:
Based on the context assessment, execute the appropriate op command.
See op CLI Update Command Reference for complete command syntax.
Edit field value:
op item edit "<item-name>" <field>=<newvalue> --format json
Edit field in section:
op item edit "<item-name>" "Section.field"=<newvalue> --format json
Add custom field:
op item edit "<item-name>" "Section.newfield[type]"=<value> --format json
Remove custom field:
op item edit "<item-name>" "Section.field[delete]" --format json
Rename item:
op item edit "<item-name>" --title "<new-title>" --format json
Move to vault:
op item move "<item-name>" --destination-vault "<vault>"
Set tags:
op item edit "<item-name>" --tags "<tag1>,<tag2>" --format json
Generate new password:
op item edit "<item-name>" --generate-password --format json
Note: When moving items, inform the user that the item receives a new ID.
Common errors and resolutions:
| Error | Resolution |
|---|---|
item not found | Verify item name, try listing items in vault |
vault not found | List available vaults with op vault list |
more than one item matches | Use item ID instead of name, or specify vault with --vault |
field not found | List item fields with op item get to verify field name |
cannot delete built-in field | Use empty string to clear: field="" |
permission denied | Verify vault access permissions |