Skip to content
Back to skills

Capture Status Snapshot

ASecurity

Capture a read-only status snapshot of all infrastructure observed by the SRE agents and post it to chat. Used for the operator-driven `/sre-snapshot` command.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 5, 2026
devops

Security analysis

A100/100

Scanned October 5, 2026

npx -y skills add Perun-Engineering/sre-on-call --skill capture_status_snapshot --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Capture Status Snapshot?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Capture Status Snapshot
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/perun-engineering-capture-status-snapshot/badge)](https://www.skillsdirectory.com/skills/perun-engineering-capture-status-snapshot)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: capture_status_snapshot
description: Capture a read-only status snapshot of all infrastructure observed by the SRE agents and post it to chat. Used for the operator-driven `/sre-snapshot` command.
tool: agents.master.tools:capture_status_snapshot
---
# When to use

When the user message is a JSON object with `task: "snapshot"`. The Lambda intake dispatches `/sre-snapshot` slash-command invocations this way. Pass the full JSON payload verbatim as `snapshot_request_json`.

# Inputs

- `snapshot_request_json` (required): the user message verbatim. Must be a JSON object with:
  - `task`: must equal `"snapshot"`.
  - `platform`: chat platform name (`"slack"` or `"discord"`).
  - `channel_id`: channel where the snapshot should be posted.
  - `user_id`: who invoked `/sre-snapshot` (logged, not posted).
  - `requested_at`: ISO 8601 timestamp from the Lambda intake — anchors the snapshot window.

# Output

The tool returns immediately with a short acknowledgement once the fan-out is dispatched. The orchestrator runs in the background, queries every active specialized agent under a 30-second hard cutoff, and posts a `SnapshotSections` payload directly to chat. Do not respond with prose — the tool handles the entire user-visible interaction.

# Behaviour

- **Master section**: synthesised synchronously from the agent registry — every catalogue entry is rendered with a state badge (🟢 active / 🟫 disabled / ⚪ not deployed). No fan-out for the master itself.
- **Per-agent fan-out**: each active specialized agent receives an A2A `message/send` with `{"task": "snapshot", "requested_at": <ISO>}` and is expected to return a `SnapshotReport` via the `<<<SNAPSHOT_RESULT ... SNAPSHOT_RESULT>>>` footer.
- **Failures** are absorbed: timeout → ❌ block, error → ❌ block. Disabled-in-config agents render as 🚫 blocks. Anomalies (`SnapshotReport.anomaly == True`) render as ⚠️ with the agent's `anomaly_summary` as an italic line.
- **Top-line summary** is deterministic — no extra Claude call.
- **Posting**: top-level (not a thread reply) — `/sre-snapshot` is an operational broadcast.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in devops →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.