add-ecosystem
Add a new ecosystem and base model to basemodel.constants.ts. Use when onboarding a new model family from providers like Baidu,…
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.
$ npx -y skills add civitai/civitai --skill site-alert --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/site-alertContext preview
The summary Claude sees to decide when to auto-load this skill.
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.
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.
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`.
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.
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`.
Globs against the page path; the query string is ignored and case does not matter.
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.
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.
Add a new ecosystem and base model to basemodel.constants.ts. Use when onboarding a new model family from providers like Baidu,…
Wire an existing ecosystem into the generation system. Adds generation support to basemodel.constants.ts, creates graph and…
Author a prompt-enhancement system prompt for a new ecosystem and register/update it on the orchestrator's prompt-analysis…
Add a new trainable base model to BOTH trainers end-to-end — the in-app trainer (main Next.js app, src/) and the Training Studio…
Wire an existing ecosystem into the LoRA training system so it appears as a trainable base model in the training form. Adds the…
Deterministically drive a first-party Civitai App Block in the operator's browser and produce store-ready screenshots,…