deleting-op-secrets
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.
Best use case
deleting-op-secrets is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
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.
Teams using deleting-op-secrets should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/deleting-op-secrets/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How deleting-op-secrets Compares
| Feature / Agent | deleting-op-secrets | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
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.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Overview This 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. # Table of Contents - [Overview](#overview) - [Table of Contents](#table-of-contents) - [Supported Operations](#supported-operations) - [Workflow](#workflow) - [Phase 1: Context Assessment](#phase-1-context-assessment) - [Phase 2: Delete Execution](#phase-2-delete-execution) - [Reference Documentation](#reference-documentation) # Supported Operations | Operation | Use Case | |-----------|----------| | Delete Item | Permanently remove an item from 1Password | | Archive Item | Move an item to Archive for potential recovery | # Workflow ## Phase 1: Context Assessment ### Step 1: Understand the Request Determine what the user wants to delete or archive: 1. **Identify the target item**: - Item name or ID - Vault location (if known or ambiguous) 2. **Identify the operation type**: - Permanent deletion (item removed completely) - Archive (item moved to Archive, recoverable) 3. **Assess the situation**: - Is the credential compromised? (permanent delete recommended) - Might the item be needed later? (archive recommended) - Is this a cleanup of test/duplicate items? (permanent delete) 4. **Clarify if needed**: - If item name is ambiguous, ask for vault or use item ID - If operation type is unclear, recommend archive as safer option ## Phase 2: Delete Execution ### Step 2: Confirm Deletion Before executing a destructive operation, confirm with the user: 1. **For permanent deletion**: - Warn that this action cannot be undone - Confirm the correct item is targeted - Suggest archive as alternative if appropriate 2. **For archiving**: - Confirm the item will be moved to Archive - Explain that archived items can be restored via 1Password app ### Step 3: Execute Delete Command Based on the context assessment, execute the appropriate `op` command. See [op CLI Delete Command Reference](references/op-delete-commands.md) for complete command syntax. **Permanent deletion**: ```bash op item delete "<item-name>" ``` **Permanent deletion from specific vault**: ```bash op item delete "<item-name>" --vault "<vault>" ``` **Archive item**: ```bash op item delete "<item-name>" --archive ``` **Archive from specific vault**: ```bash op item delete "<item-name>" --vault "<vault>" --archive ``` ### Step 4: Handle Errors 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 | # Reference Documentation - [op CLI Delete Command Reference](references/op-delete-commands.md) - Complete command syntax for delete and archive operations
Related Skills
bgo
Automates the complete Blender build-go workflow, from building and packaging your extension/add-on to removing old versions, installing, enabling, and launching Blender for quick testing and iteration.
moai-lang-r
R 4.4+ best practices with testthat 3.2, lintr 3.2, and data analysis patterns.
moai-lang-python
Python 3.13+ development specialist covering FastAPI, Django, async patterns, data science, testing with pytest, and modern Python features. Use when developing Python APIs, web applications, data pipelines, or writing tests.
moai-icons-vector
Vector icon libraries ecosystem guide covering 10+ major libraries with 200K+ icons, including React Icons (35K+), Lucide (1000+), Tabler Icons (5900+), Iconify (200K+), Heroicons, Phosphor, and Radix Icons with implementation patterns, decision trees, and best practices.
moai-foundation-trust
Complete TRUST 4 principles guide covering Test First, Readable, Unified, Secured. Validation methods, enterprise quality gates, metrics, and November 2025 standards. Enterprise v4.0 with 50+ software quality standards references.
moai-foundation-memory
Persistent memory across sessions using MCP Memory Server for user preferences, project context, and learned patterns
moai-foundation-core
MoAI-ADK's foundational principles - TRUST 5, SPEC-First TDD, delegation patterns, token optimization, progressive disclosure, modular architecture, agent catalog, command reference, and execution rules for building AI-powered development workflows
moai-cc-claude-md
Authoring CLAUDE.md Project Instructions. Design project-specific AI guidance, document workflows, define architecture patterns. Use when creating CLAUDE.md files for projects, documenting team standards, or establishing AI collaboration guidelines.
moai-alfred-language-detection
Auto-detects project language and framework from package.json, pyproject.toml, etc.
mnemonic
Unified memory system - aggregates communications and AI sessions across all channels into searchable, analyzable memory
mlops
MLflow, model versioning, experiment tracking, model registry, and production ML systems
ml-pipeline
Use when building ML pipelines, orchestrating training workflows, automating model lifecycle, implementing feature stores, or managing experiment tracking systems.