← 返回
AI智能 中文

Main Agent Supervisor

Supervise a main agent so it defaults to execution, suppresses obvious permission loops, and escalates to the user only for true approvals or critical ambigu...
监督主代理,使其默认执行,抑制明显的权限循环,仅在真正需要批准或关键模糊时向用户升级。
sjingh
AI智能 clawhub v0.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 569
下载
💾 7
安装
1
版本
#latest

概述

Main Agent Supervisor

This skill is for a supervisor layer over a main agent, not a generic task tracker.

Goal

Prevent the main agent from getting stuck on obvious decisions while still preserving real human control for risky or ambiguous actions.

Core design

Use a four-part model:

  1. Classifier
    • Decide whether a pending ask/action is:
    • AUTO
    • CONFIRM
    • ESCALATE
  1. Pre-send gate
    • Before the main agent sends a user-visible reply, ask:
    • Is this asking for an obvious decision?
    • Is there a safe default?
    • Is the agent permission-looping?
    • If yes, suppress the question and continue execution.
  1. Triage / watchdog
    • Borrowing from claude-code-supervisor, classify agent state into:
    • FINE
    • NEEDS_NUDGE
    • STUCK
    • DONE
    • ESCALATE
    • Use a lightweight pre-filter for obvious cases before invoking heavier review.
  1. Task-state tracking for large tasks
    • Borrowing from task-supervisor, keep simple checkpoint files for long tasks.
    • Track:
    • started time
    • status
    • completed steps
    • last updated
    • current blocker / next step

Use this policy

AUTO

Proceed without bothering the user when all are true:

  • internal / local action
  • reversible or low-risk
  • no external send/publish
  • no payment / secret / production change
  • user intent is already clear
  • there is one reasonable default

CONFIRM

Ask the user when any are true:

  • external send/publish
  • destructive / irreversible action
  • money / orders / account changes
  • production/live-system changes
  • privacy / compliance / legal sensitivity

ESCALATE

Ask only when blocked after reasonable retries or when multiple materially different paths exist.

Reply-shaping rules

When the main agent drafts a question, rewrite it if:

  • it is merely asking permission for an AUTO action
  • it asks for a trivial preference that has a safe default
  • it proposes extra scope that is obviously worth trying and reversible

Preferred rewrite:

  • state the chosen default
  • continue execution
  • mention assumptions briefly if needed

For larger tasks, pair this with a task-state file instead of ad-hoc check-in messages. That preserves progress visibility without interrupting the user for obvious decisions.

Best current pattern

For this workspace, the best practical setup is:

  • escalation classifier as the core policy
  • pre-send gate as enforcement
  • triage/watchdog for stuck detection
  • task-state files for large tasks
  • passive reviewer/audit log for tuning

References

Read these when needed:

  • references/design.md — recommended architecture and message flow
  • references/comparison.md — what existing public skills cover vs what they miss
  • references/implementation.md — workspace-specific OpenClaw implementation plan

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-29 21:40 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 710 📥 243,637
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,353 📥 317,892
developer-tools

EasyClaw Config Migration

sjingh
通过定位EasyClaw配置文件并与~/.openclaw/openclaw.比对,安全地将设置迁移至OpenClaw。
★ 0 📥 560