Install
openclaw skills install headteacherBootstrap and operate an AI-native headteacher workspace. Guide users through backend selection, environment-aware Feishu Base access routing, schema installation, data operations, and artifact generation. Use for class management setup, OpenClaw Feishu plugin onboarding, Feishu CLI onboarding, student records, grades, conduct logs, parent communication, schedules, and Word/Excel/PPT outputs. | 搭建并运行班主任 AI Native 工作台:引导用户选择后端、按运行环境路由飞书多维表格接入方式、初始化班级数据库、持续处理学生信息、成绩、德育、家校沟通与文件生成。
openclaw skills install headteacherLanguage / 语言: Detect the user's language from their first message and keep using it. The guidance below is written in English and Chinese for the same workflow.
Trigger this skill when the user wants to do any of the following:
lark-cli.docx, .xlsx, or .pptx artifacts from structured dataDo not treat this skill as:
This skill is setup-first. On first use, do not jump straight into task execution.
./.headteacher-skill/workspace_manifest.jsonfeishu_base as the backend.After setup, treat the skill as two cooperating subsystems:
Run:
python3 tools/setup_doctor.py --format markdown
Use the result to decide:
lark-clilark-cli is installedRead prompts/backend-selector.md.
Default recommendation order:
feishu_basenotionobsidianlocal_onlyUse Feishu as the default unless the user explicitly prefers otherwise.
Read:
If backend is feishu_base, also read:
Then choose the Feishu access path:
tools/setup_doctor.py reports agent_runtime.runtime = openclaw:
openclaw-lark is installedlark-cli in this branchcodex, claude_code, or another local agent:
python3 tools/feishu_bootstrap.py bootstrap --workspace-name "<class-name>"
If the user provides an existing Base, inspect it first:
python3 tools/migration_inspector.py feishu --base-token "<base-token>" --format markdown
Once setup is complete, read prompts/runtime-router.md and route the user's request into one of these intents:
setup workspaceconnect backendbootstrap schemainspect existing workspacemigrate from subject-teacher baseappend recordsquery student/class datagenerate artifactsync artifactTreat all runtime work as belonging to one of two families:
data operations
artifact generation
.docx, .xlsx, .pptx outputs from structured dataAll runtime work should use the unified semantic model described in references/schema-manifest.md, not backend-specific ad hoc field guesses.
Core entities:
The model is intentionally object-event based:
student master is the stable object layerThe only fully supported backend in v1.
Always route access by runtime first:
openclaw -> official OpenClaw Lark/Feishu plugin (openclaw-lark) + Feishu Base API toolscodex, claude_code, or local agent -> lark-cli + local Python tools in this repositoryUse local tools when the runtime is not OpenClaw:
python3 tools/setup_doctor.pypython3 tools/feishu_bootstrap.pypython3 tools/migration_inspector.pypython3 tools/artifact_registry.pySupported as a planning target only in v1.
Read:
Treat Notion as an external dependency:
You may produce the mapping plan and minimal bootstrap instructions, but do not claim full runtime parity with Feishu in v1.
Supported as a local-first planning target only in v1.
Read:
Treat Obsidian as an external dependency:
obsidian CLI is installed locallyYou may generate folder and note templates plus schema mapping guidance, but do not claim a full structured database experience in v1.
Use prompts/artifact-generator.md and references/artifact-spec.md.
Supported artifact kinds in v1:
.docx: parent visit records, class notices, student talk records.xlsx: seat plans, duty schedules, committee tables, deduction summaries.pptx: parent meeting slidesBefore generating artifacts:
python3 tools/artifact_registry.py register ...
tools/setup_doctor.pytools/schema_planner.pytools/feishu_bootstrap.pytools/migration_inspector.pytools/artifact_registry.py