Skills Plugins MCP Prompt Model 博客 我的中心

n8n-telemetry

Guides adding, changing, and reviewing telemetry through the `@n8n/telemetry` event registry. Use when working on telemetry, analytics, tracking, product events, `track()` calls, or RudderStack/PostHog product events, in frontend or backend code — and whenever you need to find which registered telemetry events exist, what an event means, or what properties it carries.

DeepseekModel 官方收录技能 质量 优秀 · 90 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=n8n-io-n8n-agents-skills-telemetry-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name n8n:telemetry description Guides adding, changing, and reviewing telemetry through the `@n8n/telemetry` event registry. Use when working on telemetry, analytics, tracking, product events, `track()` calls, or RudderStack/PostHog product events, in frontend or backend code — and whenever you need to find which registered telemetry events exist, what an event means, or what properties it carries. Telemetry The registry Events migrated to the registry live in packages/@n8n/telemetry as one entry per event — its exact emitted name, a description, and a zod schema typing its properties — organized per product domain in src/events/ and composed into TELEMETRY_EVENT.<DOMAIN>.<EVENT> . The package defines registered events and never depends on transport SDKs. To find which events are registered, what they mean, or what properties they carry, run the catalog first: pnpm --filter @n8n/telemetry catalog # human-readable, grouped by domain pnpm --filter @n8n/telemetry catalog --json # structured, for programmatic use The registry is being adopted incrementally. Events not yet registered do not appear in the catalog, so search track() call sites when the catalog has no match. Pass the entry itself to track() — it resolves the emitted name internally: import { TELEMETRY_EVENT } from '@n8n/telemetry' ; telemetry. track ( TELEMETRY_EVENT . PLATFORM . USER_IS_PART_OF_EXPERIMENT , { name : experimentName, variant, }); Both track() implementations accept registry entries and plain strings. Plain strings remain supported for events that have not yet migrated: Frontend: packages/frontend/editor-ui/src/app/plugins/telemetry/index.ts Backend: packages/cli/src/telemetry/index.ts Entries get property autocomplete and compile-time checks — typo'd, missing, or wrongly typed properties fail typecheck. When the telemetry transport is initialized, track() additionally validates registered-event payloads via getEventValidationError (shared from @n8n/telemetry ) and logs a warning on mismatch, including unrecognized properties that slipped past structural typing. A validation warning does not stop the event from being emitted. Adding an event Check the catalog first ( pnpm --filter @n8n/telemetry catalog ). If an existing event covers the same user action from another surface, augment it with a property instead of adding a near-duplicate event. Pick the domain by the event's subject — what the event is about, never the surface that triggered it. User opened Credential modal is CREDENTIALS whether opened from the NDV, template setup, or chat. The trigger context goes into a source property. Name it with the house grammar: sentence case, actor first, past-tense verb, specific object ( User pinned node data ). No template interpolation in names — variability goes into properties. The name must snake_case cleanly into a BigQuery table name: no punctuation beyond spaces, no casing that collides after snake_casing. Write the entry description stating what the event means and when it fires — a registry test rejects blank descriptions. Document individual properties with .describe() where the key alone is not obvious. Type the properties with zod ( import { z } from 'zod/v4' ): snake_case keys, explicit .optional() where a call site may omit a value, z.looseObject() / .catchall() for genuinely dynamic remainders. Schemas must stay JSON-Schema-representable — no transforms, refinements, or z.date() (a registry test enforces this via z.toJSONSchema() ). Place the emission: frontend via useTelemetry().track(...) ; backend either through a RelayEventMap handler in packages/cli/src/events/relays/telemetry.event-relay.ts (event-bus-driven) or a direct Telemetry.track(...) call — both reference the same registry entry. Hard rules Never rename an emitted event. BigQuery materializes one table per event name; a rename orphans downstream history. A rename is delete + create, names are never reused, and removals must be coordinated with the data team before deleting the registry entry. Never duplicate an event name — one entry per event across all domains, referenced by every call site (even FE + BE). CI fails on collision. Properties evolve additively only. Changing a property's type forks warehouse columns even under a stable name. Mark deprecations on the schema ( .meta({ deprecated: true }) ) instead of removing. Breaking changes need a data-team heads-up in Slack plus a Notion note before they ship. Testing Do not retype event-name literals in tests: In call-site tests, mock useTelemetry().track or the backend Telemetry.track service and expect the registry entry itself with the payload. In frontend transport tests, expect window.rudderanalytics.track to receive entry.name and the augmented payload. In backend transport tests, expect the RudderStack payload's event field to equal entry.name and its properties to include the event payload. Related Experiment exposure and metric events follow n8n:experiments ( .agents/skills/experiments/SKILL.md ).
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。