Unified Baseline v0.1.0

One Baseline for All
Codex / Claude / Gemini / Cursor / OpenClaw

Login once, build one markdown-only baseline, then push and pull via Jianguoyun WebDAV with automatic fan-out to all enabled CLI roots.

Get Started npm package
$ npm i -g @wangai/sync

Features

Built for cross-machine and cross-assistant profile consistency.

🧠

Unified Baseline

init/push always generate one baseline (not split by platform).

📝

Markdown Only

Only *.md files in skills/agents are collected into baseline.

🔁

Auto Fan-out

pull applies the same baseline to all enabled roots automatically.

⚙️

Platform Toggle

Enable or disable each platform during init (e.g. disable cursor).

🌐

Bilingual CLI

Default Chinese, switch to English by --lang en.

🔐

Separated Credentials

Password is separated from config.json and stored in credentials.json.

Sync Targets

One pull updates skills/agents in all enabled platform roots.

Codex

Root

  • ~/.codex/skills/*.md
  • ~/.codex/agents/*.md

Claude

Root

  • ~/.claude/skills/*.md
  • ~/.claude/agents/*.md

Gemini / Cursor / OpenClaw

Root

  • ~/.gemini/skills|agents/*.md
  • ~/.cursor/skills|agents/*.md
  • ~/.openclaw/skills|agents/*.md

Quick Start

Use login + init + push on source machine, then pull on target machine.

Standard flow
# login / update credentials
wangai-sync login

# rebuild baseline from enabled roots
wangai-sync init

# upload latest baseline
wangai-sync push

# pull on another machine
wangai-sync pull --from remote
Language switch
wangai-sync status
wangai-sync --lang en status

Command Matrix

What each command is responsible for.

Command Purpose Key Output
login Save/refresh WebDAV auth and endpoint ~/.wangai/sync/config.json, credentials.json
init Enable/disable platforms and rebuild baseline baseline/baseline.json
push Rebuild baseline and upload to WebDAV latest.json, snapshots/*.json
pull Fetch baseline and fan-out to all enabled roots ~/.{platform}/skills|agents/*.md