mod-actions
Take moderator actions on users - ban, mute, remove content, manage leaderboard eligibility. Use when you need to ban a user, mute them, or take other moderation actions.
Install
mkdir -p .claude/skills/mod-actions && curl -L -o skill.zip "https://mcp.directory/api/skills/download/5871" && unzip -o skill.zip -d .claude/skills/mod-actions && rm skill.zipInstalls to .claude/skills/mod-actions
About this skill
Moderator Actions
Take moderator actions on Civitai users including banning, muting, removing content, managing leaderboard eligibility, and sending direct messages.
This skill uses the Civitai tRPC API with API key authentication, ensuring all actions go through the proper service layer with full side effects (session invalidation, search index updates, activity tracking, etc.).
Setup
- Copy
.env-exampleto.envin this skill directory - Add your Civitai API key (must belong to a moderator account)
- 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
Get your API key from: https://civitai.com/user/account (API Keys section)
Important: The API key must belong to a user with moderator privileges.
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
CIVITAI_API_KEY | Yes | - | Your Civitai API key |
CIVITAI_API_URL | No | https://civitai.com | API base URL |
For local development, set CIVITAI_API_URL=http://localhost:3000
Running Commands
node .claude/skills/mod-actions/query.mjs <command> [options]
Commands
| Command | Description |
|---|---|
user <id|username> | Look up user info by ID or username |
ban <id|username> | Ban a user (toggle - will unban if already banned) |
mute <id|username> | Mute a user (toggle - will unmute if already muted) |
leaderboard <id|username> <true|false> | Set leaderboard eligibility |
remove-content <id|username> | Remove all content from a user |
dm <id|username> | Send a DM to a user (requires --message) |
Ban Reason Codes
| Code | Description |
|---|---|
SexualMinor | Sexual content involving minors |
SexualMinorGenerator | Generator for sexual minor content |
SexualMinorTraining | Training on sexual minor content |
SexualPOI | Sexual content with people of interest |
Bestiality | Bestiality content |
Scat | Scat content |
Nudify | Nudification tools |
Harassment | Harassment |
LeaderboardCheating | Leaderboard manipulation |
BuzzCheating | Buzz system abuse |
RRDViolation | Rights and Restrictions Denial violation |
Other | Other violation |
Options
| Flag | Description |
|---|---|
--json | Output raw JSON response |
--dry-run | Show what would be done without making changes |
--reason <code> | Ban reason code (for ban command) |
--message <text> | External message shown to user (for ban command) |
--internal <text> | Internal notes (for ban command) |
Examples
Look Up User
# By user ID
node .claude/skills/mod-actions/query.mjs user 3879899
# By username
node .claude/skills/mod-actions/query.mjs user unfazedanomaly964
# Get raw JSON
node .claude/skills/mod-actions/query.mjs user 3879899 --json
Ban User
# Simple ban (toggles ban status)
node .claude/skills/mod-actions/query.mjs ban 3879899
# Ban with reason and message
node .claude/skills/mod-actions/query.mjs ban 3879899 --reason Other --message "Repeated ToS violations"
# Ban with internal notes
node .claude/skills/mod-actions/query.mjs ban 3879899 --reason Other --message "ToS violation" --internal "User exploited republish bug 15 times"
# Ban by username
node .claude/skills/mod-actions/query.mjs ban unfazedanomaly964 --reason Other
# Dry run to see what would happen
node .claude/skills/mod-actions/query.mjs ban 3879899 --dry-run
Mute User
# Toggle mute status
node .claude/skills/mod-actions/query.mjs mute 3879899
# By username
node .claude/skills/mod-actions/query.mjs mute unfazedanomaly964
# Dry run
node .claude/skills/mod-actions/query.mjs mute 3879899 --dry-run
Manage Leaderboard Eligibility
# Exclude from leaderboards
node .claude/skills/mod-actions/query.mjs leaderboard 3879899 false
# Include in leaderboards
node .claude/skills/mod-actions/query.mjs leaderboard 3879899 true
# Dry run
node .claude/skills/mod-actions/query.mjs leaderboard 3879899 false --dry-run
Remove All Content
# Remove all content from a user (DESTRUCTIVE)
node .claude/skills/mod-actions/query.mjs remove-content 3879899
# Always dry run first!
node .claude/skills/mod-actions/query.mjs remove-content 3879899 --dry-run
Output Format
User Info
User: unfazedanomaly964
ID: 3879899
Status: Active
Banned: No
Muted: No
Leaderboard Eligible: Yes
Created: 2024-03-19
Action Result
Action: BAN
User: unfazedanomaly964 (ID: 3879899)
Success: Yes
Previous: Not Banned
Now: Banned
Reason: Other
How It Works
This skill calls the Civitai tRPC API endpoints:
user.getById/user.getCreator- User lookupsuser.toggleBan- Ban/unban usersuser.toggleMute- Mute/unmute usersuser.setLeaderboardEligibility- Manage leaderboard accessuser.removeAllContent- Remove all user content
Authentication is via Bearer token in the Authorization header:
Authorization: Bearer <your-api-key>
All endpoints require moderatorProcedure access, meaning the API key must belong to a moderator account.
When to Use
- Investigating violations: Look up user info before taking action
- Repeat offenders: Ban users who repeatedly violate ToS
- Temporary restrictions: Mute users for minor violations
- Leaderboard manipulation: Exclude cheaters from leaderboards
- Content violations: Remove all content from severe violators
Safety Notes
- Always use
--dry-runfirst for destructive actions - All actions are logged in the ModActivity table
- Ban actions invalidate user sessions immediately
- Universal bans unpublish all user content and cancel subscriptions
- Document reasons with
--reasonand--messageflags - API key must have moderator privileges
Tips
- Always look up user info first to confirm the right user
- Use
--dry-runfor destructive actions like bans and content removal - Document reasons with
--reason,--message, and--internalflags - Use
--jsonfor scripting or piping to other tools - Set
CIVITAI_API_URL=http://localhost:3000for local development
More by civitai
View all skills by civitai →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
Related MCP Servers
Browse all serversEnable real-time, secure chat via telegram bots. Telegram Communicator supports asynchronous messaging & private telegra
Integrate with Twitter/X for automatic Twitter posting, profile data, replies, and more via Node.js with dual authentica
Appointment Scheduler MCP: natural language appointment booking and appointment scheduler for secure online appointment
Enhance software testing with Playwright MCP: Fast, reliable browser automation, an innovative alternative to Selenium s
Extend your developer tools with GitHub MCP Server for advanced automation, supporting GitHub Student and student packag
Optimize your codebase for AI with Repomix—transform, compress, and secure repos for easier analysis with modern AI tool
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.