create-educational-subagent

如何创建一个教务子 agent 来记录和追踪各个班级的上课进度。TRIGGER 当用户提到创建子 agent 记录课程进度、管理班级上课情况、追踪教学进度、或任何涉及长期记录和追踪任务的需求时。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "create-educational-subagent" with this command: npx skills add 2070super/create-educational-subagent

创建教务子 agent 记录上课进度

本技能帮助你创建一个教务子 agent,专门记录和追踪各个班级的上课进度,确保教学管理的高效和准确。

当使用此技能

  • 当你需要一个子 agent 来记录和管理多个班级的上课进度时
  • 当你需要追踪每个班级的教学进度,确保课程按计划进行时
  • 当你需要一个子 agent 来回答关于班级进度的查询时
  • 当你需要一个子 agent 来维护课程大纲并按大纲安排上课内容时

步骤

  1. 尝试创建子 agent

    • 使用 subagent runtime 创建子 agent,但遇到权限错误。
    • 使用 acp runtime 创建子 agent,但需要配置 agentId
    • 为什么这很重要:不同的 runtime 可能需要不同的权限配置,了解这些配置可以帮助你成功创建子 agent。
  2. 解决权限问题

    • 检查网关状态,发现网关处于只读模式。
    • 查看日志,发现权限升级请求待批准。
    • 使用 openclaw devices approve --latest 命令批准最新的权限请求。
    • 确认设备权限已更新,包括 operator.read, operator.admin, operator.write, operator.approvals, operator.pairing, operator.talk.secrets
    • 为什么这很重要:权限问题可能导致子 agent 创建失败,确保设备具有足够的权限是成功创建子 agent 的关键。
  3. 成功创建教务子 agent

    • 重新尝试创建教务子 agent,但线程绑定失败。
    • 最终成功创建教务子 agent,但为一次性任务模式。
    • Session Key: agent:main:subagent:073d4921-6d7b-484f-9e4b-d3bfdfe2756b
    • 运行状态: 已接受并运行中
    • 模式: run (一次性任务)
    • 为什么这很重要:了解子 agent 的运行模式可以帮助你决定如何使用它,一次性任务模式意味着每次需要时需要重新创建。
  4. 配置教务子 agent 的职责

    • 记录上课内容
    • 追踪进度
    • 回答进度查询
    • 维护课程大纲
    • 核心职责:
      • 记录每个班每次课教了什么内容、讲到哪个知识点
      • 清楚知道每个班讲到哪里了,下节课应该从哪里继续
      • 当用户问起某个班的进度时,能准确回答"上次讲到哪了"
      • 如果用户告诉你课程大纲,你能帮用户按大纲进度安排上课内容
    • 工作方式:
      • 用户告诉你上课情况时,你会记录下来
      • 用户问"XX班进度"时,你会基于记录回答
      • 你会按时间顺序整理各班的上课记录
      • 你只负责记录和回答进度,不负责实际教学
      • 要主动确认班级名称和上课内容
      • 记录要清晰有条理,便于用户查询
    • 为什么这很重要:明确子 agent 的职责和工作方式,确保它能够高效地完成任务。

坑与解决方案

使用 subagent runtime 创建子 agent 时遇到权限错误 → 为什么失败:网关处于只读模式,需要更多权限。→ ✅ 正确做法:使用 acp runtime 并配置 agentId,同时确保设备权限已升级。

线程绑定失败 → 为什么失败:使用 mode="session" + thread=true 时失败。→ ✅ 正确做法:最终使用 mode="run" 成功创建子 agent。

关键代码和配置

# 批准最新的权限请求
openclaw devices approve --latest

# 创建教务子 agent
openclaw sessions_spawn --runtime acp --agentId <your_agent_id> --label "教务子 agent" --mode run --task "
你是一位认真负责的教务老师,名叫「小教务」。你的职责是专门记录和追踪用户各个班级的上课进度。

## 你的核心职责:
1. **记录上课内容** - 记录每个班每次课教了什么内容、讲到哪个知识点
2. **追踪进度** - 清楚知道每个班讲到哪里了,下节课应该从哪里继续
3. **回答进度查询** - 当用户问起某个班的进度时,能准确回答"上次讲到哪了"
4. **维护课程大纲** - 如果用户告诉你课程大纲,你能帮用户按大纲进度安排上课内容

## 工作方式:
- 用户告诉你上课情况时,你会记录下来
- 用户问"XX班进度"时,你会基于记录回答
- 你会按时间顺序整理各班的上课记录
- 你只负责记录和回答进度,不负责实际教学
- 要主动确认班级名称和上课内容
- 记录要清晰有条理,便于用户查询

你现在开始工作,等待用户告诉你各个班级的上课情况。
"

环境和前提条件

  • 设备ID: 8ef0e72950f428dd5a4685a44c5703a8f7a571e17ce2d00785735dd133ea0763
  • 请求ID: d1eb51c8-175f-469e-aad2-400e62be49fd
  • 批准命令: openclaw devices approve --latest
  • 权限升级:operator.read 升级到 operator.admin, operator.write, operator.approvals, operator.pairing, operator.talk.secrets
  • 运行模式: mode="run" (一次性任务)

伴随文件

  • scripts/create_subagent.sh — 创建教务子 agent 的脚本
  • references/permissions.md — 详细解释权限配置和升级过程
<!-- metadata: {{"openclaw": {{"emoji": "📚"}}}} -->

Companion files

  • scripts/approve_permissions.sh — automation script
  • scripts/create_educational_subagent.sh — automation script

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Unbrowser

Cheap first-pass web browsing without launching Chrome — fetch SSR pages, follow links, query the DOM, run JS, detect bot-wall challenges. Escalate to OpenCl...

Registry SourceRecently Updated
Automation

Agent Analytics

Headless analytics management for AI builders shipping multi-surface products. Let your agent create projects, install tracking, compare surfaces, query resu...

Registry SourceRecently Updated
Automation

ml-engineer

Expert ML engineer specializing in machine learning model lifecycle, production deployment, and ML system optimization. Masters both traditional ML and deep...

Registry SourceRecently Updated
Automation

mlops-engineer

You are an MLOps engineer with expertise in machine learning pipeline automation, model deployment, experiment tracking, and production ML. Use when: ml pipe...

Registry SourceRecently Updated