用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/materialofair/oh-my-codex --skill writer-memory命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
三阶段专利撰写workflow(Research → Plan → Implement),借鉴AutoPatent架构,通过 Codex CLI 原生 spawn_agent 派发 explorer/reviewer child agent 协作,确保专利质量和授权率;也用于整理或优化已有 DOCX 专利交底书、保留图片和版式资源并生成新版 Word 文档
Analyze raw prompts, identify intent and gaps, inventory the current oh-my-codex skill catalog across local/upstream sources, choose the best-fit skill chain, and output a ready-to-paste optimized prompt for Codex. Advisory role only — never executes the task itself. TRIGGER when: user says "optimize prompt", "improve my prompt", "how to write a prompt for", "help me prompt", "rewrite this prompt", or explicitly asks to enhance prompt quality. Also triggers on Chinese equivalents: "优化prompt", "改进prompt", "怎么写prompt", "帮我优化这个指令". DO NOT TRIGGER when: user wants the task executed directly, or says "just do it" / "直接做". DO NOT TRIGGER when user says "优化代码", "优化性能", "optimize performance", "optimize this code" — those are refactoring/performance tasks, not prompt optimization.
Tests Codex skill functionality with TDD approach, verifying skills work correctly through automated test scenarios and validation
基于 SOC 职业分类
正在显示 SKILL.md
| name | writer-memory |
| description | Agentic memory system for writers - track characters, relationships, scenes, and themes |
| argument-hint | init|char|rel|scene|query|validate|synopsis|status|export [args] |
| version | 0.1.0 |
| source | fork |
| checksum | 1a3ffc8e64f38ff54601115b8a4c4decbb84cbc8f2a5e3452859a87eab88170a |
| updated_at | 2026-02-11T01:29:16.000Z |
| layer | domain |
Codex supports native subagents. Delegate with spawn_agent, coordinate with send_input, collect via wait_agent, and clean up with close_agent.
Execution preference:
[ANALYST]/[ARCHITECT]/[EXECUTOR]/[REVIEWER] structure in a single response.Minimal orchestration pattern:
spawn_agent -> send_input (optional) -> wait_agent -> close_agent
Codex invocation: use
$writer-memory ...orwriter-memory: ...
Persistent memory system designed for creative writers, with first-class support for Korean storytelling workflows.
Writer Memory maintains context across Codex sessions for fiction writers. It tracks:
All data persists in .writer-memory/memory.json for git-friendly collaboration.
| Command | Action |
|---|---|
$writer-memory init <project-name> | Initialize new project memory |
$writer-memory status | Show memory overview (character count, scene count, etc) |
$writer-memory char add <name> | Add new character |
$writer-memory char <name> | View character details |
$writer-memory char update <name> <field> <value> | Update character field |
$writer-memory char list | List all characters |
$writer-memory rel add <char1> <char2> <type> | Add relationship |
$writer-memory rel <char1> <char2> | View relationship |
$writer-memory rel update <char1> <char2> <event> | Add relationship event |
$writer-memory scene add <title> | Add new scene |
$writer-memory scene <id> | View scene details |
$writer-memory scene list | List all scenes |
$writer-memory theme add <name> | Add theme |
$writer-memory world set <field> <value> | Set world attribute |
$writer-memory query <question> | Query memory naturally (Korean supported) |
$writer-memory validate <character> <dialogue> | Check if dialogue matches character tone |
$writer-memory synopsis | Generate emotion-focused synopsis |
$writer-memory export | Export full memory as readable markdown |
$writer-memory backup | Create manual backup |
Tracks individual character attributes essential for consistent portrayal:
| Field | Korean | Description |
|---|---|---|
arc | 감정궤도 | Emotional journey (e.g., "체념 -> 욕망자각 -> 선택") |
attitude | 태도 | Current disposition toward life/others |
tone | 대사톤 | Dialogue style (e.g., "담백", "직설적", "회피적") |
speechLevel | 말투 레벨 | Formality: 반말, 존댓말, 해체, 혼합 |
keywords | 핵심 단어 | Characteristic words/phrases they use |
taboo | 금기어 | Words/phrases they would never say |
emotional_baseline | 감정 기준선 | Default emotional state |
triggers | 트리거 | What provokes emotional reactions |
Example:
$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 "사랑해, 보고싶어"
Establishes the universe your story inhabits:
| Field | Korean | Description |
|---|---|---|
setting | 배경 | Time, place, social context |
rules | 규칙 | How the world operates (magic systems, social norms) |
atmosphere | 분위기 | Overall mood and tone |
constraints | 제약 | What cannot happen in this world |
history | 역사 | Relevant backstory |
Captures the dynamic between characters over time:
| Field | Description |
|---|---|
type | Base relationship: romantic, familial, friendship, rivalry, professional |
status | Current state: budding, stable, strained, broken, healing |
power_dynamic | Who has the upper hand, if any |
events | Timeline of relationship-changing moments |
tension | Current unresolved conflicts |
intimacy_level | Emotional closeness (1-10) |
Example:
$writer-memory rel add 새랑 해랑 romantic
$writer-memory rel update 새랑 해랑 "첫 키스 - 새랑 회피"
$writer-memory rel update 새랑 해랑 "해랑 고백 거절당함"
$writer-memory rel update 새랑 해랑 "새랑 먼저 손 잡음"
Tracks individual scenes and their emotional architecture:
| Field | Korean | Description |
|---|---|---|
title | 제목 | Scene identifier |
characters | 등장인물 | Who appears |
location | 장소 | Where it happens |
cuts | 컷 구성 | Shot-by-shot breakdown |
narration_tone | 내레이션 톤 | Narrative voice style |
emotional_tag | 감정 태그 | Primary emotions (e.g., "설렘+불안") |
purpose | 목적 | Why this scene exists in the story |
before_after | 전후 변화 | What changes for characters |
Captures the deeper meaning woven through your story:
| Field | Korean | Description |
|---|---|---|
name | 이름 | Theme identifier |
expression | 표현 방식 | How this theme manifests |
scenes | 관련 장면 | Scenes that embody this theme |
character_links | 캐릭터 연결 | Which characters carry this theme |
author_intent | 작가 의도 | What you want readers to feel |
The $synopsis command generates an emotion-focused summary using 5 essential elements:
주인공 태도 요약 (Protagonist Attitude Summary)
관계 핵심 구도 (Core Relationship Structure)
정서적 테마 (Emotional Theme)
장르 vs 실제감정 대비 (Genre vs Real Emotion Contrast)
엔딩 정서 잔상 (Ending Emotional Aftertaste)
The $validate command checks if dialogue matches a character's established voice.
| 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? |
Example:
$writer-memory validate 새랑 "사랑해, 해랑아. 너무 보고싶었어."
Output:
[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)
Natural language queries against memory, with full Korean support.
$writer-memory query "새랑은 이 상황에서 뭐라고 할까?"
$writer-memory query "규리의 현재 감정 상태는?"
$writer-memory query "해랑과 새랑의 관계는 어디까지 왔나?"
$writer-memory query "이 장면의 정서적 분위기는?"
$writer-memory query "새랑이 먼저 연락하는 게 맞아?"
$writer-memory query "해랑이 화났을 때 말투는?"
The system synthesizes answers from all relevant memory types.
.writer-memory/memory.json with project metadata and empty collections.writer-memory/backups/Writer Memory integrates with .omc/notepad.md:
For complex character analysis:
[ARCHITECT | opus] "Analyze 새랑's arc across all scenes..."
Validation pulls context from:
Synopsis generation aggregates:
# 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 새랑
Output:
## 새랑
**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"
.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 before significant story pivotsMemory not loading?
.writer-memory/memory.json exists$writer-memory status to diagnoseValidation too strict?
Query not finding context?