Janitor AI Lorebook template
Janitor AI Lorebook Template:keyと例(2026)
Primary key、condition、standalone content、priority、8ターンtestで保守しやすいLorebook templateを作ります。
11分で読める
クイック回答
このガイドでわかること
良いtemplateは長さではなく一entry一目的です。Distinctive key、condition、standalone contentを使い、identityはcard、changing eventはMemory、world factだけをLorebookへ置きます。Small templateを8ターンtestしてから増やします。
- Templateの目的
- Entryの4 field
- 過剰triggerしないkey

Janitor AI Lorebook template guide
Janitor AI Lorebook template検索者は実際に改変できる構造を求めます。Janitor Lorebook guide、export guide、troubleshooting guideとは主intentを分けます。
Templateの目的
Templateは魔法ではなく再利用可能なentry patternです。Place、faction、item、eventなどsceneで必要なworld factに使い、stable identity、every-reply rule、private creator contentには使いません。
| Template goal | Put it in | Avoid |
|---|---|---|
| Stable character identity | Character card | Repeating it in every lore entry |
| World fact on demand | Lorebook entry | Making every fact constant |
| Current relationship state | Chat Memory | Treating it as permanent canon |
| Reply style | Advanced Prompt | Hiding it behind a keyword |
Entryの4 field
Label、primary key、secondary condition、standalone contentを必須にします。Enabled、constant、order、position、probability、depthは理解してから追加し、sourceとlicenseを残します。
| Field | What to write | Quality test |
|---|---|---|
| Title/comment | A short editor label | You can find it later |
| Primary keys | Distinctive names or phrases | One clear activation message |
| Secondary keys | A real condition | It prevents unrelated activation |
| Content | Standalone facts | It makes sense without the key label |
| Enabled/constant | Whether it participates | It fires only when intended |
過剰triggerしないkey
Common wordでなくrare nameやplaceを選びます。Synonymはnaturalでnegative controlを通ったものだけ。Secondaryはcontextを狭め、Regexにはfalse-positive testを付けます。
- Choose one rare primary key.
- Add one synonym only if users naturally type it.
- Keep secondary conditions separate.
- Test a negative control that should not activate.
- Narrow broad keys before increasing any token budget.
Standalone content
Key labelをmodelが見ない前提でtopic、fact、consequence、scopeを書きます。Long historyはsubjectごとに分割し、cardとのcontradictionやexecutable scriptの貼り付けを避けます。
| Weak content | Why it fails | Better pattern |
|---|---|---|
| “The city is important.” | No usable detail | Name the rule, place and consequence |
| A 1,000-word history dump | Consumes context | Split by location, faction and event |
| Facts that depend on the key text | Model may not see the key | Repeat essential context in content |
| A script pasted as prose | It will not execute | Keep code in a supported script layer |
一設定ずつ調整
Small scan depth、budget、default position、probability 100%、recursion offからbaselineを作ります。一設定ずつ同じmessageを再送して記録します。
| Setting | Beginner choice | Change it when |
|---|---|---|
| Scan depth | 2–4 recent turns | Older mentions must activate |
| Context budget | Small, measurable cap | Entries are visibly truncated |
| Insertion position | Default | The model sees facts too late |
| Probability | 100% for testing | You intentionally want variation |
| Recursion | Off for baseline | Linked entries are deliberately designed |
安全なtemplate例
下のfictional Harbor Council exampleを自分のauthorized worldへ置き換えます。Public pageはhidden Lorebookの許可ではありません。
Title: Harbor Council
Primary keys: Aster Harbor, harbor council
Secondary condition: the council is being discussed
Content: Aster Harbor is governed by five council seats. A tie pauses new laws until the harbor bell is rung.
Use: add this entry only when the place or council matters to the current scene.
8ターンtest
No-key、exact key、synonym、condition、collision、scene change、correction、reopenを8ターンで確認します。Activation、position、tokens、reply qualityを記録します。
| Turn | Input | Expected result |
|---|---|---|
| 1 | No key | Entry is absent unless constant |
| 2 | Exact primary key | Target entry activates |
| 3 | Synonym | Only the intended synonym activates |
| 4 | Wrong context | Secondary condition blocks it |
| 5 | Two related keys | Budget and order remain coherent |
| 6 | Scene change | Relevant fact returns without a dump |
| 7 | Correction | New scene truth overrides stale wording |
| 8 | Reopen chat | Binding and state persist |
Templateはweak model、login、card conflict、unauthorized sourceを直しません。直接chatならLumiChat libraryを試せます。
よくある質問
Best templateは?
Key、condition、standalone content、testが明確な最短構造です。
Keyはいくつ?
Distinctive key一つから始めます。
Constantにする?
いいえ。毎回contextを消費します。
何を入れる?
Keyed world factです。
Overfireの理由?
Broad key、constant、scan、recursionです。
Scriptは?
普通のlore textでは実行しません。
Public contentはcopy?
Creator permissionが必要です。
LumiChatへimport?
直接importは約束せず別serviceです。
LumiChat で続ける
キャラクターを選んで会話を始める
公開中のキャラクターから相性のよい人物と場面を選び、すぐにチャットできます。
続きを読む
Janitor AI troubleshooting
Janitor AI Lorebookが動かない:trigger修正ガイド
欠落・過剰・無視されるLorebook entryをlayerごとに診断します。
Janitor AI Lorebook移行
Janitor AI Lorebook Export:SillyTavernへ移行
権利を守りながらauthorized Lorebookを移行するfield mapと8-turn test。
Janitor AI Prompt workflow
Janitor AI Advanced Prompts(2026):テンプレートと修正
Agency、Voice、Pacing、Scene stateのテンプレートと6ターンA/Bテスト。
世界記憶ガイド
JanitorAI Lorebookガイド(2026年):作成・取込・世界記憶の修正
Lorebookは条件付き世界知識であり、無限の長期記憶ではありません。正確なキーで必要な事実だけを入れます。
