agentleFS
InfiniteRoomLabsInfiniteRoomLabs/agent-ops/skills/secrets-sync/SKILL.md

secrets-sync

Skill0 starsChanged 5 months agoMITView on GitHub

Sync secrets from Bitwarden to Ansible Vault and Kubernetes

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    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. Distinctive:

    Run a full health check and sync to all targets.

    line 33
  2. Very specific:

    Run bw-sync.sh --target both (dry-run first, then apply on confirmation)

    line 42
  3. Distinctive:

    Update memory with new sync timestamp and result

    line 43
  4. Distinctive:

    Look up all secrets tagged for the specified service in Bitwarden

    line 69
  5. Distinctive:

    Check each against its rotation policy

    line 70
  6. Distinctive:

    Look up the service's expected secret manifest in Bitwarden

    line 84
  7. Very specific:

    Run bw-sync.sh --target both scoped to the service

    line 85
  8. Distinctive:

    Verify the provisioned set matches the expected manifest

    line 86
  9. Distinctive:

    If health score drops below 90%, Entropy will prepend a warning before any other output.

    line 96

≈ “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

Secrets Sync

Load the Entropy agent and execute a secrets lifecycle operation: sync, rotation check, health report, or service provisioning.

Triggers

Invoke this skill when the user says any of:

  • "sync secrets"
  • "rotate secrets"
  • "check secret health"
  • "provision secrets for"
  • "are my secrets up to date"
  • "check rotation compliance"
  • "verify k8s secrets"

Agent

This skill delegates to the Entropy agent (agents/engineering/entropy.md). Load it at skill start.

Usage

/secrets-sync

Run a full health check and sync to all targets.

/secrets-sync

Entropy will:

  1. Check BW_SESSION
  2. Report current health score and rotation status
  3. Run bw-sync.sh --target both (dry-run first, then apply on confirmation)
  4. Update memory with new sync timestamp and result

/secrets-sync check

Audit rotation compliance without syncing. No writes to any target.

/secrets-sync check

Entropy will:

  1. Check BW_SESSION
  2. Run bw-sync.sh --check-rotation
  3. Report health score, overdue count, and approaching-window warnings
  4. List any anomalies (orphans, unknown-age secrets, policy violations)

/secrets-sync rotate <service>

Trigger a rotation check and re-sync for a specific service.

/secrets-sync rotate infra
/secrets-sync rotate app

Entropy will:

  1. Look up all secrets tagged for the specified service in Bitwarden
  2. Check each against its rotation policy
  3. Report which secrets are overdue and by how many days
  4. Re-sync the service's secrets to all targets after confirmation

/secrets-sync provision <service>

Provision all required secrets for a service to all configured targets.

/secrets-sync provision scanbridge
/secrets-sync provision dark-matter

Entropy will:

  1. Look up the service's expected secret manifest in Bitwarden
  2. Run bw-sync.sh --target both scoped to the service
  3. Verify the provisioned set matches the expected manifest
  4. Report provisioned secrets by name (never by value) and confirm target state

Output Expectations

Entropy's output is terse by design. Expect:

  • A one-line status header (vault connection, health score)
  • A numbered list of anomalies if any exist
  • A confirmation line when a sync or provision completes cleanly

If health score drops below 90%, Entropy will prepend a warning before any other output.

Iron Law

This skill never displays secret values. Names, targets, and timestamps only. If you need to view a secret value, use the Bitwarden CLI directly with appropriate session authentication.

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.