WeClone Init Twin Profile
Create or refresh the markdown persona pack for a user's digital twin. This skill prepares files only. It does not draft replies.
Expected Inputs
- A user name for template placeholders.
- An optional target directory. Default to
ai_twin/at the repo root. - An optional template language. Supported values:
enandzh. Default toen. - Explicit approval before overwriting existing persona files.
Core Workflow
- Check whether the target persona directory already exists. If files already exist, do not overwrite them unless the user explicitly asks for regeneration.
- Scaffold the persona pack.
Run
python3 skills/weclone-init-twin/scripts/init_twin_profile.py --user-name <name> --language <en|zh> [output_dir]. - Regenerate only with explicit overwrite approval.
Add
--forceonly when the user clearly wants to replace existing files. - Hand off to reply generation.
Tell the user to fill the generated markdown templates before using
$weclone-twin-reply.
Files And Resources
scripts/init_twin_profile.py: scaffold the defaultai_twin/persona directory from bundled templates.assets/persona-pack/: starter markdown templates forprofile.md,state.md,persona_examples.md, andguardrails.md, plus*.zh.mdChinese variants.
Output Contract
Return a short setup handoff with:
CREATED_FILESTARGET_DIRNEXT_STEP