by kitlangton
1Password for coding agents: find, use, and save secrets without exposing them
# Add to your Claude Code skills
git clone https://github.com/kitlangton/2password2password is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by kitlangton. 1Password for coding agents: find, use, and save secrets without exposing them. It has 343 GitHub stars.
2password's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/kitlangton/2password" and add it to your Claude Code skills directory (see the Installation section above).
2password is primarily written in TypeScript. It is open-source under kitlangton on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh 2password against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
1Password for coding agents. Your agent finds, uses, and saves secrets without ever seeing them, and asks you to approve far less often.
Requires Bun and the 1Password CLI.
bun add -g 2password # the CLI
bunx skills add kitlangton/2password # teaches your agent to use it
2password find openai stripe # returns op:// references, never values
2password run --env "OPENAI_API_KEY=op://Personal/OpenAI API Key/credential" -- bun dev
2password env run .env.tpl -- bun dev
2password create api-credential --title "OpenAI API Key" --vault Personal --clipboard
Run 2password --help to see all commands.
One prompt per command. find with many queries and env files with many references each need a single 1Password approval.
No prompts at all. Give your agent its own vault and a service account whose token lives in macOS Keychain, or on Windows in a file encrypted for your user (DPAPI):
2password service-account setup --vault Automation --create-vault --write --save-vault Personal
read and env resolve intentionally return or materialize a secret from 2password.run and env run inject plaintext into the selected child process. 2password does not print the value, but the child can; only use them with commands you trust with that credential.MIT