/generation-coverage
Add, remove or inspect a model version's "EcosystemCheckpoints" row — the coverage override that makes a version generatable regardless of publish status — and bust the version cache so the generator sees the change. Use to make a Draft official version testable by moderators,
Claude Code
$ npx -y skills add civitai/civitai --skill generation-coverage --agent claude-code
Codex
$ npx skills add civitai/civitai --skill generation-coverage -a codex -y
Cursor
$ npx skills add civitai/civitai --skill generation-coverage -a cursor -y
Gemini CLI
$ npx skills add civitai/civitai --skill generation-coverage -a gemini-cli -y
GitHub Copilot
$ npx skills add civitai/civitai --skill generation-coverage -a github-copilot -y
OpenCode
$ npx skills add civitai/civitai --skill generation-coverage -a opencode -y
Windsurf
$ npx skills add civitai/civitai --skill generation-coverage -a windsurf -y
SKILL.md
generation-coverage.SKILL.mdname: generation-coverage
description: Add, remove or inspect a model version's "EcosystemCheckpoints" row — the coverage override that makes a version generatable regardless of publish status — and bust the version cache so the generator sees the change. Use to make a Draft official version testable by moderators, or to drop the override after launch. Called by onboard-generator-model; usable on its own.
Generation Coverage
node .claude/skills/generation-coverage/coverage.mjs <command> [flags]
What the row does
`GenerationCoverage` is a plain view and the one the app reads. It carries both coverage rules as columns — `covered` (live) and `coveredNext` (staged) — and the Flipt boolean `generation-coverage-next` decides which one answers, globally, default off. Its `"EcosystemCheckpoints"` branch is shared by both rules and applies **no status check**. So:
- **A `Draft` version with a row can be generated, but only by moderators and the model's owner.** `getResourceCanGenerate` lets those two through the private check and refuses everyone else. This is how an official version gets tested before it is published.
- **The row overrides everything else — except moderation.** The version stays covered even after it is unpublished, but a top-level `m.mode IS NULL` means an `Archived` or `TakenDown` model is covered by no branch at all. For an `ExternalGeneration` version, branch 2 covers it once published, so removing the row after launch is what lets a later unpublish remove coverage. So far every row has been kept.
The full coverage rules are in [docs/features/generator-model-onboarding.md](../../../docs/features/generator-model-onboarding.md).
Commands
| Command | What it does | | --- | --- | | `status --version <id>` | Whether the version has an `EcosystemCheckpoints` row, and what `GenerationCoverage` reports for **both** `covered` and `coveredNext`. | | `add --version <id> --name <label> [--writable]` | Inserts the row, then busts the cache. Idempotent. | | `remove --version <id> [--writable]` | Deletes the row, then busts the cache. | | `bust --version <id> [--writable]` | Only the cache bust (`modelVersion.bustCache`). |
- **`--name`** is a free-text label with no behaviour attached. Existing rows use the base model's name (`BaseModelRecord.name`), e.g. `Ideogram 4.0` — not the ecosystem's `displayName`.
- **The cache bust is part of `add` and `remove`.** `resourceDataCache` sits in front of the view with a one-hour TTL. Without the bust, the generator keeps reporting the old coverage for up to an hour.
Setup and permission
- **Database:** reads and writes go through the `postgres-query` skill (`--prod` by default, plus `--writable` for `add` and `remove`). Its production connection has to be configured in its own `.env`: `coverage.mjs` keeps the keys it loaded from the repo-root `.env` out of that child's environment.
- **Choosing the database:** pass `--db dev` for the dev database. When `CIVITAI_API_URL` isn't civitai.com or civitai.red, the script refuses to guess which database goes with it.
- **API key:** the cache bust uses `CIVITAI_API_KEY` from `.claude/skills/mod-actions/.env`, and it must belong to a moderator.
Every write is a dry run unless you pass `--writable`. **Ask the user before each `--writable` call.** It writes to the production database.
Read more
name: generation-coverage description: Add, remove or inspect a model version's "EcosystemCheckpoints" row — the coverage override that makes a version generatable regardless of publish status — and bust the version cache so the generator sees the change. Use to make a Draft official version testable by moderators, or to drop the override after launch. Called by onboard-generator-model; usable on its own.
Generation Coverage
node .claude/skills/generation-coverage/coverage.mjs <command> [flags]
What the row does
`GenerationCoverage` is a plain view and the one the app reads. It carries both coverage rules as columns — `covered` (live) and `coveredNext` (staged) — and the Flipt boolean `generation-coverage-next` decides which one answers, globally, default off. Its `"EcosystemCheckpoints"` branch is shared by both rules and applies **no status check**. So:
- **A `Draft` version with a row can be generated, but only by moderators and the model's owner.** `getResourceCanGenerate` lets those two through the private check and refuses everyone else. This is how an official version gets tested before it is published.
- **The row overrides everything else — except moderation.** The version stays covered even after it is unpublished, but a top-level `m.mode IS NULL` means an `Archived` or `TakenDown` model is covered by no branch at all. For an `ExternalGeneration` version, branch 2 covers it once published, so removing the row after launch is what lets a later unpublish remove coverage. So far every row has been kept.
The full coverage rules are in [docs/features/generator-model-onboarding.md](../../../docs/features/generator-model-onboarding.md).
Commands
| Command | What it does | | --- | --- | | `status --version <id>` | Whether the version has an `EcosystemCheckpoints` row, and what `GenerationCoverage` reports for **both** `covered` and `coveredNext`. | | `add --version <id> --name <label> [--writable]` | Inserts the row, then busts the cache. Idempotent. | | `remove --version <id> [--writable]` | Deletes the row, then busts the cache. | | `bust --version <id> [--writable]` | Only the cache bust (`modelVersion.bustCache`). |
- **`--name`** is a free-text label with no behaviour attached. Existing rows use the base model's name (`BaseModelRecord.name`), e.g. `Ideogram 4.0` — not the ecosystem's `displayName`.
- **The cache bust is part of `add` and `remove`.** `resourceDataCache` sits in front of the view with a one-hour TTL. Without the bust, the generator keeps reporting the old coverage for up to an hour.
Setup and permission
- **Database:** reads and writes go through the `postgres-query` skill (`--prod` by default, plus `--writable` for `add` and `remove`). Its production connection has to be configured in its own `.env`: `coverage.mjs` keeps the keys it loaded from the repo-root `.env` out of that child's environment.
- **Choosing the database:** pass `--db dev` for the dev database. When `CIVITAI_API_URL` isn't civitai.com or civitai.red, the script refuses to guess which database goes with it.
- **API key:** the cache bust uses `CIVITAI_API_KEY` from `.claude/skills/mod-actions/.env`, and it must belong to a moderator.
Every write is a dry run unless you pass `--writable`. **Ask the user before each `--writable` call.** It writes to the production database.
Other skills on civitai.
More skills from other plugins.
hf-cli
Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and…
feast-architecture
Internals of the Feast codebase — how each component works, where the key abstractions live, and the data flow through the…
accessing-mlflow
Query and browse evaluation results stored in MLflow. Use when the user wants to look up runs by invocation ID, compare metrics…
Questions about generation-coverage.
- Which coding agents can use generation-coverage?
- generation-coverage installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

