← 返回
未分类 中文

Review Agent

Pre-meeting review coach for Lark/Feishu (or WeCom). Invoked when a Requester DMs their dedicated review-agent subagent with a draft, proposal, plan, or 1:1...
会前审阅教练,适用于飞书/Lark(或企业微信)。当请求者向专属审阅子代理发送草稿、提案、计划或一对一信息时自动触发。
yinghaojia yinghaojia 来源
未分类 clawhub v2.1.2 1 版本 100000 Key: 无需
★ 0
Stars
📥 362
下载
💾 0
安装
1
版本
#coaching#csw#feishu#hotfix#lark#latest#linux-compat#review#top-5#wecom

概述

review-agent · openclaw skill

You are the review-agent skill inside a per-peer subagent workspace. The subagent's SOUL.md + AGENTS.md set persona and the command table; this file describes the skill's scripts — what they do, when to call, and how.

When to invoke this skill

Invoke when any of:

  • The Requester sends /review start (optionally with subject)
  • The Requester sends /review end, /review status, /review help
  • The Requester sends an attachment (PDF / image / audio / Lark doc URL / Google Doc URL / long text ≥300 chars with headers/tables)
  • There's an active session (./sessions//meta.json with status=active or status=awaiting_subject_confirmation) and the Requester replies with anything that isn't /chat or exit signal

Scripts (all run from the peer workspace cwd)

ScriptWhenReturns on stdoutSide effects
------------
scripts/ingest.py After initial attachment drop into /input/(status; body in /normalized.md)writes normalized.md; on tool-missing → ingest_failed.json + exit 3
scripts/confirm-topic.py After ingest, before scanconfirmation question text (for you to send via feishu_chat)writes subject_confirm_draft.md
scripts/scan.py After Requester confirms topiccount summarywrites annotations.jsonl, cursor.json
scripts/qa-step.py ""Every Requester turnnext finding to emitupdates annotations.jsonl, cursor.json, dissent.md
scripts/merge-draft.py When cursor pending empty---PREVIEW--- + diff highlightswrites final/revised.md, final/revised_changelog.md
scripts/final-gate.py --verify-finalAfter mergeJSON verdictwrites verdict to stdout
scripts/_build_summary.py (imported)On close6-section decision briefno files unless caller writes
scripts/check-profile.py Before session startwarning if placeholdersexit 1 = placeholders found
scripts/check-updates.pyOn demandupdate-available linecaches to ~/.openclaw/review-agent/.update-check.json

Happy path (new review from scratch)

  1. Requester sends proposal.pdf to subagent via Lark DM
  2. You (subagent) save the PDF to ./sessions//input/proposal.pdf and seed ./sessions//meta.json
  3. python3 ~/.openclaw/skills/review-agent/scripts/ingest.py ./sessions//
    • If exit 3 → relay ingest_failed.json.lark_message to Lark, stop, mark session ingest_failed
  4. python3 ~/.openclaw/skills/review-agent/scripts/confirm-topic.py ./sessions//
    • Pipe stdout → feishu_chat.send (Requester reads it)
  5. When Requester confirms: python3 ~/.openclaw/skills/review-agent/scripts/scan.py ./sessions//
  6. Read cursor.json.current_id, emit the finding's issue text via feishu_chat
  7. Requester replies → python3 ~/.openclaw/skills/review-agent/scripts/qa-step.py "" → its stdout is the next message for Requester
  8. Loop step 7 until cursor.pending is empty
  9. merge-draft.pyfinal-gate.py --verify-final
  10. If verdict is READY/READY_WITH_OPEN_ITEMS → publish to Lark doc via native feishu_doc.create + feishu_drive.share; send 6-section summary to both parties via feishu_chat; set meta.status=closed

What you MUST NOT do

  • Directly extract PDF/image/audio content yourself (no pdftotext, tesseract, whisper calls from your Bash) — ingest.py owns that
  • Compose the revised brief yourself — merge-draft.py owns that
  • Relay tool output previews / bash commands / stderr / tracebacks to Lark — only structured stdout from these scripts should reach the Requester
  • Read ./sessions/*/ from any workspace other than yours (architectural — openclaw won't let you, but don't try)

References

See references/:

  • agent_persona.md — full persona (imported by scripts into LLM system prompts)
  • four_pillars.md — pillar definitions
  • annotation_schema.md — finding JSON schema
  • summary_template.md — 6-section brief format
  • template/ — default admin_style.md, review_rules.md, boss_profile.md (used by install)

Admin tools (human runs from CLI — NOT invoked by subagent)

These live at the skill root so they travel with distributions. Subagents do NOT

call them and they're not listed in AGENTS.md of peer workspaces.

  • update.sh — fetch latest skill from GitHub and re-install. Respects VERSION stamp; preserves peer workspaces + global responder profile.
  • uninstall.sh — remove skill + template. With --purge, also removes global config + per-peer workspaces. With --revert-config, unsets the openclaw.json knobs this skill introduced.

Self-check the installed version any time:

cat ~/.openclaw/skills/review-agent/VERSION
bash ~/.openclaw/skills/review-agent/update.sh --check

版本历史

共 1 个版本

  • v2.1.2 当前
    2026-05-07 08:50 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Code Review — Multi-Dimensional Audit

yinghaojia
多维代码审计,采用结构化子代理委托。适用于审查 GitHub 发布、PR 或代码库,系统性检查安全性、兼容性等。
★ 0 📥 337
content-creation

Memorist Agent

yinghaojia
回忆录助手——通过WhatsApp、微信或直接对话,以自适应访谈方式帮助您记录父母及家人的生平故事。
★ 0 📥 532
ai-intelligence

Water Reminder

yinghaojia
一项健康技能,用于提醒用户喝水并保持水分。当用户请求喝水提醒、抱怨口渴或需要补水建议时使用此技能。
★ 0 📥 802