🛡️
AI EngineeringPython

Content Moderation Patterns

by softspark

Content Moderation Patterns is an AI Engineering skill for Claude Code, published by softspark in ai-toolkit.

170 stars20 forkson softspark/ai-toolkitAdded 2026/09/08+2% in starsRepository updated 2026/09/07
ai-agentsai-skillsanthropicclaudeclaude-codeclinecodexcopilotcursorgeminimcpopencodetoolkitwindsurf
Install in seconds
Install Content Moderation Patterns
Copy Content Moderation Patterns into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/softspark/ai-toolkit/tree/main/app/skills/content-moderation-patterns ~/.claude/skills/content-moderation-patterns

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/softspark/ai-toolkit.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
app/skills/content-moderation-patterns/SKILL.md in softspark/ai-toolkit
Installs to
~/.claude/skills/content-moderation-patterns
Collection
One of 25 skills cataloged from this repository
Category
AI Engineering3670 skills

What Content Moderation Patterns does

Content Moderation Patterns shows a two-stage moderation pipeline with cheap pre-filters, LLM classification, thresholds, and human review. Use it to enforce content policy with audit trails and structured decisions.

Content Moderation Patterns is cataloged under AI Engineering on DirSkills. Content Moderation Patterns comes from a repository tagged ai-agents, ai-skills, anthropic, claude and claude-code.

Documentation

README

Content Moderation Patterns

Two-stage pattern that balances cost, latency, and quality: cheap deterministic filters first, then LLM classification only on survivors.

Architecture

[ input ]
   │
   ▼
[ pre-filter ]  ── (regex, allow/block lists, length check) ──► reject early
   │
   ▼
[ LLM classifier ]  ── (Haiku, structured output) ──► categories + confidence
   │
   ▼
[ decision router ]
   ├── high confidence + policy violation → reject
   ├── high confidence + clean → pass
   └── low confidence or edge categories → human review queue

Pre-filter Stage (cheap)

Catch the obvious cases before paying an LLM call:

This is the opening of the README. Read the full README on GitHub.

Commands Content Moderation Patterns provides

Slash commands named in this skill’s SKILL.md, listed in the order they first appear.

  • /json-mode-patterns
  • /security-patterns
  • /prompt-caching-patterns
  • /model-routing-patterns

Frequently asked about Content Moderation Patterns

  • What else does softspark publish alongside Content Moderation Patterns?

    Content Moderation Patterns is one of 25 skills that DirSkills catalogs from softspark/ai-toolkit, the repository it ships in. Its siblings there include API Patterns, Accessibility Validator and Agent Creator. Each one is a separate skill with its own page in this directory, installs the same way Content Moderation Patterns does, and is maintained by softspark in that same repository. The rest of the collection is listed on the softspark/ai-toolkit page.

  • How does Content Moderation Patterns compare to other AI Engineering skills?

    Content Moderation Patterns ranks #3273 by stars among the 3670 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Content Moderation Patterns against them. Open each page to compare what they document and how they install.

More from softspark/ai-toolkit

Content Moderation Patterns is one of 25 skills cataloged on DirSkills from softspark/ai-toolkit.

See all 25 skills
🔌
1h ago

API Patterns

API Patterns covers REST and GraphQL API design, including resource naming, versioning, pagination, idempotency, OpenAPI, error contracts, and safe retries. Use it when designing or reviewing API endpoints and failure responses.
AI Engineering
17020
1h ago

Accessibility Validator

Accessibility Validator scans a codebase for WCAG 2.1 AA, EN 301 549, and EAA issues without changing files. Use it to check contrast, keyboard support, ARIA, media, forms, and accessibility-statement compliance.
Quality
17020
🤖
1h ago

Agent Creator

Agent Creator creates new specialized agents with frontmatter, tools, model choice, and delegated skills. Use it when defining a new agent, routing triggers, or validating an agent scaffold.
AI Engineering
17020
🧩
1h ago

App Builder

App Builder scaffolds new projects for web, mobile, API, CLI, and AI apps using stacks like Next.js, Vite, Nuxt, Astro, FastAPI, Django, Laravel, React Native, and Flutter. Use it when starting a new app or choosing a starter architecture.
Automation
17020
🏗️
1h ago

Architecture Audit

Architecture Audit explores a codebase for architectural friction, shallow modules, and tight coupling. It surfaces candidates, compares interface designs, and files an RFC issue when you need to deepen a module boundary.
Quality
17020
🏗️
1h ago

Architecture Decision

Architecture Decision documents ADR, RFC, or RFD choices with context, constraints, options, trade-offs, recommendation, and consequences. Use it when deciding between architectural approaches or recording why a choice was made.
Writing
17020