site-alert
/site-alert
Post, edit, extend, end and list site alerts — the incident banners shown at the top of civitai.com pages that match a path. Use when a feature is broken or degraded and visitors on its pages should be told, or to lift or check such a notice.
Assessment and security
- Files in this package
- 2
- Scripts
- 1
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 25.10.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
- 1 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: site-alert.mjs
What it does and when to use it
Post, edit, extend, end and list site alerts — the incident banners shown at the top of civitai.com pages that match a path. Use when a feature is broken or degraded and visitors on its pages should be told, or to lift or check such a notice.
Original author description
Post, edit, extend, end and list site alerts — the incident banners shown at the top of civitai.com pages that match a path. Use when a feature is broken or degraded and visitors on its pages should be told, or to lift or check such a notice.
How it works
- Setup
- Commands
- Paths
- Example
SKILL.md preview
--- name: site-alert description: Post, edit, extend, end and list site alerts — the incident banners shown at the top of civitai.com pages that match a path. Use when a feature is broken or degraded and visitors on its pages should be told, or to lift or check such a notice. --- # Site alerts A site alert is a strip at the top of every page whose path matches one of its globs, for a set time. Moderators manage the same alerts at `/moderator/site-alerts`. ## Setup The script uses the `mod-actions` skill's configuration: a moderator's API key in `.claude/skills/mod-actions/.env` (see that skill's `.env.example`). `CIVITAI_API_URL` picks the site; it defaults to production, so set it to your dev server while testing. ## Commands ```bash node .claude/skills/site-alert/site-alert.mjs <command> [id] [options] ``` | Command | What it does | |---------|--------------| | `list` | Every alert, active and ended in the last 7 days | | `active` | What the public endpoint serves now (no key needed) | | `post --title <t> --hours <n>` | Post an alert | | `edit <id>` | Change copy, severity, paths, domains or dismissibility | | `extend <id> --minutes <n>` (or `--hours`) | Push the end time out | | `end <id>` | End it now | Options: `--message`, `--severity info|warning|outage|resolved` (default `warning`), `--paths "/a,/b/**"`, `--domains all|blue|green|red`, `--starts <iso>`, `--dismissible` / `--not-dismissible` (outages default to not dismissible), `--dry-run`, `--json`. ## Paths Globs against the page path; the query string is ignored and case does not matter. - `*` matches exactly one segment: `/models/*/edit` matches `/models/12/edit`, not `/models/edit`. - `**` matches any number of segments, including none: `/generate/**` matches `/generate`. - No paths means every page. There are no regexes, and `*` inside a segment is rejected. An alert runs for at most 7 days and must have an end time. A scheduled alert (`--starts`) is in the public response before it starts, so do not schedule copy that must stay private until then. ## Example ```bash node .claude/skills/site-alert/site-alert.mjs post --severity outage \ --title "Model upload is broken" \ --message "We know about it and a fix is rolling out." \ --paths "/models/create,/models/*/wizard,/models/*/model-versions/**" --hours 2 node .claude/skills/site-alert/site-alert.mjs end 12 ``` Visitors see a change on their next action on the site (any request to the API), not instantly.
Files in this package (2)
- SKILL.md 2 KB
- site-alert.mjs 6 KB
Versions
The database has no other skills named site-alert.
Database snapshot: 13.11.2026 · package version 5ee8145f5f8a (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 90incident-response
Use when production is down or degraded now — outage, alert firing, users report errors, "site is down", disk full, OOM storm, restart storm, cascading failure — or when writing a postmortem or incident report. Root cause after the service is stable → systematic-debugging. - 100query-alert-events
Query alert events in a Nightingale (n9e) environment. Use this when the user asks to view alerts, query active alerts, search historical alerts, view alert details, or count alert events. - 100cx-alerts
This skill should be used when the user asks to "manage alerts", "create alert", "list alerts", "delete alert", "check alert status", "enable alert", "disable alert", "investigate firing alerts", "check which alerts are active", "find alerting rules", "set up an alert",…