agentleFS
shaharshashaharsha/claude-skills/skills/proton-pass/SKILL.md

proton-pass

Skill6 starsChanged 22 days agoMITView on GitHub

Manage secrets and credentials using Proton Pass CLI (pass-cli). Use when the user asks to store, retrieve, list, or manage passwords, API keys, secrets, or credentials in Proton Pass. Also triggers when the user mentions Proton Pass, pass-cli, vault management, or saving/looking up secrets.

  • Reads credentials

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Never print passwords in chat output: Use item view only to verify items exist, not to display secrets.

    line 108
  2. Very specific:

    Use --generate-password or --generate-passphrase: when creating new credentials instead of inline passwords.

    line 110

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Proton Pass CLI — Credential Management

Binary: /opt/homebrew/bin/pass-cli

Quick Reference

Check connection

pass-cli test

List vaults

pass-cli vault list

List items in a vault

pass-cli item list "MyVault"
pass-cli item list "MyVault" --output json

View an item

# By title
pass-cli item view --title "My Item" --vault-name "MyVault"
# By URI (returns specific field)
pass-cli item view "pass://MyVault/My Item/password"

Create a login item

pass-cli item create login \
  --vault-name "MyVault" \
  --title "Service Name" \
  --username "user" \
  --password "secret" \
  --url "https://example.com"

Create with generated password

# Random: length,uppercase,symbols
pass-cli item create login \
  --vault-name "MyVault" \
  --title "New Service" \
  --username "user" \
  --generate-password="20,true,true"

# Passphrase: word_count
pass-cli item create login \
  --vault-name "MyVault" \
  --title "New Service" \
  --username "user" \
  --generate-passphrase="5"

Update an item

pass-cli item update \
  --vault-name "MyVault" \
  --title "Service Name" \
  --field password=new_secret \
  --field username=new_user

Delete an item

pass-cli item delete --share-id SHARE_ID --item-id ITEM_ID

Secret References

URI format: pass://vault/item/field

Common fields: username, password, email, url, note, totp

Inject secrets into a template file

# template.env contains: DB_PASS={{ pass://MyVault/My DB/password }}
pass-cli inject template.env

Run a command with secrets as env vars

pass-cli run -- env DB_PASS="pass://MyVault/My DB/password" my-command

Gotcha (verify resolution): the run -- env X="pass://…" form has been observed to pass the literal pass://… URI as the value instead of the resolved secret (e.g. a 78-byte URI reached the program as the "password", causing an auth failure that looks like a wrong credential). When correctness matters, resolve explicitly with command substitution and sanity-check the length before use:

SECRET="$(pass-cli item view 'pass://MyVault/My DB/password')"
[ ${#SECRET} -gt 0 ] || { echo "secret did not resolve"; exit 1; }

Security Guidelines

  1. Never print passwords in chat output. Use item view only to verify items exist, not to display secrets.
  2. Prefer inject and run for programmatic use — they resolve secrets without exposing them in shell history.
  3. Use --generate-password or --generate-passphrase when creating new credentials instead of inline passwords.
  4. Always specify --vault-name to avoid accidentally storing in the wrong vault.

Detailed Command Reference

For full command documentation including all flags, template formats, SSH key management, TOTP, sharing, and aliases, see references/commands.md.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.