Memory-Inhabit
Paste the following prompt into your AI chat to install this skill:
Please install @user_570cbaaa/memory-inhabit according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
memory-inhabit handles the post-generation side of character personas: once Memory-Trace has produced a SoulPod package, the dialogue layer still needs to load the persona consistently, maintain story state, and expose private thoughts only when the user asks for them, rather than relying on a bare system prompt.
How It Works
- Persona loading: reads an MI package from
personas/, usingprofile.json,system_prompts.txt,memories/, andprompt/story_baseline.txt. Fields such assource_type,source,gender, andappearancesupport persona identification, TTS voice matching, and image-generation appearance constraints. - Story baseline: during conversation, it prioritizes
story_baseline.txtand advances by current mainline, relationship stage, dialogue tendency, and stage goals without dumping all settings at once. - Secret diary: at day's end or dialogue closure, if the persona is loaded, a story baseline exists, today's message count reaches
config.secret_diary.min_messages_today, and no full diary has been generated yet, it writes a first-personfulldiary and cuts shorter, more imagistictraces. Only when the user explicitly asks for private thoughts does it show 1-2traces;*.full.mdmust not be exposed. - Image and TTS:
imggen.pydecides whether to include character appearance based on phrases such assend a selfieorshow the scenery; TTS supports explicit requests, mid-chat audio replies, and occasional surprise pushes in companion mode, with voice selection inferred fromprofile.jsonage and personality.
Boundaries
This skill consumes personas and interactive state; it does not model personas from scratch. Without story_baseline.txt, it falls back to system_prompts.txt and memory; diary content is local-only and not committed to Git; image generation and MiniMax TTS require the corresponding API keys and dependencies.
Use Cases
- After a persona package is installed, advance the current mainline and relationship stage using story_baseline.txt.
- When the user asks about unspoken thoughts, expose only 1-2 traces and never output the full diary.
- Generate selfies or scenery images based on profile.json appearance and source_type, using imggen.py to decide the prompt.
- In companion-mode scheduled pushes, attach TTS voice to character replies with a 10-20% probability.
Best For
- Engineers maintaining virtual character dialogue: need to plug generated persona packages into chat flows and keep story state stable.
- Product managers building character interaction products: need diary exposure, voice pushes, and image generation gated by explicit triggers.
- Creators replicating anime or game character voices and visuals: want to match voice and appearance prompts from profile.json.
- Developers maintaining the Memory-Series skill chain: need to verify that SoulPod output from Trace is correctly consumed by Inhabit.
Related Skills
Automatically searches job postings based on the user profile, AI-scores fit, saves desktop reports, and sends email updates with scheduled tracking.
Activates bionic reasoning for causal judgment, numerical prediction, and hypothesis validation, using hypothesis-driven checks, Bayesian updates, falsifiability tests, bias defense, and physical constraints.
Triggered by /plan, it asks the agent to output a plan, risks, impact scope, and validation approach before execution.
Track and clean agent session files, packages, and Skills via trash-first safety.