Clawhub moderation

From openclaw/clawhub · View interactive version

Clawhub moderation is an AI agent skill from the GitHub repository openclaw/clawhub. Use for ClawHub staff moderation actions with the repo-local clawhub-mod tool: unhide skills, ban or unban users, change roles, and verify moderation state.

How to use this skill

Skill file

ClawHub Moderation

Use the repo-local clawhub-mod tool from a checked-out ClawHub repo. It wraps

the existing ClawHub CLI auth/config and HTTP API surfaces. Do not call Convex

internal mutations directly for staff actions.

Safety Rules

user already said to proceed or supplied --yes.

Commands

Run from the ClawHub repo root:

bun run mod -- --help

Authenticate or validate the current token:

bun run mod -- login
bun run mod -- whoami

Unhide a skill after moderator review:

bun run mod -- skills unhide <slug> --reason "<reason>" --yes

List and triage skill reports:

bun run mod -- skills reports --status open
bun run mod -- skills triage-report <report-id> --status confirmed --action hide --note "<note>" --yes

Ban a user:

bun run mod -- users ban <handleOrId> --reason "<reason>" --yes

Unban a user:

bun run mod -- users unban <handleOrId> --reason "<reason>" --yes

Change a user role:

bun run mod -- users set-role <handleOrId> <user|moderator|admin> --yes

Use --id when <handleOrId> is a user id. Use --fuzzy only when the user

has asked for fuzzy handle resolution or the exact handle is ambiguous.

The old top-level aliases still exist for user commands:

bun run mod -- ban-user <handleOrId> --reason "<reason>" --yes
bun run mod -- unban-user <handleOrId> --reason "<reason>" --yes

Verification

search/admin surfaces for target accounts where available.

result and the verification blocker plainly.

Impact Notes

applies a clean manual override to top-level moderation fields, preserves

version-level scanner records, updates public stats, and writes audit logs.

triage with --action hide when resolving a report that should hide a skill.

hides owned skills, soft-deletes comments, and writes audit logs.

hidden by the matching ban flow; revoked API tokens stay revoked.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.