Guide · Agent skill
How to use the ClawHub Staff Moderation agent skill
Updated · written with AI from the project's own documentation and checked against our catalogue data
The clawhub-moderation skill is a set of instructions that teaches an AI agent how to use the repo-local ClawHub admin tool for staff moderation work, such as hiding or restoring skills, banning users, managing org publishers and plugin packages, and sending guarded staff email. It is written for ClawHub staff and maintainers working from a checked-out copy of the repository. After this guide you will know how to install the skill, what it requires, how to ask for a task in plain language, and which safety steps the agent follows before any change is made.
Quick start
- 1Check the prerequisites. Confirm you have a checked-out ClawHub repository, the bun runtime, and network access to the ClawHub server.
- 2Install the skill. Download the ZIP from this page and unzip it into ~/.claude/skills/ or a project's .claude/skills/, or upload it under Settings → Capabilities → Skills in the Claude apps.
- 3Log in with a staff token. Run bun run admin -- login, then bun run admin -- whoami to confirm the token is valid.
- 4Ask for a specific task. Name the target (skill slug, user handle, or user id) and the reason for any write.
- 5Confirm the exact command. Review the command the agent shows you, including any dry run output, and approve it explicitly.
- 6Verify the result. Ask the agent to check state with the CLI or API after the write and report the outcome.
What an agent skill is and what this one does
An agent skill is a folder containing a SKILL.md file. The file tells an AI agent when to use the skill and how to carry out a task. This skill covers ClawHub staff moderation actions: skills, users, org publishers, plugin packages, trusted publishers, official publishers, and staff email.
The skill does not give the agent new powers. It tells the agent to run the repo-local admin tool with commands such as bun run admin, and it tells the agent to follow strict rules around writes. Server role checks and audit logging still apply to every action.
Install the skill with a ZIP download or the Claude apps
Download the ZIP for this skill from this page and unzip it. For a personal install, place the resulting folder in ~/.claude/skills/. For a project install, place it in the project's .claude/skills/ folder.
If you use the Claude apps, you can instead upload the skill under Settings → Capabilities → Skills.
- Personal: ~/.claude/skills/clawhub-moderation/
- Project: .claude/skills/clawhub-moderation/
- Claude apps: Settings → Capabilities → Skills, then upload
Meet the requirements before you start
The skill assumes you already have a checked-out ClawHub repository and the bun runtime, because commands run as bun run admin. You also need a ClawHub admin API token with the staff role, which you obtain with the admin tool's login command. The machine needs network access to the ClawHub server.
Without a verified admin token the skill cannot do anything useful, and the server will not bypass its role checks.
- A checked-out ClawHub repository
- bun runtime installed
- ClawHub admin API token with staff role, obtained via the login command
- Network access to the ClawHub server
bun run admin -- login
bun run admin -- whoamiAsk for tasks in natural language
You do not need to remember command syntax. Name the target and the action, and include a reason for any destructive, restorative, ownership, or moderation change. The skill requires an explicit target: a skill slug, a user handle, or a user id.
For example, you might ask the agent to show the moderation status of a plugin package, or to unban a specific user handle with a stated reason. The agent will show the exact command and ask you to confirm before any write.
- Good: "Unban handle alice-dev, reason: appeal approved by moderator team."
- Vague: "Fix that user." The agent should ask for the handle and reason first.
Understand the safety flow
Before any write, the agent shows the exact command and asks for confirmation unless you have already said to proceed or supplied --yes. It verifies the state afterwards and reports the result. Email is held to a stricter standard: the agent only sends after you explicitly ask for the email and approve the final recipient, subject, and body. Drafting with a dry run is allowed at any time.
Some commands default to a dry run. For example, skills hard-delete and org delete show what would happen first, and hard-delete only applies with the exact confirmation token returned by that dry run.
- Require a target and a reason for writes
- Show the exact command and wait for confirmation
- Use dry runs where the tool offers them
- Verify the result after the write
bun run admin -- skills hard-delete @owner/<slug> --reason "<reason>"
bun run admin -- users ban <handleOrId> --reason "<reason>" --yesSafety notes: scripts and network access
This skill runs scripts and uses the network. Every command goes to the ClawHub server through the admin API, so run it only on a machine you trust and with a token you are authorised to use. Many commands are destructive. Hard-delete, bans, and email sends should always have a human confirming each step.
Do not use this skill for unattended automation. Do not ask the agent to bypass API-token auth, server role checks, or audit logging; the skill itself forbids this.
- Use only with a verified staff token
- Keep a human in the loop for every destructive step
- Ban actions revoke API tokens, mark the user deleted, hide owned skills, and soft-delete comments
- Record the reason in your task record, since rescan has no reason flag
Tips for reliable moderation work
Prefer user handles over ids, and use --id only when you have a user id. Use --fuzzy only when the user has asked for it or the exact handle is ambiguous. When more than one publisher uses the same slug, pass --owner to revoke-version.
There is no standalone skills hide command in clawhub-admin. To hide a skill as part of resolving a report, use report triage with --action hide.
- Start with bun run admin -- --help to see the command groups
- Check status before and after changes
- Use bun run admin -- skills reports --status open to review open reports
bun run admin -- --help
bun run admin -- skills reports --status openWhat people use it for
- Restoring a wrongly hidden skill with skills unhide after a moderator review
- Triaging an open skill report and hiding the skill through report triage
- Banning or unbanning a user handle with a recorded reason
- Checking the moderation status or queue for a plugin package
- Adding or removing an org as an official publisher
Frequently asked questions
How do I install the clawhub-moderation skill?
Download the ZIP from this page and unzip it into ~/.claude/skills/ for a personal install or into a project's .claude/skills/ folder. If you use the Claude apps, upload it under Settings → Capabilities → Skills instead.
What do I need to use this skill?
You need a checked-out ClawHub repository, the bun runtime, a ClawHub admin API token with the staff role obtained through the admin tool's login command, and network access to the ClawHub server. Without a verified admin token the skill cannot perform any real moderation action.
Is the clawhub-moderation skill free?
The skill is released under the MIT licence. The source does not mention pricing for ClawHub itself, so check the repository for any terms that apply to your use.
Can ordinary ClawHub users or skill authors use this skill?
No. The commands need staff-level admin access and do nothing useful without it. It is intended for ClawHub staff, trusted moderators, and developers maintaining the repository.
Why does the agent ask me to confirm before every change?
The skill requires an explicit target and reason, shows the exact command, and asks for confirmation before any write, unless you already told it to proceed or supplied --yes. Many commands are destructive, so this keeps a human in control.
Why won't the agent send an email without my sign-off?
For email send, the skill requires you to explicitly ask for the email and approve the final recipient, subject, and body. Only then does it use the send flags. Drafting with a dry run is allowed at any time.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
This skill is a good fit for ClawHub staff and maintainers who already hold admin credentials and want a consistent, cautious workflow around the admin tool. It is not suitable for ordinary users, anyone without a verified staff token, or unattended automation, because many of its commands are destructive and need a person confirming each step.
Download the skill