<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[PersonaHarbor]]></title><description><![CDATA[PersonaHarbor]]></description><link>https://personaharbor.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/6b1009ccc99302d78363ecd0/7393aa69-5df1-4769-bfa0-b60f3540a30c.png</url><title>PersonaHarbor</title><link>https://personaharbor.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Dec 2026 20:53:09 GMT</lastBuildDate><atom:link href="https://personaharbor.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Portable AI Companion Personas: Exporting SillyTavern V2 Cards & Prompts]]></title><description><![CDATA[Export portable SillyTavern V2 chara_card_v2 JSON and PNG personas with client-agnostic prompts and free templates.]]></description><link>https://personaharbor.hashnode.dev/portable-ai-companion-personas-exporting-sillytavern-v2-cards-prompts</link><guid isPermaLink="true">https://personaharbor.hashnode.dev/portable-ai-companion-personas-exporting-sillytavern-v2-cards-prompts</guid><category><![CDATA[AI]]></category><category><![CDATA[AI Tools for Developers]]></category><category><![CDATA[Prompt Engineering]]></category><category><![CDATA[json]]></category><category><![CDATA[llm]]></category><dc:creator><![CDATA[PersonaHarbor]]></dc:creator><pubDate>Wed, 02 Dec 2026 12:12:49 GMT</pubDate><content:encoded><![CDATA[<p>If you build AI companion personas inside a single proprietary app, your character logic is locked to that vendor's UI and pricing changes. Exporting characters into portable <strong>SillyTavern V2 (<code>chara_card_v2</code>)</strong> files lets you keep one canonical persona definition across local frontends, open-weight models, and hosted roleplay clients.</p>
<h2>1. JSON vs. PNG <code>tEXt</code> Metadata Exports</h2>
<p>SillyTavern V2 supports two portable formats:</p>
<ul>
<li><strong>Raw <code>.json</code> cards:</strong> Plain UTF-8 JSON you can version-control in Git, diff in PRs, and validate in CI.</li>
<li><strong>Embedded <code>.png</code> cards:</strong> Standard PNG avatars storing a Base64-encoded JSON payload inside a <code>chara</code> <code>tEXt</code> chunk, so image + persona travel as a single file.</li>
</ul>
<p>When exporting for multi-client portability, keep your source of truth in JSON first, then embed into PNG only as a distribution artifact:</p>
<pre><code class="language-json">{
  "spec": "chara_card_v2",
  "spec_version": "2.0",
  "data": {
    "name": "Kestrel",
    "description": "{{char}} is a methodical field archivist who catalogs orbital weather logs.",
    "personality": "Calm, analytical, concise, dry sense of humor.",
    "scenario": "{{user}} meets {{char}} at a relay station before a solar storm.",
    "first_mes": "Telemetry is stabilizing. Pull up the eastern sector chart when you are ready.",
    "mes_example": "&lt;START&gt;\n{{user}}: Is the array calibrated?\n{{char}}: Within two millidegrees. Let us log the baseline first.",
    "tags": ["sci-fi", "sfw", "archivist"]
  }
}
</code></pre>
<h2>2. Keep Prompt Variables Client-Agnostic</h2>
<p>To avoid broken prompts when importing across clients:</p>
<ol>
<li>Use standard <code>{{char}}</code> and <code>{{user}}</code> placeholders instead of hardcoding model-specific chat tokens.</li>
<li>Put hard behavioral boundaries in <code>system_prompt</code> or <code>post_history_instructions</code> rather than burying them in <code>description</code>.</li>
<li>Keep <code>first_mes</code> focused on tone and pacing—the first message anchors style more strongly than long adjective lists.</li>
</ol>
<h2>Free Portable Resources &amp; Templates</h2>
<ul>
<li><strong>Generate a clean V2 card in seconds:</strong> <a href="https://personaharbor.com/character-builder/">Free 4-Step Character Builder</a></li>
<li><strong>Setup &amp; import walkthrough:</strong> <a href="https://personaharbor.com/sillytavern-character-cards/">SillyTavern Character Cards &amp; JanitorAI Setup Guide</a></li>
<li><strong>10 ready-to-import SFW JSON cards:</strong> <a href="https://github.com/personaharbor/ai-character-cards">PersonaHarbor AI Character Cards on GitHub</a></li>
<li><strong>Copyable SFW scenarios:</strong> <a href="https://personaharbor.com/roleplay-ideas/">100+ Roleplay Ideas &amp; Prompts</a></li>
<li><strong>Compare hosted subscription costs:</strong> <a href="https://personaharbor.com/ai-companion-price-index/">December 2026 AI Companion Price Index</a></li>
</ul>
]]></content:encoded></item></channel></rss>