DEV Community

Adam
Adam

Posted on

pst — secure paste for agents

Ever want to connect an agent to an API that doesn't support MCP and run into broken shell-scripting UX? Or the agent just tells you to paste your secret into the chat? 😨 🙋

I got sick of caving and "rotating later" (which… may or may not have happened). So I built pst, a tiny CLI your agent can drive. It grabs your clipboard, tucks it into the Keychain, and hands the value to commands through env-var injection so it never lands in chat. Works in Claude Code, Codex or anything with a shell.

Feels nice in the hand. Keep building!

curl -fsSL https://raw.githubusercontent.com/amerry19/pst-cli/main/install.sh | bash
Enter fullscreen mode Exit fullscreen mode

(drops a single bash script in /usr/local/bin and a SKILL.md for Claude Code if it's installed. macOS only right now.)

Check out the source and if you like, throw me a ⭐️

Top comments (0)