Execution-grade Xiaohongshu studio workflow for agencies and operators running account launches, daily operations, and low-traffic diagnosis.
This repository packages a Codex skill plus supporting references, templates, evals, and Python utilities. The workflow is designed around file-backed client workspaces so delivery can continue across sessions without losing state.
- Initializes a standard client workspace under
clients/<client-slug>/ - Generates structured delivery artifacts for launch and daily ops
- Scores note performance from
metrics.csvand writes a health report - Diagnoses incomplete or stale client workspaces
- Learns recurring client edits and turns them into playbook rules
- Builds a distributable OpenClaw bundle in
dist/openclaw/
Every client lives in one directory:
clients/<client-slug>/
├── 01-client-brief.md
├── 02-competitor-analysis.md
├── 03-account-strategy.md
├── 04-content-calendar.md
├── 05-daily-ops.md
├── 06-health-report.md
├── metrics.csv
├── playbook.md
└── lessons/
The clients/ directory is git-ignored so operator workspaces do not ship with the skill itself.
- Python 3
- No third-party Python packages are required for the bundled scripts
Initialize a new client workspace:
python3 scripts/init_client_workspace.py \
--client "Clear Skin Lab" \
--industry "Skincare" \
--root .Check what is missing for one client:
python3 scripts/diagnose_workspace.py --client-dir clients/clear-skin-labCheck the full studio queue:
python3 scripts/diagnose_workspace.py --root . --allGenerate or refresh a health report:
python3 scripts/score_health.py \
--metrics clients/clear-skin-lab/metrics.csv \
--output clients/clear-skin-lab/06-health-report.mdBuild the OpenClaw distribution:
python3 scripts/build_openclaw.py- Initialize the workspace with
init_client_workspace.py - Complete
01-client-brief.md - Generate
02-competitor-analysis.md - Generate
03-account-strategy.md - Generate
04-content-calendar.md - Generate
05-daily-ops.md - Leave
06-health-report.mdpending until metrics exist
- Start with
diagnose_workspace.py - Continue from the first incomplete artifact
- Regenerate downstream files when upstream inputs change
- Append note performance data to
metrics.csv - Refresh
06-health-report.mdonce there are at least 5 populated note rows
- Normalize recent note performance into
metrics.csv - Run
score_health.py - Use the generated report to identify traffic tier, weakest notes, and next actions
- Feed client revisions back into
playbook.mdusinglearn_client_edits.py
.
├── SKILL.md
├── VERSION
├── LICENSE
├── agents/
├── assets/templates/
├── dist/openclaw/
├── evals/evals.json
├── references/
└── scripts/
Key files:
SKILL.md: operating protocol, mode router, workflow contractreferences/: positioning, research, copywriting, compliance, diagnosis, and learning guidesassets/templates/: starter artifacts used to create client workspacesscripts/: automation for workspace creation, planning, diagnosis, health scoring, and packagingevals/evals.json: regression checks for common operator scenarios
scripts/init_client_workspace.py: create a standard client folder from templatesscripts/prepare_competitor_analysis.py: generate a research brief for02-competitor-analysis.mdscripts/generate_account_strategy.py: generate03-account-strategy.mdscripts/generate_content_calendar.py: generate04-content-calendar.mdscripts/build_daily_ops.py: generate05-daily-ops.mdscripts/score_health.py: write06-health-report.mdfrom metricsscripts/diagnose_workspace.py: inspect missing, incomplete, or stale workscripts/learn_client_edits.py: capture repeat client preferences into lessons and playbook rulesscripts/build_playbook.py: rebuildplaybook.mdfrom captured lessonsscripts/build_openclaw.py: assemble the shipping bundle indist/openclaw/
scripts/build_openclaw.py copies the shipping subset of the repository into dist/openclaw/:
SKILL.mdVERSIONLICENSEassets/references/scripts/
It intentionally skips local caches such as __pycache__, .DS_Store, and the build script itself.