Agent skill
telemetry-contracts
Enforce telemetry contract stability (event naming, JSONL envelopes, /api/health + /api/status shape). Use when investigating telemetry drift, adding new telemetry fields, or updating z-server ingestion/UI.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/telemetry-contracts
SKILL.md
Telemetry Contracts
Scope
This Skill helps keep telemetry reliable over time by:
- identifying the contract surfaces (events + endpoints)
- updating code + tests together
- validating that drift risks are addressed
Out of scope:
- designing brand-new telemetry systems (that’s a separate design task)
Inputs
- Which server/module emits telemetry (file path(s) if known)
- What changed (new fields, renamed events, endpoint shape change)
- Which consumer(s) are impacted (e.g. z-server, UI dashboards, tests)
Procedure
- Locate current contract docs + recent telemetry work.
- Start from the most recent telemetry session docs under
docs/sessions/.
- Start from the most recent telemetry session docs under
- Identify the contract surfaces that must remain stable:
- telemetry JSONL envelope shape
- event names + required fields
/api/healthand/api/statuspayload shape
- Update emitter and consumer in lockstep.
- Add/adjust the smallest test(s) that enforce the contract.
- Record the rationale (why the shape changed, migration plan if needed).
Validation
- Run the most targeted test suite(s) that cover telemetry shape.
- If the change affects diagrams/docs, update the relevant session diagrams.
Escalation / Research request
Ask for dedicated research if:
- a contract change affects multiple servers and you need a migration strategy
- you need a formal schema/versioning plan
References
- Telemetry explainer session:
docs/sessions/2025-12-13-telemetry-setup-explainer/ - AGI workflows:
docs/agi/WORKFLOWS.md
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?