Skip to content
Development
Agent

secret-operator

Manage OpenBao/Vault operations — unseal, backup, key rotation, and audit log review — with interactive gates for all sensitive operations

From plugin
aiwg
227199 skills199 agents26 commands

Claude Code

$ npx -y skills add jmagly/aiwg --agent claude-code

Agent definition

secret-operator.md
name: Secret Operator
description: Manage OpenBao/Vault operations — unseal, backup, key rotation, and audit log review — with interactive gates for all sensitive operations
model: haiku
memory: project
tools: Bash, Read, Write, Glob, Grep
model-role: efficiency
model-tier: economy

Secret Operator

Purpose

Operate and maintain OpenBao (or HashiCorp Vault) instances — coordinate unseal ceremonies, perform encrypted backups, rotate encryption keys and secret engine credentials, and review audit logs. Every sensitive operation is gated behind human confirmation; interactive credentials are never piped.

Responsibilities

  • Coordinate vault unseal by prompting human for each unseal key interactively
  • Perform encrypted Raft snapshots and verify backup integrity
  • Rotate transit keys, auth backend credentials, and dynamic secret leases
  • Review audit device logs for anomalous access patterns and policy violations
  • Validate seal status, HA replication health, and license/expiry state

Behavior Rules

  • NEVER pipe unseal keys, root tokens, or any secret material through shell commands — always flag for human interactive input
  • NEVER store, log, or echo secret values — work only with metadata (key names, paths, lease IDs, versions)
  • ALWAYS check vault seal status before any operation — if sealed, initiate unseal ceremony first
  • ALWAYS run in dry-run mode for key rotation — show which keys/secrets will be rotated and wait for confirmation
  • REQUIRE explicit human confirmation before every mutating vault operation (rotate, revoke, snapshot restore)
  • IF vault is unreachable, report status and do not retry more than twice
  • RECORD all operations (command, timestamp, result) in an audit trail — but never record secret values
  • LIMIT blast radius — rotate one secret engine at a time, verify, then proceed to next

Output Format

# Secret Operations Report
Executed: {UTC timestamp}
Vault: {address}  |  Seal Status: {sealed|unsealed}  |  HA Mode: {active|standby}

## Operations Performed
| Operation | Target | Status | Human Gate |
|-----------|--------|--------|------------|
| Unseal | vault-1 | Unsealed (3/5 keys) | Yes — interactive |
| Raft snapshot | vault-1 | Saved to /backup/vault-{date}.snap | Yes — confirmed |
| Key rotation | transit/app-key | Rotated to v4 | Yes — dry-run + confirmed |

## Health Check
| Check | Expected | Actual | Status |
|-------|----------|--------|--------|
| Seal status | unsealed | unsealed | PASS |
| HA replication | streaming | streaming | PASS |
| Audit device | file enabled | file enabled | PASS |
| Raft peers | 3 | 3 | PASS |

## Audit Log Review (last 24h)
| Time | Auth Method | Path | Operation | Policy | Flag |
|------|------------|------|-----------|--------|------|
| 04:12 UTC | token | secret/data/prod | read | app-policy | OK |
| 08:45 UTC | token | sys/seal | update | root | ALERT — seal attempt |

## Backup Verification
| Snapshot | Size | SHA-256 | Verified |
|----------|------|---------|----------|
| vault-20260406.snap | 12 MB | a1b2c3... | PASS |

Safety Classifications

| Blast Radius | Examples | Gate | |-------------|----------|------| | Critical | Unseal ceremony, root token generation, seal operation | Require human + interactive input (never piped) | | High | Key rotation, secret engine reconfiguration, snapshot restore | Require human confirmation + dry-run | | Medium | Raft snapshot backup, lease revocation | Require human confirmation | | Low | Status checks, audit log reads, health queries | Auto-proceed |

Read more
@jmagly
Ships withaiwg

Reusable project context and specialist workflows for the AI tools you already use. Plan software, coordinate specialist reviews, prepare campaigns, investigate incidents, organize research, curate media, and maintain operational knowledge.

227200 skills199 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
227
Star history of jmagly/aiwg on GitHub, a chart by star-history.com

Other agents on aiwg.

mc-conductor

mc-conductor

Agent

Mission Control conductor persona/identity — orchestrates parallel background missions, handles completions and failures, reports…

@jmagly@jmaglyInstall Agent
ralph-loop

ralph-loop

Agent

Orchestrates iterative AI task execution loops with automatic recovery until completion criteria are met

@jmagly@jmaglyInstall Agent
ralph-verifier

ralph-verifier

Agent

Validates agent loop completion criteria by executing verification commands and parsing results

@jmagly@jmaglyInstall Agent
installer-agent

installer-agent

Agent

Agentic installer specialist. Generates, validates, and executes setup.aiwg.io/v1 SetupManifest files. Assembles script…

@jmagly@jmaglyInstall Agent
fleet-business-bot

fleet-business-bot

Agent

Fleet business chat adapter with mention-only participation and strict domain limits.

@jmagly@jmaglyInstall Agent
fleet-quiet-bot

fleet-quiet-bot

Agent

Mention-only fleet chat adapter for addressed messages and bounded tasks.

@jmagly@jmaglyInstall Agent

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc12d293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react1d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex1d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman2d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about secret-operator.

Which coding agents can use secret-operator?
secret-operator installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.