st-arc-savelisted
Install: claude install-skill haingt-dev/agent
# ST Arc Save — Persistent Narrative Memory
Hai's flow: RP an arc with {{char}} → arc concludes → use Memory extension to summarize → run this skill to bake the summary into searchable lore. Future chats with the same persona/char auto-load this context.
## Architecture
Two complementary entry types per persona:
| Entry type | Mode | Position | When |
|-----------|------|----------|------|
| **{Persona} — Established State** | `constant=true` | After Char Defs (pos=1) | UPDATED each new arc — cumulative facts about persona's current state |
| **{Persona} Arc N — {Title}** | `selective=true` (~30 keys) | At Depth 4 (pos=4) | APPENDED per arc — full event narrative, triggers on backstory keywords |
Default target = persona-bound lorebook (`worlds/{PersonaName}.json`). Use `--char-bound` for arcs that are genuinely char-specific.
Universal {{char}} mechanics (parasite biology, etc.) belong in char's primary lorebook with `{{user}}` macros — NOT this skill's domain.
## Usage
```
/st-arc-save # prompt for arc title interactively
/st-arc-save "Subway Encounter" # specify arc title
/st-arc-save "Arc 2 — Daughter Awakens" # quoted multi-word title
/st-arc-save "Arc 1" --char-bound # save to char primary book instead
/st-arc-save --char Parasite # explicit char (skip auto-detect)
/st-arc-save "Arc 2" --no-brain # skip brain_save followup
```
## Constants
```
ST_DATA = /home/haint/Projects/hom