| name | metrics-collection |
| description | Use when collecting structured CPU, memory, disk, network, service, or health-score metrics from SysGuard for dashboards or reports. |
Metrics Collection
Use this skill when the user needs metric-shaped data rather than a narrative health diagnosis.
Runtime Invocation
The Go implementation is registered by RegisterCoreSkills and invoked as "metrics-collection":
registry.Execute(ctx, "metrics-collection", &skills.SkillInput{})
The result includes timestamp, health score, health boolean, and component metrics from the monitor.
Workflow
- Run the runtime skill for a current metrics snapshot.
- Preserve component names and metric keys from the returned structure.
- Summarize trends only if historical data is actually provided.
- Use
alerting if thresholds are breached and the user wants incident output.
Safety
This skill is read-only. Do not remediate based solely on one metric unless the user explicitly asks for action.