Install
$ agentstack add skill-alfredxw-nova-story-memory-config ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Story Memory Config
Use this skill before calling write_story_memory_structures or write_story_memory_records.
Workflow
- Use
list_story_memory_structuresfor the targetstory_id; it returns the full structure definitions. - Use
list_story_memory_recordsbefore changing records. Useread_story_memory_recordswhen exactvaluesare needed. - Keep structure and record changes separate:
- Structures define tables, fields, modes, and generation instructions.
- Records store concrete story facts for one branch.
- Always pass the active
story_id. Passbranch_idfor record writes when the user is working on a specific branch. - Do not write story memory by editing story JSONL files directly.
Structure Rules
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 ofsingleton,keyed,append.key_field_id: required forkeyed; empty forsingletonand usually empty forappend.enabled: boolean pointer. Usefalsefor 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.
Record Rules
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 forkeyedstructures. It should equal the value of the structure'skey_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. Providekeyand 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.
Branch Safety
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.
Content Boundaries
- Story Memory is evolving branch-local truth, not stable lore.
- Record concrete facts from the story and user corrections.
- Do not invent unseen events, relationships, abilities, or world rules to fill fields.
- If a required field is unknown, write a bounded placeholder such as
待确认only when the user accepts that ambiguity.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: alfredxw
- Source: alfredxw/denova
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.