Pass password to agent securely
pw2agentskillsetup L1★0
alexfosterinvisible/pw2agent ↗What it does
Pass secrets to agents without exposing them
Best for
Handing secrets to agent subprocesses without printing them in chat logs—prevents accidental exposure in transcripts.
Inputs
- · File path (e.g., ~/.secret_pw)
- · Secret content (base64-encoded)
Outputs
- · $PWB64 environment variable
- · Unset after task completion
Requires
- · base64 CLI
- · Bash environment variables
Preconditions
- · Secret stored in base64 file
- · File path known
Failure modes
- · File not found
- · Base64 decode fails
- · Environment variable leaked
Trust signals
- · Explicit cleanup (rm, unset)
- · Base64 encoding prevents plaintext in files