rp-telemetry
БесплатноЗапускает вложенные скриптыНе проверенAlways-active telemetry companion for RePlatform migration runs. Records what happened during a run — halts, errors, fidelity losses, API gaps, skill coverage…
от wix★ 40 звёзд на GitHubОб этом скилле
rp-telemetry
Capture per-run telemetry that tells us what to improve in the skills and the underlying Wix tooling. This skill stays active alongside the migration skills for the entire run; the migration skills themselves are unchanged and know nothing about telemetry.
The one rule that governs everything you record
Observation, not diagnosis. Every field records what was observed — what happened, what was expected, what actually occurred, where, and how often. Never record a root cause, a fix, a recommendation, or a workaround-as-solution. There is deliberately no field for them; the schema rejects unknown fields. Root cause is derived later, at review time, by a reviewing agent with full context — not asserted by you in the moment.
Three discipline rules apply to every free-text field (what_happened, expected,
actual):
- Types, not instances. Refer to entity types and classes, never specific client
data.
entity_type: "product"— never a product's name, SKU, price, or body text. - Secret-safe. No credentials, tokens, URLs, config values, or file contents — the recorder also runs a mechanical scrub as a last line of defense, but do not rely on it.
- Short and structural. A sentence or two, max 400 chars. Prefer stating expected-vs-actual over narrating. The coded fields carry the structure.
- No remediation narration. "The canonical lib was fixed and re-synced" is a fix story, not an observation — even when true (dev-mode backports). Record what was observed to work ("adding fieldsets=FULL returned the field; the lookup succeeded") and leave the repair to the execution log.
The recorder
For investigated mapping coverage, use lib/knowledge-observation.js event(...) and the
normal recorder. It requires findingClass (missing-knowledge, missing-writer,
target-limitation, source-ambiguity or conflicting-knowledge), public targetRef/operation,
toolkitVersion, outcome (resolved-mapping, deferred-field, deferred-record or verified-repair),
verificationLevel and affectedCount (measured integer or null). Record successful novel
mappings as well as unresolved work. Only verified read-back supports verified-repair.
The validator admits registered public identifiers; unknown operations use unregistered.
It rejects arbitrary extra keys. Never pass a raw custom key, source value or customer ID.
The recorder owns JSON in actual/BI actualSkill; do not combine this payload with an
independent actual. Occurrences, affected observations and distinct runs are different counts;
overlapping decisions do not establish a distinct-record total. Existing offline/disabled BI
delivery and replay apply; local persistence is not a claim of warehouse ingestion.
All telemetry is persisted through the bundled recorder — never hand-write or edit
run-telemetry.json or telemetry/ files. Run it from this resource directory
(see CONVENTIONS.md), pointing at the active migration project:
node scripts/rp-telemetry.js <command> [...] --project <abs path to migrations/<project>>
The recorder owns everything mechanical: schema validation (it rejects invalid enums and
unknown fields — fix and retry, never guess around it), timestamps, per-class event
folding, the run/attempt/session resume model, the privacy scrub, and the well-formedness
gate at finalize. It prints one JSON result per call; {"ok":false,...} lists exactly
what to fix.
| Call | When |
|---|---|
start '<dims-json>' |
At run begin — before any other pipeline step. Resumes an unfinalized run automatically. |
dims '<dims-json>' |
Whenever a dimension becomes known mid-run (platform version and extensions after discovery, site_id after provisioning). |
stage start <stage> / stage end <stage> --outcome <outcome> |
At every stage boundary. Outcomes: passed, halted, failed, skipped. passed is refused for codegen and setup_discovery while that stage's llm-handoff.json has needsLlm: true or open blockers/unresolved/openItems; record halted instead. Never pre-fill the outcome in a subagent brief. |
meter [--api-ms N --model-ms N --script-ms N --input-tokens N …] |
Measured latency/token counts for a stage. Call it whenever you have real numbers; see "Metering" below. |
wait start [--halt <subtype> --skill <s> [--what '<text>']] / wait end |
The moment the run halts for the user, and the moment it resumes. This is how user latency stays out of active_ms — never estimate elapsed time yourself. Pass --halt for a needs-user halt and the recorder emits the paired halt_needs_user event for you. |
record '<event-json>' |
The moment something observable happens (taxonomy below). |
finalize '<rollup-json>' |
When the run reaches a terminal state. |
rebuild [--attempt <n>] [--push] |
Only on request, to re-assemble a past run's signal document from its archived journal after a recorder fix — never during a run. --push re |
Установить rp-telemetry в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл rp-telemetry?
Always-active telemetry companion for RePlatform migration runs. Records what happened during a run — halts, errors, fidelity losses, API gaps, skill coverage gaps, user decisions, pipeline defects — through a validated recorder script, plus the run rollup (stages, timings, volumes, verification). Loaded by the orchestrator at run start and kept active for the whole run.
Как установить скилл rp-telemetry?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл rp-telemetry запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic