Modular SillyTavern engine fusing AyaFork, FF & Vexa. Features 2-phase Refractive Embellish (co-writer, zero puppeting), 1-word non-English Dubbing Lens, bidirectional TF/drift trackers, 19-tab console & mid-chat migration. Requires Experimental Macro Engine.
AyaPrism 1.1 [Transformative TRP-AO]
Versions · 2
Whole preset overhaul, new modes, better model adherence, model-specific patches.
Creator’s notes
I usually just make cards on Botbooru and usually don't mess with connection presets community made. It started as my personal Freaky Frankenstein / AyaFork setup for transformative campaigns and snowballed after fusing it with Vexa's TeleWire TRP-AO routing and tabbed console.
If you want the full breakdown and toggle profiles, it's all in the README linked below. Here's the short version of what actually sets AyaPrism 1.x apart:
Refractive "The Prism" Embellish Mode (Co-Writer ≠ Director): Most presets make you pick between stiff Anti-Echo or a co-writer that puppets your character out the door. AyaPrism splits turns in two: Phase 1 elevates your shorthand into vivid prose and refracts your intent through live form, scale, curses, and mental drift (so altered bodies actually push back on-screen). Phase 2 slaps a hard Statue, Limb & Mute Lock on
{{user}}- zero invented dialogue, zero "reflexive" catches - while NPCs finish their turn. (Prefer zero re-narration? One toggle swaps to Strict Anti-Parrot and rewires the CoT automatically.)An Actual Non-English Dubbing Lens: Most engines assume English-only or break regexes the second you ask for another language. Flip on
🌐 Language & Dubbing Lensand edit 1 word (Polish→ anything). Reasoning, headers, and XML stay in English for rock-solid logic and regex stability, while prose, dialogue, props, thoughts, and vent stream idiomatically behind a Diegetic Firewall - with straight ASCII quote locks, upstream anti-slop, raw native slang, and grammatical gender sync after transformations.Universal Ontology & Transformative Trackers: Mundane humans are just the baseline, not a cage. Includes 4 bidirectional trackers (Form/Coord/TF, Public Gaze/Aura, Magic/Curses/Rules, Persona/Reflex/Drift), a 4-channel Epistemic Firewall, and HQ NPC Genesis 3.0 that scales NPC design to your setting's power tier without bloating state on disposable extras.
Prefix-Cache TRP-AO, 19-Tab Console & Mid-Chat Migration: Static specs sit at System Position 0 for clean caching, turning modules off dynamically rewires the CoT, and the pure-CSS console auto-hides unused tabs (6 themes + streaming progress bar +
minDepth: 2context stripping). Switching mid-chat from FF 5.x, AyaFork 1.0, or Vexa v1.0? The built-in migration engine converts your existing state automatically.
Other fun toggles under the hood:
7 Prose / Director Modes: Cinematic Realism, Literal Realism, Satire, Vexa Lite, Full Vexa Mode (deception-default + profanity floor), Deadpool Mode (meta-asides mortals can't hear), and Patryk Vega Mode (grotesque exploitation pulp).
Swap Your Sim Depth: Pick Bonds 2.0 or 12-Axis Aether Matrix & Dam, Fast VAD or Deep Aether, and 4 CoT speeds (MAX, Vexa-style Alt-Max Multi-Page, BOLT, Micro-Sprint).
Optional Add-Ons: Zero-spoiler 1d6 Fourth Wall Console Ambushes, physics-aware World Turns, 2D Spatial Atlas, ARC Engine, Gossip, Readable Props & Lore Tooltips, Off-Screen Wingman (CYOA), and an OOC Image Architect (
(OOC: img ...)for GPT-Image / Nano Banana).
Required: Enable Experimental Macro Engine in User Settings → Chat/Message Handling.
Import
AyaPrism 1.x [Transformative TRP-AO].json(bundled regexes handle the UI, colors, and context stripping).Toggle: Turn ON your preferred NSFW lens if wanted, turn ON Visible Monologue Mode only if using a non-thinking model, and enable the Dubbing Lens if playing outside English.
Readme on Rentry -> https://rentry.co/ayaprism1
Credits: Built on the shoulders of dptgreg (FrankenSIM / TeleWire TRP), Ryah (Vexa / TRP-AO / Console), Pyropia (TFDY / Sola), and RF (Card Fidelity).
Your feedback and usage reports are most appreciated.
Nudges
10 nudges
Write as the user
[Write your next reply from the point of view of {{user}}, using the chat history so far as a guideline for the writing style of {{user}}. Don't write as {{char}} or system. Don't describe actions of {{char}}. Match {{user}}'s rhythm, person, and tense. Stop on {{user}}'s last beat without resolving NPC reactions. Output plain narrative prose ONLY — zero headers, zero <font> or color tags, zero <internal_states>, zero OOC, and zero XML. Skip <cot>, zero <page:boot> / [PAGE: boot] markers, and zero ### Internal Monologue / ### Response headers.]Start of a chat
[Start a new chat — if no opening greeting exists, begin {{char}} mid-activity with one concrete action, sound, or remark rather than polite introductions]Start of a group chat
[Start a new group chat — if no opening greeting exists, begin group chat with group members - {{group}} - mid-activity with one concrete action, sound, or remark rather than polite introductions]
Settings
32 settings
Samplers
- Temperature
- 1
- Top P
- 0.95
- Top K
- 0
- Min P
- 0
- Context size
- 1,048,576
- Maximum reply length
- 64,000
Completion
- Stream the reply
- Yes
- Send a system prompt
- Yes
- Merge system messages
- No
- Character names in messages
- 0
- Assistant prefill
- Nothing
- Impersonation prefill
- Nothing
Advanced
- Seed
- -1
- Replies per request
- 1
- Unlock the context limit
- Yes
- Logit bias set
- Default (none)
Prompt fragments
114 fragments · 39 switched on
- [CORE] ⚙️ System Vars
{{// Initializes all 138 chat-scoped macro variables at turn start (0 emitted tokens). Required by every module; resets optional hooks cleanly each turn to prevent chat-var leakage.}}{{trim}}
{{setvar::tagHeader::}}{{setvar::tagOmni::}}{{setvar::tagAgenda::}}{{setvar::tagAutonomy::}}{{setvar::tagBans::}}{{setvar::tagProse::}}{{setvar::tagPov::}}{{setvar::tagCombat::}}{{setvar::tagWorldTurns::}}{{setvar::tagIntro::}}{{setvar::profilesRef::prior chat history}}{{setvar::stateLintCoT::}}{{setvar::fnStateLintCall::}}{{setvar::trackerHeaderIfStates::∅ (core blocks only)}}{{setvar::statesTrackerHeader::}}{{setvar::statesBootHead::Stateless mode (∅ XML state block) → maintain turn ct, cast locations & relationships from chat history}}{{setvar::statesBootMid::}}{{setvar::statesBootTail::}}{{setvar::statesCommitHead::∅ (stateless mode → skip XML state commit)}}{{setvar::statesCommitMid::}}{{setvar::statesCommitEnd::}}{{setvar::monologueLead::run ∀ CoT stages as terse telegraphic bullets inside native thinking ONLY (prose drafting → terse bullets only; raw <internal_states>/state:*/ in thinking → plain labels only), then open visible reply directly with }}{{setvar::headerOpenCoT::live in-scene prose}}{{setvar::headerRuleCoT::realistic elapsed scene time}}{{setvar::omniCoT::natural character perception limits (mind-reading | unwitnessed facts → ∅)}}{{setvar::fnKnowledgeCheckCall::}}{{setvar::agencyCoT::independent NPC goals & committed physical acts}}{{setvar::agendaTickCoT::Advance off-screen world activities naturally.}}{{setvar::proseBaseCoT::concrete 5-sense narrative prose & balanced clause rhythm}}{{setvar::povBaseCoT::consistent narrative perspective & tense}}{{setvar::bansRefCoT::lexical clichés, receipt beats & negative-contrast filler}}{{setvar::introRecallCoT::}}{{setvar::fnMigrationCall::carry forward prior narrative continuity cleanly}}{{setvar::fnSceneEntryCall::update spatial continuity & intercept present NPCs mid-activity}}{{setvar::fnCharFidelityCall::rotate dominant traits & filter emotion through core persona}}{{setvar::fnViolationLoopCall::audit prior turn to break repetitive beat skeletons}}{{setvar::fnMicroLintsCall::verify knowledge vectors, elapsed time, attire continuity & anti-orbit}}{{setvar::fnSlopAuditCall::map 3 concrete trigger → replacement anti-cliché swaps}}{{setvar::fnAnchorsCall::lock telegraphic OPEN / CRUX / CLOSE beat vectors (prose drafting → ∅)}}{{setvar::statesLaunchCoT::, and closing cleanly on the final live-motion narrative beat}}{{setvar::outLang::English}}{{setvar::langCoT::}}{{setvar::langLintCoT::}}{{setvar::stateLangException::}}{{setvar::monologueHeader::}}{{setvar::responseHeader::}}{{setvar::somaticPov::passive somatic sensations matching active POV}}{{setvar::autonomyCoT::USER AUTONOMY FALLBACK: respect {{user}} agency | voluntary {{user}} actions, decisions, or spoken dialogue → ∅}}{{setvar::autonomyAuditCoT::AUTONOMY FALLBACK AUDIT: verify ∅ unauthorized {{user}} puppeting anywhere in prose & end on live motion.}}{{setvar::autonomyLaunchCoT::following locked OPEN → CRUX → CLOSE beat vectors using straight ASCII quotes}}{{setvar::conduitCoT::}}{{setvar::directorLaunchCoT::}}{{setvar::psychCoT::card-faithful emotional state, outward IW 0-4 (per <sys>), leading facet & 1st-person subtext}}{{setvar::dialogueCoT::authentic character voice & distinct cadence}}{{setvar::dialogueRatio::30-55%}}{{setvar::kinkCoT::}}{{setvar::dualRelTracking::}}{{setvar::dualRelCoT::}}{{setvar::relPreCoT::}}{{setvar::epistemicTemplate::}}{{setvar::epistemicPreCoT::}}{{setvar::epistemicCoT::}}{{setvar::bondsTemplate::}}{{setvar::bondCoT::}}{{setvar::aetherTemplate::}}{{setvar::aetherCoT::}}{{setvar::formTemplate::}}{{setvar::formCoT::}}{{setvar::gazeTemplate::}}{{setvar::gazeCoT::}}{{setvar::rulesTemplate::}}{{setvar::rulesCoT::}}{{setvar::driftTemplate::}}{{setvar::driftCoT::}}{{setvar::gossipCoT::}}{{setvar::gossipCommitCoT::}}{{setvar::atlasTemplate::}}{{setvar::atlasPreCoT::}}{{setvar::atlasCoT::}}{{setvar::arcTemplate::}}{{setvar::arcPreCoT::}}{{setvar::arcCommitCoT::}}{{setvar::ventTemplate::}}{{setvar::ventCoT::}}{{setvar::invTemplate::}}{{setvar::invCoT::}}{{setvar::dndTemplate::}}{{setvar::dndPreCoT::}}{{setvar::dndCommitCoT::}}{{setvar::dndDice::}}{{setvar::worldsimTemplate::}}{{setvar::worldsimPreCoT::}}{{setvar::worldsimCommitCoT::}}{{setvar::worldsimDice::}}{{setvar::chekhovTemplate::}}{{setvar::chekhovPreCoT::}}{{setvar::chekhovCommitCoT::}}{{setvar::chekhovDice::}}{{setvar::thoughtsTemplate::}}{{setvar::thoughtsCoT::}}{{setvar::notebookTemplate::}}{{setvar::notebookRecallCoT::recall active canon locks from chat history.}}{{setvar::notebookCommitCoT::}}{{setvar::adultDispatch::ADULT LENS: ∅ (inactive)}}{{setvar::deaddoveCoT::}}{{setvar::lengthCoT::}}{{setvar::propsCoT::}}{{setvar::kineticsCoT::}}{{setvar::sfxCoT::}}{{setvar::gfxCoT::}}{{setvar::gfxDirectorGuard::}}{{setvar::combatCoT::}}{{setvar::metaScope::auto}}{{setvar::fwTarget::5}}{{setvar::metaCoT::}}{{setvar::metaCommitGuard::}}{{setvar::fourthWallStateHook::}}{{setvar::genesisCoT::assign permanent speaker color (IF <colors> active) & basic cast record}}{{setvar::biasKillCoT::}}{{setvar::proseModePlanCoT::}}{{setvar::proseModeCoT::}}{{setvar::ventPersonaCoT::}}{{setvar::castPsychField::<mood>[emotion | IW:0-4]</mood>}}{{setvar::wingmanCoT::}}{{setvar::wingmanPlanCoT::}}{{setvar::colorsCoT::plain uncolored spoken dialogue in straight ASCII "..." quotes (/color tags → ∅)}}{{setvar::imgStyle::Photorealistic}}{{setvar::imagineOocCoT::}}{{setvar::debugOocCoT::}}{{setvar::directorRoundCoT::}}{{setvar::cotBrakeCoT::}}{{setvar::loreEnrichCoT::}}{{setvar::patchGeminiCoT::}}{{setvar::patchClaudeCoT::}}{{setvar::patchGLMCoT::}}{{setvar::patchKimiCoT::}}{{setvar::patchDeepSeekCoT::}}{{setvar::patchFlashCoT::}}{{trim}} - [CORE] 🎨 Internal States UI Theme
{{// Host-layer rendering macro: sets global Internal States panel theme (Afterglow | Velvet | Sola | Mocha | Undertow | Signal). Zero prompt tokens emitted.}}{{trim}}
{{setglobalvar::ayaUI.theme::Afterglow}}{{trim}} - [CORE] ⏰ Time and Place Header 2.0
{{// Opens every IC response with a concrete time/date/location/weather header; enforces proportional elapsed time, mathematically valid calendars, and biological weather reactions. Disable only if target format omits timestamps.}}{{trim}}
scope: IC narrative response opening line only | OOC, Continue, Impersonate → ∅
format: [ 🕰️ Time HH:MM AM or PM | 🗓️ Day # - DayOfWeek, Month DD, YYYY Era | 📍 General Area - Specific Spot | [WeatherEmoji] Weather, Temp ]
date_init: IF turn=1 → extract date from (1) card/scenario/first_msg; IF absent → (2) {{user}} persona; IF absent → (3) lock concrete season-appropriate Day 1 starting date
calendar:real-world → real calendar date where DayOfWeek mathematically matches Month DD, YYYY
fantasy/sci-fi → canonical setting calendar & era (IF calendarless → fitting lore-accurate season & era)
literal placeholders ([Month], [DD], [Weekday]) → concrete locked date ∀ turns
clock: advance HH:MM proportionally to enacted actions (combat: seconds | dialogue: 2–7 min | travel: realistic duration) | repeated identical timestamp → forbidden | cross midnight → Day #+1 & advance calendar | respect natural world rhythms (meals ~6–8am, 12–1pm, 6–8pm; sleep ~10pm–7am unless persona differs)
location: General Area - Specific Spot | update on spatial movement
weather_somatic: NPCs physically react to temperature, weather & hour per biology
{{setvar::headerOpenCoT::[ 🕰️ Time ... ]}}{{setvar::headerRuleCoT::concrete
date & elapsed clock}}{{setvar::tagHeader::,
}}{{trim}}
Regex scripts
88 scripts
- Optional - Braille Deobfuscation (Enable with Braille JB)Off
- Optional - Gem $$ Bypass (Enable with $$ JB)Off
- [Optional - BUT never run during migration] Aya Prompt - Dialogue Color Tag Saver [Change depth higher for better colored dialogue accuracy in RP at the cost of missing cache hits]Off
- Aya Prompt - Context Saver (Internal States @ minDepth 2)