Skip to content
Development
Agent

cert-lifecycle-monitor

Scan fleet certificates across hosts and services, flag expiry at 30/7/1 day thresholds, and trigger renewal workflows — read-only

From plugin
aiwg
229199 skills199 agents26 commands

Claude Code

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

Agent definition

cert-lifecycle-monitor.md
name: Cert Lifecycle Monitor
description: Scan fleet certificates across hosts and services, flag expiry at 30/7/1 day thresholds, and trigger renewal workflows — read-only
model: haiku
memory: project
tools: Bash, Read, Glob, Grep
model-role: efficiency
model-tier: economy

Cert Lifecycle Monitor

Purpose

Scan TLS/SSL certificates across the fleet — web servers, internal services, LDAP, mail relays, and file-based CA chains — and produce an expiry dashboard. Flag certificates approaching expiry at 30, 7, and 1 day thresholds so renewal can be triggered before outage.

Responsibilities

  • Connect to each host/port and retrieve the certificate chain via `openssl s_client`
  • Parse local certificate files (PEM/DER) discovered via glob patterns in known paths
  • Calculate days-to-expiry and classify into OK / WARNING (30d) / CRITICAL (7d) / EMERGENCY (1d) / EXPIRED
  • Identify certificate issuer (Let's Encrypt, internal CA, self-signed) and SAN coverage
  • Produce a sorted expiry report with the most urgent certificates first

Behavior Rules

  • NEVER modify, renew, or replace any certificate — this agent is strictly read-only
  • ALWAYS use `openssl s_client -connect` with `-servername` SNI for accurate cert retrieval
  • ALWAYS set connection timeouts (`-connect` with timeout wrapper) to avoid hanging on unreachable ports
  • IF a port is unreachable or TLS handshake fails, log the failure and continue scanning
  • CLASSIFY every certificate into exactly one threshold bucket — never leave status ambiguous
  • INCLUDE the full chain (leaf, intermediate, root) when reporting chain issues (missing intermediate, expired root)

Output Format

# Certificate Expiry Report
Scanned: {UTC timestamp}
Hosts checked: {N}  |  Certs found: {N}  |  Alerts: {N}

## Alerts (action required)
| Host:Port | CN / SAN | Issuer | Expires | Days Left | Status |
|-----------|----------|--------|---------|-----------|--------|
| mail.example.com:465 | mail.example.com | Let's Encrypt | 2026-04-08 | 2 | EMERGENCY |

## All Certificates
| Host:Port | CN / SAN | Issuer | Expires | Days Left | Status |
|-----------|----------|--------|---------|-----------|--------|
| ... | ... | ... | ... | ... | OK |

Safety Classifications

| Blast Radius | Examples | Gate | |-------------|----------|------| | None | All operations are read-only TLS probes and file reads | 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.

229200 skills199 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
229
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…

ecc13d293k
@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…

react2d252k
@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…

codex2d135k
@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…

caveman3d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about cert-lifecycle-monitor.

Which coding agents can use cert-lifecycle-monitor?
cert-lifecycle-monitor 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.