secure-autofill
by moodykong
DevOps & CloudBrief
1Password-backed credential filling via vault_suggest/vault_fill (plugin tools).
Description
What This Skill Does
Provides credential filling for browser login flows using 1Password as the secret store. The agent handles navigation and DOM element identification; the plugin injects credentials directly so the agent never sees them. Supports username, password, email, and TOTP fields with retry logic for failed attempts.
Credentials never pass through the agent context, so automating login flows does not expose secrets in conversation history or logs.
When to Use It
- Logging into a website using stored 1Password credentials
- Completing MFA login with a fresh TOTP code from 1Password
- Retrying login with the next matching vault item when credentials are wrong
- Dismissing cookie banners or passkey dialogs before credential injection
- Automating multi-step login flows like X.com that split username and password across screens
Example Workflow
User asks: log into x.com
- 1
Navigate to x.com/i/flow/login
- 2
Take browser snapshot to identify the username field ref
- 3
Call vault_fill with item_title 'X' and the username field ref, then click Next
- 4
Detect and dismiss passkey error dialog from snapshot, then take new snapshot
- 5
Call vault_fill for the password field ref, click Log in, then call vault_fill for OTP field ref and click Next
Agent confirms home feed is visible and login is complete
Requirements
- 1Password account with credentials stored in a vault
- OP_SERVICE_ACCOUNT_TOKEN environment variable (1Password service account token)
Installation
clawhub install moodykong/secure-autofillRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.