Start here
- Any agent
- Claude Code
- Other coding agents
- Chat assistants
Copy this prompt into your coding agent. Nothing to install first:The agent reads the setup skill from our site and follows it. To keep the skill in your agent for later, install it instead:
npx skills add https://moderationapi.com.What the agent does
When you ask an agent with the setup skill to add moderation, it:- Checks your setup with
modapi doctor. - Finds every place where users create content, and writes a plan for you to approve.
- Creates or links your project with
modapi init. The CLI writes your keys to your env file. The agent never sees them. - Adds the moderation call on your server, and handles
allow,reviewandreject. - Sets up webhooks for decisions that moderators make later.
- Checks the result against a list of common mistakes, and sends a test.
Docs for agents
These docs are written for people and for agents:llms.txtlists every page.llms-full.txthas all pages in one file.- Add
.mdto the URL of any page to get it as Markdown, for examplehttps://docs.moderationapi.com/ai/mcp.md. modapi <command> --schemaprints the exact request body of an API call.
When something is missing
If your agent finds that Moderation API cannot do what you ask, it can draft a feature request for you. It shows you the draft first, and sends it only when you agree. You can also send one withPOST /feedback. We read every request.