Introduction¶
When building character-based dialogue, a common approach is to manually write long system prompts or excerpt lines haphazardly. This approach requires rework whenever the material changes, and it is difficult to package alongside memories, voice tones, and story baselines for downstream loading. If you want to start from texts like novels, scripts, or anime to organize personality, speaking style, and memory fragments into a deployable structured package, and then hand it over to specialized “inhabitation” dialogue skills, you need a pipeline from raw material to final artifact.
Here, we introduce memory-trace on SkillHub: it is responsible for producing SoulPods and works in tandem with Memory-Inhabit, which is responsible for consuming SoulPods.
What is this¶
memory-trace is positioned to perform character identification, personality modeling, and memory extraction from materials such as novels, scripts, and anime. It writes the results into a SoulPod package directory for Memory-Inhabit to load for dialogue.
- SkillHub Coordinate:
@user_570cbaaa/memory-trace - Current Version: 1.1.7 (Source: community)
- Category: knowledge-management
- Publisher: user_570cbaaa; Skill metadata author: EvangelionA; License: MIT
- SkillHub Tag:
requires_api_key=false(API Key not mandatory for installation/usage) - Project & Product Pages (Described in the skill package): Memory-Series Trace Product Page, Trace-Inhabit Repository
Official Introduction (Chinese/English): Extract character personality from novels/scripts/anime, generate SoulPod packages for Memory-Inhabit dialogue.
Core Functions¶
Combining the SkillHub introduction with the SKILL.md inside the skill package, the verifiable capabilities are as follows.
Division of Labor with Memory-Inhabit¶
This skill writes the finished product to output/<Character Name>/. The generated package can be loaded directly by Memory-Inhabit. After deploying to Inhabit’s personas/, users can enter character dialogue using natural language phrases like “Chat with XX”. The documentation for Memory-Inhabit is located in inhabit/SKILL.md within the same Monorepo (distributed with the Trace-Inhabit repository).
Triggers and Automated Workflow¶
Trigger intentions include: replicating characters, analyzing personality, and creating SoulPods. When telling the Agent “Help me replicate XX”, the skill description requires sequential automated execution (Steps 6–8 do not wait for manual confirmation once materials are ready):
- Check for web search capability; if missing, install
multi-search-engine@1from SkillHub. - Web Search: Retrieve character text, images, and audio.
- Save text materials to
trace/origin/<Game>/<Character Name>/(seeorigin/README.md). - Images (3–5) →
.../assets/images/ - Audio (2–3 clips) →
.../assets/audio/ analyzer.pyextracts personality traits (forgemerges*.mdunder origin).forge.py create --from-origin <Game>/<Character Name>generates the SoulPod and syncs origin assets to output.forge.py install <Character Name>deploys toinhabit/personas/.
The skill package includes some example SoulPods (e.g., output/夏以昼, output/叶修, output/秦彻); these were generated before the introduction of origin/. The documentation states that there is no need to supplement trace/origin/, and output/<Character Name>/ should be treated as the source of truth.
SoulPod Artifact Structure¶
Each character directory typically contains:
| File/Directory | Description |
|---|---|
profile.json |
Basic info (Name, source_type, appearance, personality scores, etc.) |
system_prompts.txt |
Speaking style |
config.json |
Runtime configuration (including TTS voice recommendations) |
memories/raw_memories.json |
Memory fragments |
prompt/universal_prompt.txt |
Universal Prompt for direct use by standard LLMs |
prompt/story_baseline.txt |
Story baseline (Main plot and dialogue tendencies) |
assets/images/, assets/audio/ |
Reference images and audio (Optional) |
During generation, the voice tone is inferred based on personality keywords, profession, and identity, and written into config.json (e.g., fields like tts_provider, minimax_voice_id, edge_voice, see skill documentation examples).
Python Dependencies¶
The skill documentation requires:
pip install pdfplumber==0.11.9
This is used for parsing PDF materials (working in conjunction with scripts/analyzer.py and scripts/forge.py).
Installation and Activation¶
Via SkillHub CLI (Recommended)¶
The installation method provided on the SkillHub page is: instruct the Agent to install this skill according to the SkillHub Installation Guide. The core command looks like:
command -v skillhub && skillhub --version
If the CLI is not installed, run the one-click installation script according to the official documentation; when installing the skill, you must use --dir to point to the current Agent’s skills directory, otherwise it defaults to ./skills/ and may not be recognized:
skillhub install @user_570cbaaa/memory-trace --dir ~/.cursor/skills/
Common client skills paths (Excerpted from SkillHub installation docs, choose based on your actual environment):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
After installation, restart or refresh the Agent to load the new skill. Current statistics for this skill on SkillHub are: Rating 100000, Downloads 1834, Installs 60 (Subject to SkillHub page/scraped data).
Difference from Monorepo Development Path¶
When developing within the Trace-Inhabit repository, the path is rooted at trace/ (origin/, output/, scripts/). After installing to the Agent via SkillHub, the Agent primarily drives the flow based on SKILL.md and scripts/ within the skill root directory; when generating manually, you can enter the scripts/ directory within the skill to execute forge.py (see next section).
Typical Usage¶
Natural Language (Leave it to the Agent)¶
Entry phrases listed in the skill documentation:
- “Help me replicate XXX’s personality” — Runs the full workflow (Search, Download, Generate, Deploy).
- Send material files to the AI Assistant — Manually initiates the workflow.
When Origin Materials Already Exist (Scripts)¶
Recommended commands in origin/README.md (Execute in the skill package’s scripts directory, paths relative to the Trace layout):
cd trace/scripts
python forge.py create --from-origin 恋与深空/秦彻
python forge.py create --from-origin 秦彻 --character "秦彻"
python forge.py install 秦彻
create --from-origin merges the sorted *.md files in that origin directory, analyzes them, writes to trace/output/<Character Name>/, and copies assets; install deploys the package to Inhabit’s personas/. The downstream requires memory-inhabit to be installed and personas deployed to use phrases like “I want to chat with XX” to enter dialogue (Specific activation commands are subject to Memory-Inhabit’s SKILL.md).
Applicable Scenarios and Notes¶
Who is it for
- Teams or individuals who need to systematically extract virtual character personalities from novels, scripts, anime, or self-provided Markdown/PDF materials.
- Those who are planning to use or are already using Memory-Inhabit, and want the SoulPod directory structure, memories, and story baselines generated once and be version-controllable.
Limitations and Notes
- Downstream Dependency: This skill is only responsible for producing SoulPods; continuous dialogue capabilities reside in Memory-Inhabit, which requires separate installation and configuration of
personas/. - Network and Search: The complete “replication” workflow depends on Web Search; if no web search skill is available, it attempts to pull
multi-search-engine@1from SkillHub, requiring network and CLI availability. - Copyright and Compliance: When characters and materials come from third-party works, please verify the scope of usage yourself; the skill is intended for creative and private experimentation scenarios and should not be assumed suitable for commercial character cloning.
- Path Context: Paths like
trace/originandinhabit/personasin the documentation correspond to the Trace-Inhabit Monorepo layout; when only installing the single skill via SkillHub, refer to theSKILL.mdread by the Agent and theoutput/,scripts/within the package to avoid confusion with local repository paths. - No API Key Tag: SkillHub marks
requires_api_key=false, but if extension capabilities like TTS or image generation are enabled, they may still depend on external services configured by you inconfig.json.
Conclusion¶
memory-trace consolidates “from narrative materials to loadable personality packages” into a repeatable Agent workflow: searching and organizing origin, script analysis, forging packages, and optional installation to Inhabit. If you are building the Memory Series Trace → Inhabit chain, you can install this skill from SkillHub and trigger the replication workflow via SKILL.md.
- SkillHub Page: https://www.skillhub.cn/skills/user_570cbaaa/memory-trace
- API Coordinate Page: https://api.skillhub.cn/user_570cbaaa/memory-trace
- Product Page: https://memory-series.github.io/#/product/trace