apprentice
БесплатноЗапускает вложенные скриптыНе проверен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…
от modbender★ 21 звезда на GitHubОб этом скилле
Apprentice — Watch Me Once. Do It Forever.
The 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:
- Watch what you actually do (not what you say you do)
- Understand your intent, not just your actions
- Generalize across contexts — knowing what's a variable vs. what's a constant
- Turn it into a repeatable workflow your agent can run, refine, and chain forever
External Endpoints
| 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.
Security & Privacy
- Zero external calls. Observation logs, workflow files, and all synthesis happen locally.
- No credentials accessed. Apprentice observes what you tell it — it doesn't read system files or intercept your input at an OS level.
- You review before saving. After observation, you see the synthesized workflow and approve it before it's saved as a permanent skill.
- Sandboxed execution. Generated workflow run scripts are plain bash with full security manifest headers.
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.
Model Invocation Note
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.
How It Works
Step 1 — Start Observation
"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.
Step 2 — Do the Task Naturally
Just do what you normally do. Talk out loud if it helps — the agent hears everything:
- Commands you run
- Files you create, edit, or delete
- Decisions you make and why
- The order of steps
- What changes between runs (variables) vs. what stays constant
You don't need to be formal. "Now I update the README with the project name" is enough.
Step 3 — Stop Observation
"Done"
"Stop watching"
"That's it"
"End observation"
Step 4 — Review the Synthesis
Apprentice shows you:
- What it understood as the workflow name and purpose
- The steps it identified, in order
- The variables it detected (things that change each run)
- The constants (things that stay the same)
- The generated workflow as a readable, editable description
You approve, edit, or reject.
Step 5 — It's a Permanent Skill
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"
Example: Learning a Workflow
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 [email protected]: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
Trigger Phrases
Start observation:
"Watch me"
"Apprentice mode"
"Learn this"
"Remember how I do this"
"I'll show you"
"Teaching you something"
Установить apprentice в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл apprentice?
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]".
Как установить скилл apprentice?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл apprentice запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic