Content Moderation
name: content-moderation
by code-with-brian · published 2026-03-22
$ claw add gh:code-with-brian/code-with-brian-content-moderation---
name: content-moderation
description: Moderate text, images, and video using Vettly's content moderation API via MCP server.
metadata.openclaw: {"requires": {"env": ["VETTLY_API_KEY"], "bins": ["npx"]}}
---
# Content Moderation
Moderate user-generated content using Vettly's AI-powered content moderation API. This skill uses the `@vettly/mcp` MCP server to check text, images, and video against configurable moderation policies with auditable decisions.
Setup
Add the `@vettly/mcp` MCP server to your configuration:
{
"mcpServers": {
"vettly": {
"command": "npx",
"args": ["-y", "@vettly/mcp"],
"env": {
"VETTLY_API_KEY": "your-api-key"
}
}
}
}Get an API key at [vettly.dev](https://vettly.dev).
Available Tools
`moderate_content`
Check text, image, or video content against a Vettly moderation policy. Returns a safety assessment with category scores, the action taken, provider used, latency, and cost.
**Parameters:**
`validate_policy`
Validate a Vettly policy YAML without saving it. Returns validation results with any syntax or configuration errors. Use this to test policy changes before deploying them.
**Parameters:**
`list_policies`
List all moderation policies available in your Vettly account. Takes no parameters. Use this to discover available policy IDs before moderating content.
`get_usage_stats`
Get usage statistics for your Vettly account including request counts, costs, and moderation outcomes.
**Parameters:**
`get_recent_decisions`
Get recent moderation decisions with optional filtering by outcome, content type, or policy.
**Parameters:**
When to Use
Examples
Moderate a user comment
Moderate this user comment for my community forum policy:
"I hate this product, it's the worst thing I've ever used and the developers should be ashamed"Call `list_policies` to find available policies, then `moderate_content` with the appropriate policy ID and return the safety assessment.
Validate a policy before deploying
Validate this moderation policy YAML:
categories:
- name: toxicity
threshold: 0.8
action: flag
- name: spam
threshold: 0.6
action: blockCall `validate_policy` and report any syntax or configuration errors.
Review recent flagged content
Show me all flagged content from the last weekCall `get_recent_decisions` with `flagged: true` to retrieve recent moderation decisions that were flagged.
Tips
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...