Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/hyc7511/openclaw-Storyboarder --skill compliance-review명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | compliance_review |
| description | 内容安全与合规审核工具。在生成任何视觉内容前,必须确保不触碰平台红线。 |
| parameters | {"type":"object","properties":{"text_content":{"type":"string","description":"需要检测的文本(对白或动作描述)"},"shot_id":{"type":"string","description":"镜头编号(可选)"}},"required":["text_content"]} |
你不仅是导演,也是发行制片。必须过滤:
["血肉模糊", "斩首", "断肢", "色情", "裸露", "血腥", "残忍", "恐怖", "虐杀"
def execute(params):
import sqlite3
import os
content = params.get("text_content", "")
shot_id = params.get("shot_id", "")
# 实际项目中,这里通常会调用阿里云/腾讯云的内容安全 API (Text Moderation)
# 这里做简单的本地敏感词拦截作为示例
nsfw_keywords = ["血肉模糊", "斩首", "断肢", "色情", "裸露", "血腥", "残忍", "恐怖", "虐杀"]
found_keywords = []
for word in nsfw_keywords:
if word in content:
found_keywords.append(word)
if found_keywords:
return {
"status": "blocked",
"feedback": f"触发合规风控:包含敏感描写:{', '.join(found_keywords)}。请修改表达方式(如使用剪影或隐晦镜头替代)。"
}
# 如果有 shot_id,更新 shot 的状态
if shot_id:
# 数据库路径
db_path = os.path.join(os.path.dirname(__file__), "../../project/evolution_log.db")
conn = sqlite3.connect(db_path)
cursor = conn.cursor()
cursor.execute('UPDATE shots SET status = ? WHERE shot_id = ?', ('compliance_passed', shot_id))
conn.commit()
conn.close()
return {
"status": "safe",
"message": "内容安全风控通过。"
}