본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

glin-profanity

thegdsks 제작

Security & Passwords
1.5kclawskills.sh가 보고한 다운로드 수
1스타
1조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Profanity detection and content moderation library.

설명

이 스킬이 하는 일

Profanity detection library for JavaScript, TypeScript, and Python that handles evasion techniques like leetspeak, Unicode homoglyphs, and obfuscated text. Supports 24 languages with optional ML-powered toxicity scoring via TensorFlow.js. Includes context-aware analysis for domains like medical, gaming, and technical content.

Unlike simple word-list filters, it catches evasion attempts like leetspeak and Unicode lookalikes that users commonly exploit to bypass moderation.

사용 시점

  • Filtering user comments on a forum before they go live
  • Blocking profane usernames during account registration
  • Moderating chat messages in a multiplayer game
  • Validating form submissions in a web app
  • Scanning batch-uploaded content for policy violations

예시 워크플로

입력

User asks: Check if a chat message contains profanity before sending

에이전트
  1. 1

    Import Filter from glin-profanity

  2. 2

    Initialize filter with detectLeetspeak and normalizeUnicode enabled

  3. 3

    Call filter.checkProfanity() on the message text

  4. 4

    Inspect result.containsProfanity and result.profaneWords

  5. 5

    Block or replace the message using result.processedText if flagged

출력

Message is either sent as-is or replaced with a censored version, and the user is warned if violations are found

설치

clawhub install thegdsks/glin-profanity

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크