add-ecosystem
Add a new ecosystem and base model to basemodel.constants.ts. Use when onboarding a new model…
Hide a generator ecosystem or model version from everyone except moderators — always "available to moderators, hidden" — and lift that gate again. Reads and writes the same generation gate rules the /moderator/generation-config page edits. Use before a new generator model's code
$ npx -y skills add civitai/civitai --skill generation-gate-rules --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/generation-gate-rulesContext preview
The summary Claude sees to decide when to auto-load this skill.
Hide a generator ecosystem or model version from everyone except moderators — always "available to moderators, hidden" — and lift that gate again. Reads and writes the same generation gate rules the /moderator/generation-config page edits. Use before a new generator model's code
name: generation-gate-rules description: Hide a generator ecosystem or model version from everyone except moderators — always "available to moderators, hidden" — and lift that gate again. Reads and writes the same generation gate rules the /moderator/generation-config page edits. Use before a new generator model's code deploys, and to remove the gate at launch. Called by onboard-generator-model; usable on its own.
node .claude/skills/generation-gate-rules/gate.mjs <command> [flags]
The rules model is described in [docs/features/generation-gating-rules-model.md](../../../docs/features/generation-gating-rules-model.md).
The rule is always **available to moderators, hidden**, and that isn't configurable. Moderators see and can generate with the target. Everyone else never sees it. A `hidden` rule also blocks `canGenerate` across the whole site, so a version published while its rule is in place still can't be generated by non-mods.
Gate targets:
Adding the rule **before** the code deploys is safe. A rule that names something the running code doesn't know yet has no effect.
| Command | What it does | | --- | --- | | `list [--json]` | Every rule on the site. | | `add --ecosystem <key>` or `add --version <id>` `[--message <m>] [--writable]` | Adds a rule this skill owns, with the id `onboard-eco-<key>` or `onboard-mv-<id>`. | | `remove --ecosystem <key>` or `remove --version <id>` `[--from-rule <id>] [--writable]` | Removes this skill's rule. With `--from-rule`, removes the target from a rule someone set by hand. |
**Another rule on the same target can override this one.** "Available to nobody, hidden" is the kill switch: it hides the target from moderators too, and `hidden` from any rule that applies wins. Point that out to the user instead of editing their rule.
Repo: civitai/civitai
Add a new ecosystem and base model to basemodel.constants.ts. Use when onboarding a new model…
Wire an existing ecosystem into the generation system. Adds generation support to…
Author a prompt-enhancement system prompt for a new ecosystem and register/update it on the…
Add a new trainable base model to BOTH trainers end-to-end — the in-app trainer (main Next.js…
Wire an existing ecosystem into the LoRA training system so it appears as a trainable base…
Deterministically drive a first-party Civitai App Block in the operator's browser and produce…