A standalone OpenClaw starter project for setting up a private overlay bot, like a secretary / companion / alter persona, with:
- its own workspace
- shared memory with the main assistant
- persona files (
SOUL.md,IDENTITY.md,USER.md, life scaffold) - direct xAI image/video generation
- canonical reference-image handling
- a fast local wrapper for identity-consistent selfies and short clips
If an owner wants a second bot account with a different private-facing persona, the agent should not have to hand-build everything every time.
This project gives the agent a reusable skill plus a scaffolder that can:
- create the overlay workspace
- link shared memory back to the main workspace
- create persona/background files
- install a bundled direct xAI media skill into that workspace
- create a stable primary reference-image path
- leave only a small owner intake for persona details, token source, and bot/account routing
SKILL.md— the installable skill entrypointreferences/— owner intake, reference-image guidance, prompting/media guidancescripts/scaffold_private_overlay.py— scaffolds a new overlay workspace
The owner should mainly provide:
- persona/bot name
- relationship frame / vibe
- bot account id + token source
- owner chat id / allowlist id
- xAI API key source
- one clean primary reference image
The agent should infer or scaffold the rest.
python3 scripts/scaffold_private_overlay.py \
--root-workspace /path/to/workspace-main \
--overlay-workspace /path/to/workspace-overlay \
--persona-name Nova \
--owner-name Owner \
--public-relation "private-facing overlay of the main assistant" \
--private-frame "private companion-assistant, calm, capable, discreet" \
--vibe "calm, capable, elegant, discreet" \
--default-language "Simplified Chinese" \
--life-filename NOVA-LIFE.md \
--life-summary "Internal persona scaffold for Nova. Keep continuity, taste, and private-chat warmth." \
--identity-anchor "Adult person in their late 20s, dark hair, realistic skin texture, stable face and body proportions." \
--image-defaults "Default image styling unless the prompt overrides it: polished natural makeup, softly defined eyes, realistic selfie or portrait photography." \
--video-defaults "Default video styling unless the prompt overrides it: polished natural makeup, believable body motion, realistic travel-reel cinematography." \
--channel telegram \
--account-id overlay \
--owner-chat-id 123456789 \
--reference-image /path/to/reference.jpg- The project is generic. It should not ship any real owner secrets or private persona files.
- The fast wrapper defaults to
reference_imagesfor video identity guidance. --imageis reserved for explicit image-to-video first-frame locking.- Default media settings are conservative:
3:4,480p,5s.