一键导入
story-memory-config
Use when config_manager creates or updates Story Memory structures or records.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when config_manager creates or updates Story Memory structures or records.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
| name | story-memory-config |
| description | Use when config_manager creates or updates Story Memory structures or records. |
| agent | config_manager |
Use this skill before calling write_story_memory_structures or write_story_memory_records.
list_story_memory_structures for the target story_id; it returns the full structure definitions.list_story_memory_records before changing records. Use read_story_memory_records when exact values are needed.story_id. Pass branch_id for record writes when the user is working on a specific branch.write_story_memory_structures operations use structure:
id: stable snake_case ID. Required for update; optional for create only if the backend can generate one.name: user visible table name.description: what belongs in this structure.generation_instruction: how automatic memory generation should maintain it.mode: one of singleton, keyed, append.key_field_id: required for keyed; empty for singleton and usually empty for append.enabled: boolean pointer. Use false for optional structures that should not enter automatic generation yet.order: integer sort order.fields: ordered field definitions.Field definitions use:
id: stable snake_case field ID.name: user visible field name.description: what the field stores.generation_instruction: how agents should fill or update the field.required: boolean.enabled: optional boolean pointer.order: integer sort order.Do not delete built-in structures unless the user explicitly asks and accepts the impact. Prefer disabling optional custom structures.
write_story_memory_records operations use record:
structure_id: must match an existing structure.branch_id: target branch. If omitted, the current branch is used by the backend.key: required for keyed structures. It should equal the value of the structure's key_field_id.values: map from field ID to string value.manual: true for user-authored corrections or explicit additions.Mode behavior:
singleton: one active row per branch. Updating without a record ID upserts the singleton row.keyed: one active row per key per branch. Provide key and the key field value.append: every create adds a new row unless updating by record ID.For updates, preserve existing values unless the user asked to change them. For archive/restore/delete, provide the target record ID; delete archives rather than hard-deleting.
Story Memory is branch-aware. If a visible inherited record from another branch is changed on the current branch, the backend may create a copy-on-write record for the branch. Do not assume one record ID is global across all branches.
待确认 only when the user accepts that ambiguity.Use when config_manager creates or updates Denova Story Director resources.
Use when config_manager creates or updates Denova narrative style configurations.
当资料库为空,或用户想初始化故事设定、世界观、角色、创作规则、互动开局时使用。
使用资料库工具读取、整理、更新或删除长期设定时使用;覆盖 list_lore_items、read_lore_items 和 write_lore_items 的基本方法。
Use when config_manager creates or updates Denova image preset configurations.
Use when config_manager creates or updates Denova Agent page settings through agent config tools.