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…
от civitai★ 7 333 звезды на GitHubОб этом скилле
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
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/*/editmatches/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
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.
Установить site-alert в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл 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.
Как установить скилл site-alert?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл site-alert запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic