Install
openclaw skills install apprenticeClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.
Watch-me-once workflow learning. Say "watch me" and do a task — apprentice observes every step, understands your intent, and turns it into a permanent, repeatable skill your agent can run forever. Programming by demonstration. No code. No specs. Just do it once. Triggers on "watch me", "learn this", "remember how I do this", "apprentice mode", "teach you something", "run [workflow-name]", "what have you learned", or "replay [workflow-name]".
openclaw skills install apprenticeThe entire history of computing: you describe what you want → the computer executes. Apprentice flips it: you do what you want → the agent watches → it becomes a permanent skill.
This is Programming by Demonstration — a 30-year holy grail of human-computer interaction research. Every attempt failed because it required constrained environments or rigid formal specifications. LLM agents make it possible for the first time:
| Endpoint | Purpose | Data Sent |
|---|---|---|
| None | Fully local | Nothing leaves your machine |
Apprentice records locally. All synthesis happens via your already-running LLM session. No external APIs.
Trust Statement: Apprentice writes observation logs and workflow SKILL.md files locally. The only thing it sends to the LLM is your described observation + synthesis request, using your existing session. Nothing leaves your machine.
Apprentice is always user-initiated. It activates on "watch me" or equivalent phrases, and pauses until you say "done" or "stop watching." Synthesis runs once per observation session, with your review before saving. Workflows execute only when explicitly invoked.
"Watch me"
"Apprentice mode on"
"Learn this"
"I'm going to show you how I do X"
The agent enters observation mode. It listens and records your actions.
Just do what you normally do. Talk out loud if it helps — the agent hears everything:
You don't need to be formal. "Now I update the README with the project name" is enough.
"Done"
"Stop watching"
"That's it"
"End observation"
Apprentice shows you:
You approve, edit, or reject.
Approved workflows live in apprentice/workflows/ as named SKILL.md files. Your agent can:
"Run new-project-setup"
"Do the weekly-report workflow with topic=AI agents"
"What workflows have you learned?"
"Replay morning-routine"
User:
"Watch me set up a new project"
[User does the following, narrating out loud]:
mkdir projects/client-dashboard
cd projects/client-dashboard
cp -r ~/templates/react-starter .
sed -i 's/TEMPLATE_NAME/client-dashboard/g' README.md
git init
git remote add origin git@github.com:myorg/client-dashboard.git
echo "Done — this is how I start every new project"
User:
"Done watching"
Apprentice responds:
🎓 OBSERVATION COMPLETE — New Project Setup
What I understood:
Purpose: Initialize a new project from template
Name: "new-project-setup"
Steps I identified:
1. Create project directory with name [PROJECT_NAME]
2. Copy React starter template
3. Replace template placeholder with [PROJECT_NAME] in README
4. Initialize git repository
5. Add remote origin at [GIT_ORG]/[PROJECT_NAME]
Variables (change each run):
• PROJECT_NAME — the new project's name
• GIT_ORG — your GitHub organization (default: myorg)
Constants (same every time):
• Template source: ~/templates/react-starter
• README placeholder: TEMPLATE_NAME
Does this look right? [Accept] [Edit] [Reject]
Next time:
"New project setup for analytics-redesign"
→ Agent runs all 5 steps automatically with PROJECT_NAME=analytics-redesign
Start observation:
"Watch me"
"Apprentice mode"
"Learn this"
"Remember how I do this"
"I'll show you"
"Teaching you something"
Stop observation:
"Done"
"Stop watching"
"That's it"
"Got it?"
"End lesson"
Run a workflow:
"Run [workflow-name]"
"Do the [workflow-name] workflow"
"[workflow-name] with [variable=value]"
"Replay [workflow-name]"
Manage workflows:
"What have you learned?"
"Show me my workflows"
"Delete [workflow-name]"
"Edit [workflow-name]"
"When did you learn [workflow-name]?"
The more context you give, the better Apprentice understands:
✅ Talk out loud — "Now I'm going to update the config with the new API key" ✅ Explain why — "I always do this before deploying because staging needs different env vars" ✅ Name the variables — "The PROJECT_NAME here would change each time" ✅ Mark the end — "And that's the whole workflow, every time"
❌ Silent actions — Apprentice can only learn what it can observe through your conversation ❌ GUI-only tasks — Apprentice works with what you describe; it doesn't watch your screen
Each learned workflow lives in apprentice/workflows/<name>/:
apprentice/workflows/new-project-setup/
├── SKILL.md ← The learned workflow (OpenClaw-compatible)
├── run.sh ← Generated execution script
└── observation.json ← Raw observation log (editable)
The generated SKILL.md is a full, valid OpenClaw skill. This means:
Once you have multiple workflows, Apprentice can chain them:
"After running new-project-setup, also run notify-team"
→ Agent chains both workflows in sequence
"If the deploy workflow fails, run rollback-staging"
→ Conditional chaining with error handling
After a few weeks of use, your workflow library becomes a personal operating system — a library of you. Things like:
morning-routine — the first 15 minutes of your daynew-project-setup — how you start every projectweekly-report — how you compile and send the Friday summaryclient-onboarding — every step you take when a new client joinsdeploy-staging — your exact deployment sequencecode-review-prep — how you prepare before reviewing a PRNo two users' libraries will ever be the same. This is your agent, shaped by what only you do.
apprentice/
├── SKILL.md ← You are here
├── README.md ← Install guide
├── scripts/
│ ├── observe.py ← Observation session manager
│ ├── synthesize.py ← Turns observation into workflow SKILL.md
│ └── run.py ← Executes a named workflow
└── workflows/ ← Your learned workflow library
└── (empty on install, grows with you)
Every tool ever built asks: What do you want?
Apprentice asks: Can I watch?
The difference is everything. When you describe what you want, you lose nuance — the order matters, the edge cases matter, the "I always do this first" matters. When Apprentice watches, it captures all of it, exactly as you actually do it.
Your agent doesn't get smarter by being trained on more data. It gets smarter by watching you.