一键导入
clawhub-moderation
// 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.
// 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.
| name | clawhub-moderation |
| description | 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. |
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.
skills unhide, users ban, and users unban.--yes.--id only when the user provides a user id.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
skills unhide.bun run mod -- whoami for the current token and user
search/admin surfaces for target accounts where available.skills unhide is a moderator manual restore. It clears skill hidden state,
applies a clean manual override to top-level moderation fields, preserves
version-level scanner records, updates public stats, and writes audit logs.skills hide command in clawhub-mod; use report
triage with --action hide when resolving a report that should hide a skill.ban-user is disruptive: it revokes API tokens, marks the user deleted,
hides owned skills, soft-deletes comments, and writes audit logs.unban-user is admin-only. It clears ban state and restores skills that were
hidden by the matching ban flow; revoked API tokens stay revoked.Use when ClawHub needs Codex review, autoreview, second-model review, or a final advisory review gate before commit, PR update, ship, or maintainer handoff.
Use when reviewing, triaging, validating, or discussing ClawHub GitHub issues or pull requests, including author context, CI, UI proof, evidence, labels, close decisions, and maintainer handoff.
Use when ClawHub UI changes need visual proof, before/after comparison, new-feature screenshots, temporary Playwright scenarios, or Crabbox desktop recordings.
Use when ClawHub needs remote Linux validation, CI-parity checks, broad Bun gates, hosted-service checks, desktop/VNC inspection, or Crabbox lease cleanup.