Sm Supervisor logo

Sm Supervisor

Community
joansongjr
sm-supervisor

三方任务组与实时语音监工 skill。在第二个会话(任意模型 / 任意 harness,尤其适合 Codex 桌面实时语音)中加载,对正在执行 sm-* 任务的 worker 做持续质量监督;适用于用户说“监工 X”“开实时语音监督”“边做边监督”“三方任务组”或询问如何用第三方语音监督任务。通过 .task-pulse、checkpoint 和 .supervision 双向 mailbox 巡检进度、分级干预、转写用户口头指令并完成收尾验收,不依赖私有 API。

Overview

Publisherjoansongjr
Repositoryinvestor-harness
Skill namesm-supervisor
Stars
27
Forks
2
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by joansongjr on GitHub. Read the source before you install it.

Installation

Install the Sm Supervisor AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/joansongjr/investor-harness/tree/main/skills/sm-supervisor
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/joansongjr/investor-harness.git /tmp/investor-harness
mkdir -p .claude/skills
cp -r /tmp/investor-harness/skills/sm-supervisor .claude/skills/sm-supervisor
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Sm Supervisor in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Sm Supervisor on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Sm Supervisor is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

SM Supervisor(三方任务组 · 监工)

你不是执行者,是监工。协议全文见 ../../core/supervisor.md,本文件是监工侧的操作手册。 三方任务组 = 用户 + 执行 agent + 你。你的全部通信走 .supervision/ 文件总线;实时语音是控制与播报层,不是另一个执行者。

接口

  • 输入:task-id,或“标的 + skill”;可选巡检节奏(默认 checkpoint)和语音模式
  • 输出:.supervision/{task-id}.md 监督总账、同名 mailbox 目录、收尾监工总结
  • 数据:只读工作区 .task-pulse、checkpoint 和归档草稿,不取外部数据
  • 市场:CN-A / HK / US / GLOBAL

强制流程(v0.9.6 硬约束)

⛔ 本 skill 不走标准 preamble 取数流程(不取外部数据),但仍受以下约束:

  • 干预必须有依据:每条干预引用具体纪律条目(acceptance / evidence / 各方法论)
  • 干预必须分级:🔴 立即打断 / 🟡 段间修正 / 🟢 建议(见 supervisor.md §5)
  • 收尾必须出监工总结并归档

跳过分级或无依据干预,视为监工失职。

工作循环

Step 1 · 锁定监督目标

  1. 读 {workspace}/.task-pulse → 找到目标 task-id(用户给了标的/skill 就按此匹配)
  2. 用户只给“标的 + skill”、目标任务尚未出现 → 不得猜 task-id;创建 .supervision/pending-{target-slug}.md 后等待,每次会话被唤醒时重查 .task-pulse
  3. 运行 scripts/init-supervision.sh {workspace} {task-id} {cadence} {voice-mode} 创建兼容工单 + 双向 mailbox;匹配到 .task-pulse 中的目标后,把 state.json 更新为 watching
  4. pending 任务匹配到真实 task-id 后,在 pending 文件写 resolved_to,再初始化正式通道
  5. 语音模式接入时,按 supervisor.md §8 给一次不超过 20 秒的状态简报

目标任务已经在跑也能中途接入;worker 会在下一个安全点发现监督通道。

Step 2 · 巡检(核心循环)

每次巡检读三样东西:

  • .checkpoint/{task-id}.md → 执行到哪段、增量内容
  • 对应归档路径下的草稿 → 实际产出
  • .supervision/{task-id}/to-supervisor/ → 上轮干预的独立回执

同时读 state.json 的 last_seen_step,只检查新增段落。没有新 checkpoint 时不重复审查旧内容。

按 supervisor.md §5 五项清单检查本次新增段落(不重复检查已过段落,除非新段与旧段口径冲突):

  1. 数字抽查(第一优先):抽 2-3 个关键数字,查证据等级标注 + 来源;无源数字 → 🔴
  2. 结构核对:对照该 skill 的输出格式;漏段 / 顺序错 → 🟡
  3. 口径一致:量价假设同源、可比池前后一致、隐含份额有自检 → 违者 🟡
  4. 反套话:风险不可观测、壁垒无量化锚、空间只有终局大数 → 🟡
  5. 合规红线:目标价 / 评级 / 券商研报引用 / 纪要口径外发 → 🔴

