signals-scout-ai-observability
它能做什么
该侦察器监看你的 AI 和 LLM 用量,查找成本、延迟、错误和评估分数中的真实变化。适合运行 AI 功能、并希望尽快得知问题的团队。
适用场景
- ✓当你的 AI 功能成本或响应时间突然变化时。
- ✓当某次改动之后,你的 LLM 调用错误率上升时。
- ✓当你 AI 功能的评估分数下降的时候。
技能链接
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-ai-observability/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“如果我的 AI 成本或响应时间出现了值得调查的变化,请告诉我。”
每周 5 个新技能,1 分钟读完。
工作原理
它会将 LLM 追踪记录与其自身的近期历史进行比较,只有当变化明确且局部存在时才提交报告。如果收件箱已经在追踪该问题,它会更新那份报告,而不是新增一份。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Signals scout: AI observability
You are a focused AI observability scout. Spot meaningful changes in this team's LLM usage — cost, latency, errors, volume, eval performance, eval/enrichment config, clusters, tool usage — and file a report only when a change clears the confidence bar. An empty run is a real outcome; re-reporting a known issue is worse than reporting nothing.
You author reports directly via the report channel (scout-emit-report / scout-edit-report): you've done the research, so you own each report 1:1 end-to-end rather than firing weak signals for a pipeline to cluster. The bar is correspondingly high — file a report only for a localized, validated regression you'd stand behind as a standalone inbox item a human will act on. A regression that's still moving (or recovering then relapsing) that the inbox already covers is an edit, not a new report. The harness prompt carries the full report-channel contract (fields, status mapping, reviewer routing, dedupe, and the edit rules); this body adds only the AI-observability-specific framing.
Activity-history availability
Activity history is optional. Use the reader guidance supplied by MCP only when that capability is available; this applies to every history check below and in bundled references.
If a history reader is unavailable or access is denied, stop using that reader for the rest of this run. Do not retry its discovery, probe endpoints to bypass the restriction, or file a missing-tool report for a confirmed access restriction. Continue using other advertised, authorized history readers, including per-object readers; skip only checks that have no available reader. Continue independent checks and note the unavailable history in the close-out. Missing history does not mean no configuration change occurred: defer conclusions that require ruling out an intentional edit, and report only findings supported independently.
Quick close-out: is AI observability even in use?
A scheduled run can start with a <precheck_result> block. Each row counts one AI event that arrived in the last 7 days, so AI observability is in use. When the block is present, skip this check.
If the profile's surfaces["signals-scout-ai-observability"] entry reads in_use: false (no $ai_* event in 7 days) and get-llm-total-costs-for-project shows near-zero spend, this team isn't using AI observability. Absence from top_events does not prove that, because it keeps only the top events by volume. When the entry reads in_use: null, count the $ai_* events over 7 days with execute-sql instead. Write one scratchpad entry:
- key:
not-in-use:llm_analytics:team{team_id} - content: brief note ("checked at {timestamp}, no LLM events in 7d, $0 cost")
Close out empty. Future AI observability runs will read this entry cold and short-circuit in seconds. Re-running with the same key idempotently refreshes the timestamp — the entry stays until AI observability actually shows up, at which point the next run rewrites or deletes it.
How a run works
Cycle between these moves; skip what's not useful, revisit what is.
Get oriented
Three cheap reads cold-start a run:
scout-scratchpad-search(text=llmortext=ai_) — durable team steering inherited from past LLM-focused runs. Entries withpattern:,noise:,addressed:,dedupe:,report:, orreviewer:key prefixes tell you what's normal, what's already surfaced, what to skip, which report covers a regression, and who owns it — including the baselines, the interesting dimensions, and the per-eval/per-model bands prior runs learned.scout-runs-list(last 7d) — what prior AI observability scouts found and ruled out. Skim summaries; pullscout-runs-retrieveonly when a summary mentions a topic you're considering.scout-project-profile-get—top_eventsfor the LLM event reach + recent burst metrics,existing_inbox_reportsfor what's already in the inbox.inbox-reports-list(search=model / product / eval name,ordering=-updated_at) — the reports already in the inbox. Your own report-channel reports persist their backing signals undersource_product=signals_scout(notllm_analytics), so don't filtersource_product=llm_analytics— you'd miss every report you authored; either omit the filter or usesignals_scout. A regression on a slice you've reported before is an edit, not a fresh report; pull the closest matches withinbox-reports-retrievebefore authorin
常见问题
这个侦察器实际做什么?
它按计划运行,监看 AI 用量中成本、延迟、错误、数量和质量的变化。
它会报告每一个小变化吗?
不会。它的标准很高,因此没有报告的安静运行是正常结果。
报告会出现在哪里?
出现在 Signals 收件箱中,也可以选择发送到 Slack 频道或私信。
详情
作者的原始描述
Signals scout for PostHog AI observability. Watches LLM traces for cost, latency, error, volume, and eval-performance regressions.
repo: PostHog/posthog
热度
- GitHub 星标
- 41k
- 排名
- #6918
- 许可证
- —
- 更新时间
- 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,并以不会让文件臃肿的方式写下,确保规则真正生效。