signals-scout-workflows
它能做什么
该侦察器会查看那些负责人要求提供建议的工作流,并针对表现不佳的邮件步骤提出一项改动。适合运行邮件工作流、并希望基于数据进行改进的人。
适用场景
- ✓当工作流中某个邮件步骤的打开率或点击率远低于应有水平时。
- ✓当某个工作流的负责人要求提供改进建议时。
- ✓当某个邮件步骤存在问题,例如退信,而仅修改文案无法解决的时候。
技能链接
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-workflows/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请根据我的入职工作流中邮件的表现,为其提出一项改进建议。”
每周 5 个新技能,1 分钟读完。
工作原理
它会读取每个邮件步骤的投递指标,并且每个工作流最多提出一条建议。该建议会以草稿形式出现在工作流页面上,在任何改动生效之前,必须由人员审批。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Signals scout: workflows
You suggest changes to workflows their owner already asked you to look at, and you never make one. A suggestion becomes a draft only when a person approves it, and reaches anyone only when they publish that draft. That gate is the product; your job is to make what lands in front of them worth reading.
The discriminator is a step whose own numbers say it underperforms, where the change you would make is the thing those numbers point at. An email step opened by 8% of the people who could open it, with a subject line running to 90 characters, is signal. A step with 12 sends, or one whose opens look low because half its sends have tracking off, or one whose real problem is that a fifth of its mail bounces, is not — the first has no sample, the second has a measurement artefact, and the third has a deliverability problem that rewriting copy makes worse.
You produce at most one suggestion per workflow per run. A queue of five suggestions for one workflow is a queue nobody reads.
Quick close-out: is anyone asking?
Call workflows-list with optimization_enabled=true — the work list, the workflows whose owner turned on "Suggest improvements".
The list comes back a page at a time, so keep advancing offset until a page returns fewer rows than you asked for; a project with more opted-in workflows than one page holds is otherwise read as if the rest were not there.
Read it before looking at any workflow: the opt-in is what keeps a run from spending anything on workflows nobody asked about, and it only does that if you check it first.
A 404 from a suggestions endpoint means the project does not have this feature at all, so close out immediately — nothing you do next can land.
If the list is empty, nobody has asked for this here.
Write one scratchpad entry:
- key:
not-in-use:workflow-suggestions - content: brief note ("checked at {timestamp}, no workflow opted in")
Close out empty.
Re-running with the same key refreshes the timestamp.
Never suggest against a workflow that is not on this list — the API refuses it anyway, with workflow_not_optimized.
How a run works
Get oriented
scout-scratchpad-search(text=workflow) — what you already decided: steps you ruled out as noise, suggestions a human rejected and why, workflows whose owner keeps turning you down.scout-runs-list(last 7d) — what the last runs covered, so a short run rotates rather than repeating.workflows-list {"optimization_enabled": true}— the work list, with each workflow's id, name, status and version.workflows-list-proposals {"id": <workflow>}— before doing any analysis on a workflow. A workflow with a suggestion stillsuggestedis waiting on a person, not on you. A step whose suggestion wasappliedalready got its change: let that version collect its own feedback before suggesting again, and read its outcome first. A step whose suggestion wasrejectedis a human saying no: do not re-file the same idea in different words. Read itsrejection_reasonwhen there is one. It says why, and a reason about what the step is for rules out every change aimed at the same metric on that step, not only the one rejected. A reason that names a better change is the exception: the person told you what they would approve. File that change once, against the evidence you would need for any other suggestion, and quote the reason in your rationale. A rejected suggestion stays rejected however many times the workflow is published since:is_stalereads against the version live now, not against the version the person was looking at, so it cannot tell you the idea went unjudged.
Read the numbers
Per workflow, workflows-version-stats with version=<the workflow's current version>, breakdown_by=name, and instance_id set to the email step you are reading.
Set after and before to the UTC start and end of the closed days you read, such as after=2026-10-08T00:00:00Z and before=2026-10-15T00:00:00Z, and sum the days from after up to the day before before.
A relative after=-7d starts at this hour seven days ago in the project's timezone, so its first day is partial and your numbers will not match the window you file.
workflows-stats gives every version of that workflow merged together, which cannot tell you whether the last change helped.
The metrics that matter:
| Metric | Reading
常见问题
它会直接修改我的工作流吗?
不会。它只提出改动建议,在任何改动生效之前,必须由人员审批。
为什么每个工作流只提一条建议?
冗长的建议清单很难落实,因此一条清晰的建议更有用。
如果某个步骤的发送量太少,会提出建议吗?
不会。发送量太少或存在测量问题的步骤不会获得建议。
详情
作者的原始描述
Signals scout for PostHog workflows. Looks at the workflows whose owner asked for suggestions, reads each email step's per-version delivery metrics, and proposes one concrete change a person can approve, filed through the workflows suggestions API. It files no report and emits no signal: the suggestion on the workflow page is the output.
repo: PostHog/posthog
热度
- GitHub 星标
- 41k
- 排名
- #6949
- 许可证
- —
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
depot-ci
41k帮你的智能体设置并运行 Depot CI 工作流(GitHub Actions 的替代方案),包括迁移现有工作流和读取运行日志。
depot-container-builds
41k帮你的智能体在 Depot 的远程构建器上构建 Docker 镜像,包括多平台镜像、推送到镜像仓库,以及修复构建失败。
depot-github-runners
41k帮你的智能体把 GitHub Actions 任务迁移到 Depot 托管的运行器上,选择运行器规格和标签,并排查运行器设置问题。
editing-agents-md
41k帮你的智能体判断某条规则应写入 AGENTS.md 还是 CLAUDE.md,并以不会让文件臃肿的方式写下,确保规则真正生效。