Install
openclaw skills install youosYouOS — local-first personal email copilot that learns your writing style from Gmail, Google Docs, and WhatsApp exports, then drafts replies in your voice. Use for drafting replies, reviewing how you usually respond, and running a self-improving personal communication workflow.
openclaw skills install youosYouOS is a full local Python app (not an instruction-only snippet). It drafts email replies in your style, grounded in your real past replies.
Naming: YouOS is the shared app/package. During setup it personalizes its name to <First>OS (e.g. BaherOS) for your local instance at YOUOS_DATA_DIR=~/YouOS-Instances/<you>/ — that's a local config/data directory, not a fork of the project.
Read these before installing:
YOUOS_DATA_DIR/var/youos.db) accordingly../scripts/install.sh builds a .venv and installs this repository — review the source (especially scripts/install.sh, pyproject.toml, app/) before running.youos service install. Foreground youos serve does not persist.youos improve is the manual equivalent.review.draft_model or model.fallback is set to a cloud model — set model.fallback: none and review.draft_model: local for strict local-only operation../scripts/install.sh (Python 3.11+) — it creates a .venv, installs YouOS, sets up the on-device model (MLX) on Apple Silicon, and runs the doctorpython3 (3.11+) and a Google ingestion backend — gog (default), gws, or native (see Credentials)YOUOS_DATA_DIRgog (default), gws, or native (youos[google] + OAuth); set ingestion.google_backendreview.draft_model / model.fallback)review.draft_model: local and model.fallback: none./scripts/install.sh sets it up)gws CLI, or the native Google API (youos[google] + OAuth)# Install (creates .venv, installs YouOS + MLX on Apple Silicon, runs the doctor)
cd youos
./scripts/install.sh
source .venv/bin/activate
# Check system requirements (Python, Google backend, MLX, disk space, etc.)
youos doctor
# Run setup wizard (identity, ingestion, style analysis) — or open /welcome in the browser
youos setup
# Draft a reply (uses your local fine-tuned model by default)
youos draft "paste inbound email here"
youos draft --sender john@company.com "email text"
# Run the web UI (then open /feedback, /stats, /settings, /about)
youos serve
youos service install # or run it as a background service (starts at login)
# Compare the backends on YOUR mail, ranked by how closely each sounds like you
youos compare-models --limit 30 --semantic
# Warm local-model server (loaded once for fast drafting)
youos model server status
# Check status / view stats
youos status
youos stats
# Run the nightly pipeline manually (add --verbose for step-by-step output)
youos improve --verbose
# Golden benchmark (10 curated cases)
youos eval --golden
# Full corpus health report (pairs, quality scores, top senders)
youos corpus
# Ingest a WhatsApp chat export (optional — augments your corpus)
youos ingest --whatsapp ~/Downloads/WhatsApp-Chat.txt
# Add a sender note (immediately rebuilds their profile)
youos note john@company.com "integration partner, prefers bullet points"
# Submit a feedback pair directly from the terminal
youos feedback --inbound "email text" --reply "your reply" --rating 4
# Teardown (remove all data, keep code)
youos teardown
Install the YouOS browser extension (Chrome/Edge/Brave) — it lives in the repo's
extension/ folder (homepage),
and the web UI's Gmail page has one-click "Load unpacked" steps. The extension adds a
panel to Gmail:
A bookmarklet remains as a no-install fallback (it can break when Gmail changes its markup; the extension doesn't).
mlx_lm.server so it's fast and on-device). The cloud is only a cold-start (before your model is trained) or a fallback; a per-draft model badge + the Stats "Drafting with" row always show which model actually ranyouos note immediately rebuilds that contact's profileyouos feedback --inbound "..." --reply "..." --rating 4/api/facts) — save context about contacts, projects, and preferences; facts are injected into generation prompts automatically for context-aware draftsyouos compare-models drafts your held-out replies under each backend and scores them against what you actually wrote (voice-match), so you can verify the local fine-tuned model beats the cloud on your mailgog / gws / native OAuth); review connected accounts before ingestionreview.draft_model: claude or model.fallback: claude), inbound email/context is sent to Claude for that draftreview.draft_model: local and model.fallback: none in youos_config.yamlYOUOS_DATA_DIR (e.g. ~/YouOS-Instances/<you>/), or the repo's var/PRIVACY.md before first ingestion/deployment