agentsclimarketplace

Cifra

Skill MicheleColella/cifra-cli/skills/cifra

Use when a repo has a .cifra/ vault — Cifra is a Git-backed, zero-trust secrets manager. Covers reading vault state, injecting secrets into commands, syncing with the team, and the AI Privacy Shield rules that keep plaintext out of model context. Triggers on "cifra", ".cifra", "secrets", "API key", ".env file", "inject secrets", "vault recipients".From its SKILL.md

Install
npx -y skills add MicheleColella/cifra-cli --skill cifra

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.6 KB, as published. Nobody here has run it

Cifra

This repo's secrets are managed by Cifra. They are encrypted at rest in .cifra/secrets.enc — never plaintext on disk. The Git remote only stores ciphertext; private keys never leave the machine.

Security rules (the AI Privacy Shield)

  • NEVER run cifra cat or cifra export without --force — the PreToolUse hook blocks them to keep plaintext out of model context. Don't suggest --force to work around it.
  • NEVER seal a brand-new secret yourself — not via cifra add/cifra set in Bash (e.g. echo value | cifra add KEY), and there is no MCP tool for it either. Doing this requires the plaintext to pass through your own context first, which is exactly what the Privacy Shield exists to prevent — the PreToolUse hook blocks it in Bash for the same reason. If the user wants to add or update a secret, tell them to run cifra add <KEY> / cifra set <KEY> themselves in their own terminal — do not offer to do it "for convenience" and do not suggest --force to work around the block.
  • Prefer cifra run -- <cmd> to inject secrets into a child process in memory, never writing them anywhere.
  • Do not print, cat, or log the contents of .cifra/secrets.enc.
  • Paths registered via cifra protect add are blocked from Read/Write/Edit/Bash.

Common commands

GoalCommandWho runs it
List sealed entries (names only)cifra listeither
Seal a new secretcifra add <KEY>user only, in their own terminal
Re-seal an existing secret with a new valuecifra set <KEY>user only, in their own terminal
Run a command with secrets injected in memorycifra run -- <cmd>either
Open a shell with secrets injectedcifra execuser
Sync vault with the team via Gitcifra push / cifra pulleither
Rotate a secret (true revocation, no new value needed)cifra rotate <KEY>either
Show recipientscifra key listeither
Vault healthcifra statuseither
Manage protected pathscifra protect add|list|remove <path>either
Audit logcifra audit log show / verifyeither
Diagnose installcifra doctoreither
Register the git merge driver after cloning a vault repocifra init --upgradeuser
Unlock the key for passphrase-free usecifra agent unlockuser only, in their own terminal
Check what's unlocked / lock againcifra agent status / lockeither

MCP tools (preferred over bash when available)

If the cifra MCP server is connected (tools named cifra_status, cifra_list, cifra_rotate, cifra_run, cifra_protect, cifra_push, cifra_pull), prefer calling those tools directly instead of the equivalent bash command — parameters go through JSON-Schema validation instead of a shell string, and tool responses only ever contain metadata (name, algorithm, recipient count, timestamps), never a secret value. cat/export/data/import/key */add/set have no MCP equivalent, by design — those still go through bash (where the Privacy Shield hooks apply), or must be run by the user themselves for add/set.

Passphrase-free operation (the key-unlock agent)

If the user has run cifra agent unlock from their own terminal, commands needing the private key (cifra_rotate, cifra_run, cifra_protect encrypt, push/pull, and postuse masking) work with no passphrase prompt and no CIFRA_PASSPHRASE — check cifra status / cifra doctor for "Agent unlocked keys" / "Key-unlock agent" to see if this is active. If a private-key operation fails with a passphrase error and the user seems to expect it to "just work", suggest cifra agent unlock (run by them, in a real terminal — it prompts interactively) rather than suggesting they set CIFRA_PASSPHRASE in the environment, which is the less secure, more manual fallback.

Notes

  • cifra status / list / audit / doctor are safe, read-only, and never expose secret values — use them freely to understand vault state.
  • If a command needs a passphrase non-interactively and no agent is unlocked, it reads CIFRA_PASSPHRASE.
  • The binary must be on PATH (installed via the Cifra installer, Homebrew, or go install). Run cifra doctor if commands are not found.

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.