-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsensual_filter.yaml
More file actions
152 lines (123 loc) · 9 KB
/
sensual_filter.yaml
File metadata and controls
152 lines (123 loc) · 9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# Sensual Content Filter - Comprehensive Version
# ===============================================
# Based on proven prompts for thorough content filtering
config:
model: claude-sonnet-4-5-20250929
analysis:
user: |
You are analyzing a chapter from a fantasy novel to determine if it contains content that should be filtered.
FILTER if the chapter contains ANY of:
- Explicit sexual content or intimate physical encounters (any level)
- Detailed physical descriptions of bodies, undress, or minimal clothing
- Descriptions emphasizing physical attributes, curves, skin, limbs, or physical form
- Voyeuristic observations (character staring at, being distracted by, or unable to look away from another's appearance)
- Physical desire, attraction causing discomfort, or "heart leaping" type reactions to appearance
- References to nudity, partial dress, or revealing clothing (even if not graphic)
- Physical contact that makes a character uncomfortable or conflicted
- Any content that would be inappropriate for a general young adult audience
ESPECIALLY FILTER scenes with:
- Voyeuristic staring at exposed skin (even brief moments like "her shirt had pulled loose exposing skin," "staring at exposed midriff/ribs/body parts")
- Touching people who are asleep or unconscious (any physical touch without consent, even if brief or "gentle")
- Extended kissing or physical romantic scenes (multiple paragraphs of physical contact, even if stopping short of explicit content)
- Body-focused tactile descriptions ("smooth skin," "warm flesh," "soft in some places, firm in others," "feeling body pressed against," mentions of specific body parts during physical contact)
- Physical attraction leading to physical touch (even if character resists or is interrupted afterward)
- "Squeezing," "kneading," "stroking," "caressing" or similar tactile verbs applied to bodies
- Lying in close physical proximity with detailed descriptions (lying next to each other, feeling warmth/breath, physical awareness)
- Physical intimacy that builds over multiple paragraphs even if ultimately rejected or interrupted
Look for BOTH explicit content AND subtle inappropriate content like:
- Kiss descriptions with sensory details (breath, scent, perfume, mouth sensations, "hard against")
- "bent over to kiss her" with any follow-up physical details
- "after all we have shared" or similar implied intimacy references
- "wore just as little as" / "if not less"
- "could not look comfortably" at someone's body
- "abundance of golden limbs" or similar physical emphasis
- "slim body displayed" or voyeuristic framing
- "heart leaping" or physical reactions to appearance
- References to being undressed, revealing attire, or body-focused descriptions
- "exposed skin," "curves," tactile descriptions of bodies
- "his hand stole out," "fingers lit upon her skin," "feeling goosebumps"
- "pressed against," "wrapped around," "feeling the length of"
- "hand moved across/down," "fingers traced," "touching exposed"
- "body against body," "chest against," mentions of body parts in contact
- Extended scenes of physical closeness even if "innocent"
DO NOT FILTER if the chapter only contains:
- Violence, combat, or fantasy action
- Emotional distress or sadness
- Romance or attraction expressed through dialogue, decisions, or emotional connection (not physical appearance focus)
- General plot development
- Characters described as "beautiful" or "handsome" without detailed physical descriptions
- Brief, chaste physical contact (hand-holding, brief hug) without tactile body descriptions
Analyze this chapter:
{chapter_text}
Respond with ONLY ONE WORD:
- "FILTER" if it needs content filtering
- "CLEAN" if it does not
cleaning:
user: |
You are editing a fantasy novel chapter to remove inappropriate content while MAINTAINING STORY COHERENCE.
CRITICAL INSTRUCTIONS:
1. **IDENTIFY CONNECTED PARAGRAPHS**: If you change one paragraph, identify ALL paragraphs that reference or depend on it. They must be rewritten together as a unit.
2. **REPLACE WITH ALTERNATIVES**: When a scene needs filtering:
- Replace intimate encounters with clear rejection/departure or alternative content (conversations, character leaves the room, travel, reflection)
- Replace detailed physical descriptions with general, respectful descriptions ("dressed in the manner of her people")
- When filtering intimate advances, character should clearly establish boundaries or leave
- Use clear temporal markers for time passage
- NO AMBIGUITY about what happened - reader should have no gaps to fill with imagination
3. **PHYSICAL SEPARATION FOR INTIMATE SCENES**: When filtering romantic/intimate content:
- Character makes boundaries clear ("I wish to be alone")
- Other character withdraws and LEAVES ("the door closed behind him")
- THEN character can rest/sleep alone
- Next scene begins with clear time break
- Avoid: sitting on bed together, falling asleep with other person present, ambiguous "time passed"
4. **MAINTAIN CONTINUITY**: Later paragraphs often reference earlier events. If you change what happened, you MUST adjust subsequent references to match.
5. **NARRATIVE COHERENCE**: The filtered version must tell a complete, logical story. No references to events that were removed.
WHAT TO FILTER:
Physical Descriptions:
- "Wore just as little as" / "if not less" -> "dressed in the manner of her people"
- "Abundance of golden limbs" -> "moved gracefully"
- "Slim body displayed" / "body gleamed" -> remove or make respectful
- Any emphasis on undress, physical form, revealing clothing -> general description
- Voyeuristic framing ("could not look comfortably at") -> "still adjusting to customs"
- Exposed skin descriptions ("shirt pulled loose exposing skin," "curve of ribs/midriff") -> remove or character adjusts clothing immediately
- Staring at body parts (gazing at exposed areas) -> remove the staring/gazing, character looks away
Intimate/Romantic Content:
- Physical advances -> Clear rejection + departure
- "Slid beneath the sheet" / "pressed against" -> Character says "I wish to be alone" and other LEAVES
- "Hands moved over" / intimate touch -> Attempted comfort is verbally declined
- Time passage during intimate scene -> Must show character left FIRST
- "Fell asleep" with person present -> "he left" then "she fell asleep alone"
- Touching sleeping/unconscious people -> Remove entirely or character wakes them properly
- Extended kissing scenes (multiple paragraphs) -> Shorten to single brief moment or redirect to conversation
- Kiss with sensory details (breath, scent, perfume, mouth sensations) -> Remove all sensory details, keep only brief action or remove kiss entirely
- "after all we have shared" -> Remove this phrase (implies past intimacy)
- Body-focused tactile language ("smooth skin," "warm flesh," body parts during contact) -> Remove or make non-tactile
- "Pressed against," "wrapped around," "feeling the length of," "body against body" -> Character maintains appropriate distance
- "Squeezing," "kneading," "stroking," "caressing," "fingers traced," "hand moved down/across" -> Remove or limit to appropriate contact
- Lying in close proximity with awareness of breath/warmth/bodies -> Character maintains distance or moves away
- Physical intimacy building over paragraphs (even if stopping short) -> Character stops it early with clear boundaries
Attraction/Temptation:
- "Heart leaping" at appearance -> "found her presence unsettling" (cultural difference)
- Physical reactions to appearance -> Emotional reactions to cultural differences
- Physical attraction leading to touch -> Character resists the impulse, maintains boundaries
WHAT TO PRESERVE:
- Character emotions (loneliness, confusion, cultural discomfort, homesickness)
- Plot progression and story logic
- Relationship dynamics through dialogue, decisions, boundaries
- World-building and setting details
RESPONSE FORMAT:
If NO paragraphs need changes, respond with:
NONE
If paragraphs need changes:
- For paragraphs that should be REWRITTEN, respond with:
PARAGRAPH N: [complete rewritten text]
- For paragraphs that should be REMOVED entirely, respond with:
PARAGRAPH N: [PARAGRAPH REMOVED]
IMPORTANT:
- Rewrite ALL connected paragraphs together, even if that means changing 5-15 paragraphs
- When filtering intimate scenes, ensure clear sequence: rejection -> departure -> then sleep/time passage
- Make sure the narrative has clarity - no ambiguity about what did or didn't happen
- Later references must match earlier changes
- Use [PARAGRAPH REMOVED] for paragraphs that no longer fit the narrative after earlier changes
Here is the chapter with numbered paragraphs:
{numbered_chapter}
Provide your response: