Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

mod-actions

БесплатноЗапускает вложенные скриптыНе проверен

Comprehensive moderation toolkit: user actions (ban/mute/DM), strike system, image moderation, report handling, generation moderation, content/training…

civitaiот civitai★ 7 333 звезды на GitHub18 установок в других каталогах

Об этом скилле

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> <true|false> Ban (true) or unban (false). Already in that state: nothing is written and no ban side effect runs; the output says Changed: No. There is no bare toggle: a retried or stale toggle flips the account back.
contest-ban <id|username> <true|false> Participation ban: no contests, challenges, crucibles (entering, judging, creating), events or leaderboards; not a site ban. Requires --internal <reason> and the user.participation.ban permission.
mute <id|username> <true|false> Mute (true) or unmute (false), the same way
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,

Полный SKILL.md на GitHub

Установить mod-actions в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

.env.examplecontent.mjscsam.mjsgeneration.mjsimages.mjslib.mjsmodel3ds.mjsquery.mjsreports.mjsshop.mjsstrikes.mjs

FAQ

Что делает скилл 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.

Как установить скилл mod-actions?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл mod-actions запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить mod-actions с