/mod-actions
Comprehensive moderation toolkit: user actions (ban/mute/DM), strike system, image moderation, report handling, generation moderation, content/training moderation, NCMEC/CSAM reporting, and Creator Shop purchase refunds. All via Civitai tRPC API.
Claude Code
$ npx -y skills add civitai/civitai --skill mod-actions --agent claude-code
Codex
$ npx skills add civitai/civitai --skill mod-actions -a codex -y
Cursor
$ npx skills add civitai/civitai --skill mod-actions -a cursor -y
Gemini CLI
$ npx skills add civitai/civitai --skill mod-actions -a gemini-cli -y
GitHub Copilot
$ npx skills add civitai/civitai --skill mod-actions -a github-copilot -y
OpenCode
$ npx skills add civitai/civitai --skill mod-actions -a opencode -y
Windsurf
$ npx skills add civitai/civitai --skill mod-actions -a windsurf -y
SKILL.md
mod-actions.SKILL.mdname: mod-actions
description: "Comprehensive moderation toolkit: user actions (ban/mute/DM), strike system, image moderation, report handling, generation moderation, content/training moderation, NCMEC/CSAM reporting, and Creator Shop purchase refunds. All via Civitai tRPC API."
Moderator Actions
Comprehensive moderation toolkit for Civitai. Covers user actions, strike management, image moderation, report handling, generation moderation, content/training moderation, NCMEC/CSAM reporting, and Creator Shop purchase refunds.
All scripts use the Civitai tRPC API with Bearer token authentication, ensuring actions go through the proper service layer with full side effects.
Setup
1. Copy `.env-example` to `.env` in this skill directory 2. Add your Civitai API key (must belong to a moderator account) 3. Optionally set the API URL (defaults to production)
cp .claude/skills/mod-actions/.env.example .claude/skills/mod-actions/.env
# Edit .env and add your API key
**Important:** The API key must belong to a user with moderator privileges.
| Variable | Required | Default | Description | |----------|----------|---------|-------------| | `CIVITAI_API_KEY` | Yes | - | Your Civitai API key | | `CIVITAI_API_URL` | No | `https://civitai.com` | API base URL |
---
Skill Files
| File | Domain | Commands | |------|--------|----------| | `query.mjs` | User moderation | user, ban, mute, leaderboard, remove-content, dm, inbox, thread, creator-program-ban, end-buzz-membership | | `strikes.mjs` | Strike system | get-user, standings, list, create, void | | `images.mjs` | Image moderation | review-queue, review-counts, moderate, tos-violation, rescan, report-csam, poi-tags, user-images, rating-requests, ingestion-errors, resolve-ingestion, downleveled, pending-ingestion, toggle-flag | | `reports.mjs` | Report handling | list, set-status, bulk-status, update, appeals, appeal-details, resolve-appeal | | `generation.mjs` | Generation moderation | flagged-consumers, flagged-reasons, consumer-strikes, review-strikes, user-generations, restrictions, resolve-restriction, allowlist-add, debug-audit, todays-counts, suspicious-matches | | `content.mjs` | Content moderation | models, flagged-models, resolve-flagged, model-versions, rescan-model, restore-model, toggle-cannot-promote, toggle-cannot-publish, articles, mod-rule | | `model3ds.mjs` | 3D Models moderation | list, get, files, unpublish, delete, restore, set-nsfw-level, toggle-tos, toggle-poi, toggle-minor, toggle-nsfw, toggle-unlisted | | `csam.mjs` | NCMEC/CSAM reporting | reports, stats, image-resources, create-report | | `shop.mjs` | Creator Shop | refund |
---
query.mjs — User Moderation
node .claude/skills/mod-actions/query.mjs <command> [options]
| Command | Description | |---------|-------------| | `user <id\|username>` | Look up user info | | `ban <id\|username>` | Toggle ban status | | `mute <id\|username>` | Toggle mute status | | `leaderboard <id\|username> <true\|false>` | Set leaderboard eligibility | | `remove-content <id\|username>` | Remove all user content (DESTRUCTIVE) | | `dm <id\|username>` | Message the user as the shared **Civitai Moderation** account (requires `--message`; needs the `user.message.asCivitai` permission). The user sees only that account and can reply; you are recorded as the sender. Prints an idempotency key first: if the response is lost, rerun with `--key <key>` and it sends at most once. Refused while another moderator holds the thread's claim, or when the user already has several unanswered messages from the account in 24 h. `--as-self` sends from your own account instead (the old behaviour). | | `inbox` | Civitai Moderation threads whose last message is the user's, oldest first (`--all`: every thread, newest first) | | `thread <id\|username>` | A user's Civitai Moderation thread, naming the moderator behind each message, and who holds its claim | | `creator-program-ban <id\|username> <set\|clear>` | Ban from / unban from the Creator Program (requires `--internal <reason>`; optional `--gate <ref>`; needs the `user.creatorProgram.ban` permission). Use this, never a raw `onboarding` UPDATE. | | `end-buzz-membership <id\|username>` | End the account's Buzz-purchased membership now: `canceled`, `canceledAt`/`endedAt` = now, so the tier's perks stop (requires `--internal <reason>`; needs the `user.membership.code` permission). Stripe and code memberships are untouched. Moves no Buzz: refund the purchase separately. |
**Options:** `--json`, `--dry-run`, `--reason <code>`, `--message <text>`, `--internal <text>`, `--gate <ref>`, `--key <key>`, `--as-self`, `--all`
**Ban Reason Codes:** SexualMinor, SexualMinorGenerator, SexualMinorTraining, SexualPOI, Bestiality, Scat, Nudify, Harassment, SpamBot, LeaderboardCheating, BuzzCheating, RRDViolation, Other
node .claude/skills/mod-actions/query.mjs user 3879899
node .claude/skills/mod-actions/query.mjs ban 3879899 --reason Other --message "ToS violation" --dry-run
node .claude/skills/mod-actions/query.mjs dm 3879899 --message "Please review our guidelines"
node .claude/skills/mod-actions/query.mjs inbox
node .claude/skills/mod-actions/query.mjs thread 3879899
node .claude/skills/mod-actions/query.mjs creator-program-ban 12345 set --internal "Counterparty farming" --gate hub:request:abc
node .claude/skills/mod-actions/query.mjs end-buzz-membership 12345 --internal "Buzz refunded by support" --dry-run
---
strikes.mjs — Strike System
node .claude/skills/mod-actions/strikes.mjs <command> [options]
| Command | R/W | Description | |---------|-----|-------------| | `get-user <userId>` | READ | Strike history for a user | | `standings` | READ | User standings (filter: active/muted/flagged) | | `list` | READ | Paginated strike list with filters | | `create <userId>` | WRITE | Issue a strike (requires `--reason`, `--description`) | | `void <strikeId>` | WRITE | Void a strike (requires `--reason`) |
**Strike R
Read more
name: mod-actions description: "Comprehensive moderation toolkit: user actions (ban/mute/DM), strike system, image moderation, report handling, generation moderation, content/training moderation, NCMEC/CSAM reporting, and Creator Shop purchase refunds. All via Civitai tRPC API."
Moderator Actions
Comprehensive moderation toolkit for Civitai. Covers user actions, strike management, image moderation, report handling, generation moderation, content/training moderation, NCMEC/CSAM reporting, and Creator Shop purchase refunds.
All scripts use the Civitai tRPC API with Bearer token authentication, ensuring actions go through the proper service layer with full side effects.
Setup
1. Copy `.env-example` to `.env` in this skill directory 2. Add your Civitai API key (must belong to a moderator account) 3. Optionally set the API URL (defaults to production)
cp .claude/skills/mod-actions/.env.example .claude/skills/mod-actions/.env # Edit .env and add your API key
**Important:** The API key must belong to a user with moderator privileges.
| Variable | Required | Default | Description | |----------|----------|---------|-------------| | `CIVITAI_API_KEY` | Yes | - | Your Civitai API key | | `CIVITAI_API_URL` | No | `https://civitai.com` | API base URL |
---
Skill Files
| File | Domain | Commands | |------|--------|----------| | `query.mjs` | User moderation | user, ban, mute, leaderboard, remove-content, dm, inbox, thread, creator-program-ban, end-buzz-membership | | `strikes.mjs` | Strike system | get-user, standings, list, create, void | | `images.mjs` | Image moderation | review-queue, review-counts, moderate, tos-violation, rescan, report-csam, poi-tags, user-images, rating-requests, ingestion-errors, resolve-ingestion, downleveled, pending-ingestion, toggle-flag | | `reports.mjs` | Report handling | list, set-status, bulk-status, update, appeals, appeal-details, resolve-appeal | | `generation.mjs` | Generation moderation | flagged-consumers, flagged-reasons, consumer-strikes, review-strikes, user-generations, restrictions, resolve-restriction, allowlist-add, debug-audit, todays-counts, suspicious-matches | | `content.mjs` | Content moderation | models, flagged-models, resolve-flagged, model-versions, rescan-model, restore-model, toggle-cannot-promote, toggle-cannot-publish, articles, mod-rule | | `model3ds.mjs` | 3D Models moderation | list, get, files, unpublish, delete, restore, set-nsfw-level, toggle-tos, toggle-poi, toggle-minor, toggle-nsfw, toggle-unlisted | | `csam.mjs` | NCMEC/CSAM reporting | reports, stats, image-resources, create-report | | `shop.mjs` | Creator Shop | refund |
---
query.mjs — User Moderation
node .claude/skills/mod-actions/query.mjs <command> [options]
| Command | Description | |---------|-------------| | `user <id\|username>` | Look up user info | | `ban <id\|username>` | Toggle ban status | | `mute <id\|username>` | Toggle mute status | | `leaderboard <id\|username> <true\|false>` | Set leaderboard eligibility | | `remove-content <id\|username>` | Remove all user content (DESTRUCTIVE) | | `dm <id\|username>` | Message the user as the shared **Civitai Moderation** account (requires `--message`; needs the `user.message.asCivitai` permission). The user sees only that account and can reply; you are recorded as the sender. Prints an idempotency key first: if the response is lost, rerun with `--key <key>` and it sends at most once. Refused while another moderator holds the thread's claim, or when the user already has several unanswered messages from the account in 24 h. `--as-self` sends from your own account instead (the old behaviour). | | `inbox` | Civitai Moderation threads whose last message is the user's, oldest first (`--all`: every thread, newest first) | | `thread <id\|username>` | A user's Civitai Moderation thread, naming the moderator behind each message, and who holds its claim | | `creator-program-ban <id\|username> <set\|clear>` | Ban from / unban from the Creator Program (requires `--internal <reason>`; optional `--gate <ref>`; needs the `user.creatorProgram.ban` permission). Use this, never a raw `onboarding` UPDATE. | | `end-buzz-membership <id\|username>` | End the account's Buzz-purchased membership now: `canceled`, `canceledAt`/`endedAt` = now, so the tier's perks stop (requires `--internal <reason>`; needs the `user.membership.code` permission). Stripe and code memberships are untouched. Moves no Buzz: refund the purchase separately. |
**Options:** `--json`, `--dry-run`, `--reason <code>`, `--message <text>`, `--internal <text>`, `--gate <ref>`, `--key <key>`, `--as-self`, `--all`
**Ban Reason Codes:** SexualMinor, SexualMinorGenerator, SexualMinorTraining, SexualPOI, Bestiality, Scat, Nudify, Harassment, SpamBot, LeaderboardCheating, BuzzCheating, RRDViolation, Other
node .claude/skills/mod-actions/query.mjs user 3879899 node .claude/skills/mod-actions/query.mjs ban 3879899 --reason Other --message "ToS violation" --dry-run node .claude/skills/mod-actions/query.mjs dm 3879899 --message "Please review our guidelines" node .claude/skills/mod-actions/query.mjs inbox node .claude/skills/mod-actions/query.mjs thread 3879899 node .claude/skills/mod-actions/query.mjs creator-program-ban 12345 set --internal "Counterparty farming" --gate hub:request:abc node .claude/skills/mod-actions/query.mjs end-buzz-membership 12345 --internal "Buzz refunded by support" --dry-run
---
strikes.mjs — Strike System
node .claude/skills/mod-actions/strikes.mjs <command> [options]
| Command | R/W | Description | |---------|-----|-------------| | `get-user <userId>` | READ | Strike history for a user | | `standings` | READ | User standings (filter: active/muted/flagged) | | `list` | READ | Paginated strike list with filters | | `create <userId>` | WRITE | Issue a strike (requires `--reason`, `--description`) | | `void <strikeId>` | WRITE | Void a strike (requires `--reason`) |
**Strike R
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 mod-actions.
- Which coding agents can use mod-actions?
- mod-actions 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.

