Deletes or archives secrets in 1Password using the op CLI. Use when the user needs to permanently remove items, archive deprecated credentials, or clean up unused secrets from 1Password vaults. Supports both permanent deletion and archiving for later recovery.
Deletes or archives secrets in 1Password using the op CLI. Use when users need to permanently remove compromised credentials, archive deprecated items, or clean up unused secrets from vaults.
/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-delete-commands.mdThis skill enables agents to delete or archive secrets in 1Password using the op CLI. It supports permanent deletion for items no longer needed and archiving for items that might need to be recovered later.
The skill assumes the op CLI is installed and the user is already authenticated.
| Operation | Use Case |
|---|---|
| Delete Item | Permanently remove an item from 1Password |
| Archive Item | Move an item to Archive for potential recovery |
Determine what the user wants to delete or archive:
Identify the target item:
Identify the operation type:
Assess the situation:
Clarify if needed:
Before executing a destructive operation, confirm with the user:
For permanent deletion:
For archiving:
Based on the context assessment, execute the appropriate op command.
See op CLI Delete Command Reference for complete command syntax.
Permanent deletion:
op item delete "<item-name>"
Permanent deletion from specific vault:
op item delete "<item-name>" --vault "<vault>"
Archive item:
op item delete "<item-name>" --archive
Archive from specific vault:
op item delete "<item-name>" --vault "<vault>" --archive
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 |
permission denied | Verify vault access permissions |