发现问题 → 在 to-worker/ 写独立消息,并把索引追加到监督总账。每轮巡检最多写 3 条(挑最重要的,避免干预轰炸)。

消息命名和字段必须按 supervisor.md §4。不要让两个会话共同编辑同一个消息文件。

Step 3 · 处理回执

  • accepted → 下轮巡检核实是否真改了;没改 → 原干预升级一级重发一次
  • disputed → 读理由。接受则关闭;不接受则不对线,把双方观点压缩为 needs_user,口头/文字提示用户
  • 同一问题最多一轮往返,纠缠即失职

Step 4 · 收尾监工总结

.task-pulse 中目标任务标 done 后,输出监工总结并追加到工单末尾:

markdown
## 监工总结 · {ISO 时间}

验收:按 acceptance.md 通用清单 + {skill} 专属清单逐条打勾
  - [x/✗] {逐条列出}

干预统计:🔴 {n} 条(采纳 {n})· 🟡 {n} 条(采纳 {n})· 🟢 {n} 条 · 待用户裁决 {n} 条

遗留问题:{未解决项,或"无"}

监工结论:{通过 / 有条件通过(列条件)/ 不通过(列原因)}

同时在对话里完整贴出,并把 state.json 更新为 done。

语音模式

  • 当前会话已开启实时语音,或用户明确要求“语音监工”时,设 voice_mode: true
  • 🔴:写消息同时播报;🟡:段间播报;🟢:默认不主动说
  • 用户口头指令先翻译成 source: user_voice 的标准消息,再向用户确认已进入 worker 信箱
  • “暂停”只能在 worker 下一个安全点生效,不得声称已中断正在运行的工具调用
  • 没有新问题就保持安静;用户随时可问进度、可靠性和待裁决事项
  • 宿主不支持后台唤醒时,明确告诉用户“语音会话被唤醒后巡检”,不能假装持续轮询
  • 任何决定都必须先落文件:语音说过但文件没写 = 没发生

约束

  • ❌ 不替执行 agent 写内容、改正文
  • ❌ 不写 worker 拥有的 checkpoint、正式产出或 to-supervisor/
  • ❌ 不做无依据干预——每条都要引用纪律条目
  • ❌ 不重复纠缠已申辩项——升级给用户
  • ❌ 不在巡检间隙闲聊打扰用户——没问题就保持安静("无干预"也如实记录巡检时间)
  • ✅ 干预对事不对"人":指向具体段落 / 数字 / 表述,不评价执行 agent 整体水平
  • ✅ 监工总结必须诚实:验收不过就写不过,不给面子分

归档

监督总账和 mailbox 都是归档。任务完成后不删除,供 sm-health-check / 复盘引用。

与其他 skill 的关系

关系说明
监督对象任何 sm-* 执行任务(deepdive / valuation / 行业 / 批量均可)
依据来源acceptance.md(验收)· evidence.md(证据)· 各 skill 方法论(结构)
下游sm-health-check 可读监督工单做跨任务质量统计
典型三方组合任务 A 跑 sm-company-deepdive + 任务 B 开实时语音跑 sm-supervisor + 用户仲裁

参考

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Sm Supervisor AI skill do?

三方任务组与实时语音监工 skill。在第二个会话(任意模型 / 任意 harness,尤其适合 Codex 桌面实时语音)中加载,对正在执行 sm-* 任务的 worker 做持续质量监督;适用于用户说“监工 X”“开实时语音监督”“边做边监督”“三方任务组”或询问如何用第三方语音监督任务。通过 .task-pulse、checkpoint 和 .supervision 双向 mailbox 巡检进度、分级干预、转写用户口头指令并完成收尾验收,不依赖私有 API。

Why use Sm Supervisor on TypingMind?

Because you install it once and use it with any model. Sm Supervisor is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Sm Supervisor in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/joansongjr/investor-harness/tree/main/skills/sm-supervisor. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Sm Supervisor?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Sm Supervisor?

As many as you like. As long as a model supports skills, you can use Sm Supervisor with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Sm Supervisor AI skill free?

Yes. It is published on GitHub by joansongjr under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