studio/modules/sillytavern-export/SKILL.md
Build SillyTavern V3 character cards from Markdown files. Supports character export, lorebook embedding, and batch processing.------
npx skillsauth add datdang-dev/light-novel-development sillytavern-exportInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
When invoked as an AI agent skill:
{{project_root}}/studio/assets/templates/st_card_template.md{{project_root}}/studio/assets/templates/SillyTavern_V3_Template.json{{project_root}}/studio/modules/sillytavern-export/references/field_mapping.md{{project_root}}/studio/assets/templates/char_desc_example.md{{project_root}}/studio/docs/sillytavern-expert-sidecar/knowledge/| Trigger | Description |
|---------|-------------|
| /st-export character <bible_path> | Generate a filled markdown from a character bible, then build JSON |
| /st-export build <markdown_path> | Build JSON from an already-filled markdown |
| /st-export worldinfo <world_path> | Generate lorebook-only JSON from world info |
| /st-export batch <folder> | Export all .md files in folder to JSON cards |
The input file uses YAML frontmatter + ## sections:
name: "Rin"
creator: "LND Studio"
version: "1.0.0"
tags: [mesugaki, loli, tsundere]
talkativeness: 0.5
| Markdown Section | JSON Field | Notes |
|---|---|---|
| ## Description | description | Main prompt block, always sent |
| ## Personality | personality | Brief keyword summary |
| ## Scenario | scenario | Current context |
| ## First Message | first_mes | Opening greeting |
| ## Example Dialogues | mes_example | Voice samples with <START> |
| ## System Prompt | system_prompt | Behavioral rules |
| ## Post History Instructions | post_history_instructions | End-of-context reinforcement |
| ## Alternate Greetings | alternate_greetings[] | Separated by --- |
| ## Lorebook | character_book.entries[] | ### sub-sections with **keys:** |
When asked to export a character bible:
Read the character bible markdown (e.g., _lnd-output/_bible/rin/char_rin.md).
Copy the template and fill each section using the mapping in references/field_mapping.md:
## Description → <visual_appearance> XML tags## Description → <behavioral_engine> XML tags## Example Dialogues → <START> blocks## Description → <sexual_mechanics> XML tags## Lorebook entries (keyword-triggered){{char}}{{user}}Run the build script:
python studio/modules/sillytavern-export/scripts/build_st_card.py <filled_card>.md <output>.json
Verify:
name is set (not placeholder)description is non-empty and under 4000 charsfirst_mes sets scene, action, and hookmes_example has at least 2 <START> blocks{{char}}/{{user}} tokens used consistentlydevelopment
SillyTavern framework engineering expert — Prompt Manager architecture, character card V3 optimization, context template engineering, lorebook design, and Vietnamese R18 roleplay configuration. Bridges LND Studio character bibles to high-fidelity ST deployments.
documentation
Kuro's R18 Research & Downloader Engine. Harvests fetish references, downloads R18 assets (novels, manga, illustrations), and extracts natural Japanese R18 prose style guides from Syosetu.
development
Ultimate Novel Development Pipeline — A slow-paced, deeply contextualized narrative engine. Orchestrated flow: Kana (Visuals) -> Luna (World/Pacing) -> Suki (Long-form Prose).
data-ai
Luna's Scene Prelude engine — generates an erotic narrative context (micro-scenario) from Kana's forensic data, bridging raw visual analysis to Suki's caption writing. Outputs a structured scenario seed that maximizes erotic tension and narrative coherence.