OpenAI Moderation Workflow
Independent PiSkill directory guide. The original prompt remains hosted by OpenAI Cookbook.
What does this prompt do?
Shows how to evaluate user or generated content with moderation signals and incorporate results into an application policy with appropriate review and fallback behavior.
Primary use case
Add content moderation to an AI product.
Expected output
A moderation decision flow and handling result.
Inputs or variables
- content
- application policy
- handling rules
Related prompts
OpenAI Guardrails Workflow
Demonstrates layered input, output, and tool guardrails with explicit failure handling rather than treating one moderation step as complete application security.
Claude Content Moderation
Creates a Claude moderation workflow from explicit policy categories, severity rules, examples, structured decisions, uncertainty handling, and evaluation data.
Autofix GitHub Actions with Codex
Demonstrates a Codex workflow that reads failed GitHub Actions evidence, identifies the responsible change or configuration, proposes a focused repair, and validates it.
Codex Prompting Guide
Provides a source-linked recipe for structuring coding tasks, context, constraints, tool use, iteration, and verification when working with Codex-oriented models.
Deep Research API Workflow
Shows how to frame a research question, provide source access, run a deep-research workflow, and return a cited synthesis with transparent limitations.
Evaluate LLM SQL Generation
Builds an evaluation workflow for generated SQL using representative cases, execution-aware checks, correctness criteria, and reproducible comparison rather than subjective inspection alone.