plugins/ruflo-observability/skills/observe-metrics/SKILL.md
Aggregate counters, gauges, and histograms from the observability namespace and flag anomalies.
When you need a snapshot of system health -- task completion rates, error rates, active agent counts, memory usage, and token consumption. Useful for monitoring swarm performance and detecting degradation.
mcp__claude-flow__memory_search --namespace observability (or memory_list) to fetch metric records for the specified period (default: 1 hour). The memory_* tool family routes by namespace; agentdb_hierarchical-* does NOT, so use memory_* here.mcp__claude-flow__agentdb_pattern-search (ReasoningBank-routed; don't pass a namespace argument — pattern-* tools ignore it) to establish baseline values for each metric.mcp__claude-flow__agentdb_pattern-store with type: 'metric-snapshot'. No namespace arg.mcp__claude-flow__memory_store --namespace observability for the snapshot tied to a timestamp.npx @claude-flow/cli@latest memory search --query "system metrics for last hour" --namespace observability