Loading...
Loading...
Agentic memory system for writers - track characters, relationships, scenes, and themes
npx skill4agent add yeachan-heo/oh-my-codex writer-memory.writer-memory/memory.json| Command | Action |
|---|---|
| Initialize new project memory |
| Show memory overview (character count, scene count, etc) |
| Add new character |
| View character details |
| Update character field |
| List all characters |
| Add relationship |
| View relationship |
| Add relationship event |
| Add new scene |
| View scene details |
| List all scenes |
| Add theme |
| Set world attribute |
| Query memory naturally (Korean supported) |
| Check if dialogue matches character tone |
| Generate emotion-focused synopsis |
| Export full memory as readable markdown |
| Create manual backup |
| Field | Korean | Description |
|---|---|---|
| 감정궤도 | Emotional journey (e.g., "체념 -> 욕망자각 -> 선택") |
| 태도 | Current disposition toward life/others |
| 대사톤 | Dialogue style (e.g., "담백", "직설적", "회피적") |
| 말투 레벨 | Formality: 반말, 존댓말, 해체, 혼합 |
| 핵심 단어 | Characteristic words/phrases they use |
| 금기어 | Words/phrases they would never say |
| 감정 기준선 | Default emotional state |
| 트리거 | What provokes emotional reactions |
/writer-memory char add 새랑
/writer-memory char update 새랑 arc "체념 -> 욕망자각 -> 선택"
/writer-memory char update 새랑 tone "담백, 현재충실, 감정억제"
/writer-memory char update 새랑 speechLevel "해체"
/writer-memory char update 새랑 keywords "그냥, 뭐, 괜찮아"
/writer-memory char update 새랑 taboo "사랑해, 보고싶어"| Field | Korean | Description |
|---|---|---|
| 배경 | Time, place, social context |
| 규칙 | How the world operates (magic systems, social norms) |
| 분위기 | Overall mood and tone |
| 제약 | What cannot happen in this world |
| 역사 | Relevant backstory |
| Field | Description |
|---|---|
| Base relationship: romantic, familial, friendship, rivalry, professional |
| Current state: budding, stable, strained, broken, healing |
| Who has the upper hand, if any |
| Timeline of relationship-changing moments |
| Current unresolved conflicts |
| Emotional closeness (1-10) |
/writer-memory rel add 새랑 해랑 romantic
/writer-memory rel update 새랑 해랑 "첫 키스 - 새랑 회피"
/writer-memory rel update 새랑 해랑 "해랑 고백 거절당함"
/writer-memory rel update 새랑 해랑 "새랑 먼저 손 잡음"| Field | Korean | Description |
|---|---|---|
| 제목 | Scene identifier |
| 등장인물 | Who appears |
| 장소 | Where it happens |
| 컷 구성 | Shot-by-shot breakdown |
| 내레이션 톤 | Narrative voice style |
| 감정 태그 | Primary emotions (e.g., "설렘+불안") |
| 목적 | Why this scene exists in the story |
| 전후 변화 | What changes for characters |
| Field | Korean | Description |
|---|---|---|
| 이름 | Theme identifier |
| 표현 방식 | How this theme manifests |
| 관련 장면 | Scenes that embody this theme |
| 캐릭터 연결 | Which characters carry this theme |
| 작가 의도 | What you want readers to feel |
/synopsis/validate| Check | Description |
|---|---|
| Speech Level | Does formality match? (반말/존댓말/해체) |
| Tone Match | Does the emotional register fit? |
| Keyword Usage | Uses characteristic words? |
| Taboo Violation | Uses forbidden words? |
| Emotional Range | Within character's baseline? |
| Context Fit | Appropriate for relationship and scene? |
/writer-memory validate 새랑 "사랑해, 해랑아. 너무 보고싶었어."[FAIL] 새랑 validation failed:
- TABOO: "사랑해" - character avoids direct declarations
- TABOO: "보고싶었어" - character suppresses longing expressions
- TONE: Too emotionally direct for 새랑's 담백 style
Suggested alternatives:
- "...왔네." (minimal acknowledgment)
- "늦었다." (deflection to external fact)
- "밥 먹었어?" (care expressed through practical concern)/writer-memory query "새랑은 이 상황에서 뭐라고 할까?"
/writer-memory query "규리의 현재 감정 상태는?"
/writer-memory query "해랑과 새랑의 관계는 어디까지 왔나?"
/writer-memory query "이 장면의 정서적 분위기는?"
/writer-memory query "새랑이 먼저 연락하는 게 맞아?"
/writer-memory query "해랑이 화났을 때 말투는?".writer-memory/memory.json.writer-memory/backups/.omx/notepad.mdspawn_sub_agent(subagent_type="oh-my-codex:architect",
model="opus",
prompt="Analyze 새랑's arc across all scenes...")# Initialize project
/writer-memory init 봄의 끝자락
# Add characters
/writer-memory char add 새랑
/writer-memory char update 새랑 arc "체념 -> 욕망자각 -> 선택"
/writer-memory char update 새랑 tone "담백, 현재충실"
/writer-memory char update 새랑 speechLevel "해체"
/writer-memory char add 해랑
/writer-memory char update 해랑 arc "확신 -> 동요 -> 기다림"
/writer-memory char update 해랑 tone "직진, 솔직"
/writer-memory char update 해랑 speechLevel "반말"
# Establish relationship
/writer-memory rel add 새랑 해랑 romantic
/writer-memory rel update 새랑 해랑 "첫 만남 - 해랑 일방적 호감"
/writer-memory rel update 새랑 해랑 "새랑 거절"
/writer-memory rel update 새랑 해랑 "재회 - 새랑 내적 동요"
# Set world
/writer-memory world set setting "서울, 현대, 20대 후반 직장인"
/writer-memory world set atmosphere "도시의 건조함 속 미묘한 온기"
# Add themes
/writer-memory theme add "포기하지 않는 사랑"
/writer-memory theme add "자기 보호의 벽"
# Add scene
/writer-memory scene add "옥상 재회"
# Query for writing
/writer-memory query "새랑은 이별 장면에서 어떤 톤으로 말할까?"
# Validate dialogue
/writer-memory validate 새랑 "해랑아, 그만하자."
# Generate synopsis
/writer-memory synopsis
# Export for reference
/writer-memory export/writer-memory char 새랑## 새랑
**Arc (감정궤도):** 체념 -> 욕망자각 -> 선택
**Attitude (태도):** 방어적, 현실주의
**Tone (대사톤):** 담백, 현재충실
**Speech Level (말투):** 해체
**Keywords (핵심어):** 그냥, 뭐, 괜찮아
**Taboo (금기어):** 사랑해, 보고싶어
**Relationships:**
- 해랑: romantic (intimacy: 6/10, status: healing)
**Scenes Appeared:** 옥상 재회, 카페 대화, 마지막 선택{
"version": "1.0",
"project": {
"name": "봄의 끝자락",
"genre": "로맨스",
"created": "2024-01-15T09:00:00Z",
"lastModified": "2024-01-20T14:30:00Z"
},
"characters": {
"새랑": {
"arc": "체념 -> 욕망자각 -> 선택",
"attitude": "방어적, 현실주의",
"tone": "담백, 현재충실",
"speechLevel": "해체",
"keywords": ["그냥", "뭐", "괜찮아"],
"taboo": ["사랑해", "보고싶어"],
"emotional_baseline": "평온한 무관심",
"triggers": ["과거 언급", "미래 약속"]
}
},
"world": {
"setting": "서울, 현대, 20대 후반 직장인",
"rules": [],
"atmosphere": "도시의 건조함 속 미묘한 온기",
"constraints": [],
"history": ""
},
"relationships": [
{
"id": "rel_001",
"from": "새랑",
"to": "해랑",
"type": "romantic",
"dynamic": "해랑 주도 → 균형",
"speechLevel": "반말",
"evolution": [
{ "timestamp": "...", "change": "첫 만남 - 해랑 일방적 호감", "catalyst": "우연한 만남" },
{ "timestamp": "...", "change": "새랑 거절", "catalyst": "과거 트라우마" },
{ "timestamp": "...", "change": "재회 - 새랑 내적 동요", "catalyst": "옥상에서 재회" }
],
"notes": "새랑의 불신 vs 해랑의 기다림",
"created": "..."
}
],
"scenes": [
{
"id": "scene-001",
"title": "옥상 재회",
"characters": ["새랑", "해랑"],
"location": "회사 옥상",
"cuts": ["해랑 먼저 발견", "새랑 굳은 표정", "침묵", "해랑 먼저 말 걸기"],
"narration_tone": "건조체",
"emotional_tag": "긴장+그리움",
"purpose": "재회의 어색함과 남은 감정 암시",
"before_after": "새랑: 무관심 -> 동요"
}
],
"themes": [
{
"name": "포기하지 않는 사랑",
"expression": "해랑의 일관된 태도",
"scenes": ["옥상 재회", "마지막 고백"],
"character_links": ["해랑"],
"author_intent": "집착이 아닌 믿음의 사랑"
}
],
"synopsis": {
"protagonist_attitude": "새랑은 상실을 예방하기 위해 먼저 포기하는 사람",
"relationship_structure": "기다리는 자와 도망치는 자의 줄다리기",
"emotional_theme": "사랑받을 자격에 대한 의심",
"genre_contrast": "로맨스지만 본질은 자기수용 서사",
"ending_aftertaste": "불완전하지만 따뜻한 선택의 여운"
}
}.writer-memory/
├── memory.json # Main memory file
├── backups/ # Auto-backups before changes
│ ├── memory-2024-01-15-090000.json
│ └── memory-2024-01-20-143000.json
└── exports/ # Markdown exports
└── export-2024-01-20.md/backup.writer-memory/memory.json/writer-memory status