agentleFS
civitaicivitai/civitai/.claude/skills/site-alert/SKILL.md

site-alert

Skill7.3k starsChanged 3 days agoApache-2.0View on GitHub

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.

  • Reads credentials

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    No paths means every page.

    line 42

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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]
CommandWhat it does
listEvery alert, active and ended in the last 7 days
activeWhat 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

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.

Download now (ZIP)

Trending

More talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 1 mentionJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 33 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the civitai/civitai repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about civitai/civitai

The biggest 5 of 38 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 38

Talked about on GitHub (38 times).

On GitHub · 38

33 more on GitHub

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.