Agent skill

Observe Metrics

by ruvnet in ruvnet/ruflo

Aggregate and display system metrics with anomaly detection for a time period

MITAuto-check: notesData & Analytics

Install Observe Metrics

skills CLI
$ npx skills add ruvnet/ruflo --skill observe-metrics -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ruvnet/ruflo observe-metrics --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ruvnet/ruflo.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/ruflo-observability/skills/observe-metrics .claude/skills/observe-metrics && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
observe-metrics
GitHub stars
74k
Token cost
~592 tokens
SKILL.md length
192 words
Files
1
Skills in repo
265
Repo updated
First seen
Licence
MIT

At a glance

Aggregate and display system metrics with anomaly detection for a time period

  • Works in 6 steps: Retrieve metrics -- call… → Aggregate -- compute → Compute baselines -- call… → …
  • Tasks that involve Anomaly detection
  • SKILL.md covers When to use, Steps and CLI alternative
  • Calls npx

What it does

Observe Metrics is an agent skill from ruvnet/ruflo. Aggregate and display system metrics with anomaly detection for a time period

Its SKILL.md is about 590 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Data & Analytics, covering Anomaly detection. It works with Model Context Protocol. The repository describes itself as: 🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory…. The licence is MIT.

When your agent uses it

  • Tasks that involve Anomaly detection

Example prompts

  • “/observe-metrics”

Requirements

  • Node.js
  • Pre-approved tools (allowed-tools): mcp__plugin_ruflo-core_ruflo__memory_search, mcp__plugin_ruflo-core_ruflo__memory_list, mcp__plugin_ruflo-core_ruflo__memory_store, mcp__plugin_ruflo-core_ruflo__agentdb_pattern-search, mcp__plugin_ruflo-core_ruflo__agentdb_pattern-store, mcp__plugin_ruflo-core_ruflo__agentdb_semantic-route, Bash

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Retrieve metrics -- call mcpplugin_ruflo-core_ruflomemory_search --namespace observability (or memory_list) to fetch metric records for…
  2. Aggregate -- compute
  3. Compute baselines -- call mcpplugin_ruflo-core_rufloagentdb_pattern-search (ReasoningBank-routed; don't pass a namespace argument…
  4. Flag anomalies -- mark metrics deviating >2 standard deviations from baseline with direction (above/below) and severity
  5. Store patterns -- two paths (per ruflo-cost-tracker ADR-0001 dual-path pattern)
  6. Report -- display: metric name, current value, baseline, deviation, trend (up/down/stable), anomaly flag; overall health score…

What it can do on your machine

Read from SKILL.md and the folder at commit 6c04654. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • mcp__plugin_ruflo-core_ruflo__memory_search
    • mcp__plugin_ruflo-core_ruflo__memory_list
    • mcp__plugin_ruflo-core_ruflo__memory_store
    • mcp__plugin_ruflo-core_ruflo__agentdb_pattern-search
    • mcp__plugin_ruflo-core_ruflo__agentdb_pattern-store
    • mcp__plugin_ruflo-core_ruflo__agentdb_semantic-route
    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Observe Metrics loads about 592 tokens when it runs. Until then it costs about 23 tokens; SKILL.md has 192 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~23
When it runs · the whole SKILL.md, loaded when a task matches
~592

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: mcp__plugin_ruflo-core_ruflo__memory_search, mcp__plugin_ruflo-core_ruflo__memory_list, mcp__plugin_

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ruvnet/ruflo at commit 6c04654, republished under its MIT licence (© ruvnet). 192 words, ~592 tokens.

Download SKILL.mdSave it as .claude/skills/observe-metrics/SKILL.md (or your agent's skills folder).
name
observe-metrics
description
Aggregate and display system metrics with anomaly detection for a time period
allowed-tools
mcp__plugin_ruflo-core_ruflo__memory_search, mcp__plugin_ruflo-core_ruflo__memory_list, mcp__plugin_ruflo-core_ruflo__memory_store, mcp__plugin_ruflo-core_ruflo__agentdb_pattern-search, mcp__plugin_ruflo-core_ruflo__agentdb_pattern-store, mcp__plugin_ruflo-core_ruflo__agentdb_semantic-route, Bash
argument-hint
[--period 1h]

Observe Metrics

Aggregate counters, gauges, and histograms from the observability namespace and flag anomalies.

When to use

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.

Steps

  1. Retrieve metrics -- call mcp__plugin_ruflo-core_ruflo__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.
  2. Aggregate -- compute:
    • Counters: sum totals (tasks_completed, errors, token_usage)
    • Gauges: current values (active_agents, memory_usage_bytes)
    • Histograms: p50, p95, p99 (task_duration_ms, span_duration_ms)
  3. Compute baselines -- call mcp__plugin_ruflo-core_ruflo__agentdb_pattern-search (ReasoningBank-routed; don't pass a namespace argument — pattern-* tools ignore it) to establish baseline values for each metric.
  4. Flag anomalies -- mark metrics deviating >2 standard deviations from baseline with direction (above/below) and severity
  5. Store patterns -- two paths (per ruflo-cost-tracker ADR-0001 dual-path pattern):
    • Pattern store (typed, recommended): mcp__plugin_ruflo-core_ruflo__agentdb_pattern-store with type: 'metric-snapshot'. No namespace arg.
    • Plain store (namespace-routable): mcp__plugin_ruflo-core_ruflo__memory_store --namespace observability for the snapshot tied to a timestamp.
  6. Report -- display: metric name, current value, baseline, deviation, trend (up/down/stable), anomaly flag; overall health score (green/yellow/red)

CLI alternative

bash
npx @claude-flow/cli@latest memory search --query "system metrics for last hour" --namespace observability

© ruvnet, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/ruflo-observability/skills/observe-metrics of ruvnet/ruflo.

Open the folder on GitHubat commit 6c04654

Compare with similar skills

Observe Metrics next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Observe Metrics compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Observe Metrics this skillruvnet/ruflo74k—~592Automated safety check: NotesMIT
Anomaly Detectionirinabuht12-oss/marketing-skills4.1k—~658Automated safety check: PassNone
Apex Azure Kustojonathan-vella/apex217—~984Automated safety check: PassMIT
Kagi MonitoringMicrock/kagi-cli180—~690Automated safety check: PassMIT
TimesFM Forecastinggoogle-research/timesfm34k—~4.7kAutomated safety check: PassApache-2.0
Ketch1broseidon/ketch7021 repos~3.9kAutomated safety check: PassMIT

Similar skills

  • Anomaly Detection

    irinabuht12-oss/marketing-skills

    Catches unusual performance changes across your accounts — CPC spikes, CVR drops, spend surges, impression collapses, CTR shifts — and flags them with context about what likely changed.

    4.1k GitHub stars~658 tokensUpdated 16 days ago
    Data & AnalyticsAuto-check passed
  • Apex Azure Kusto

    jonathan-vella/apex

    ANALYSIS SKILL — Query and analyze data in Azure Data Explorer (Kusto/ADX) using KQL.

    217 GitHub stars~984 tokensUpdated today
    Data & AnalyticsAuto-check passed
  • Kagi Monitoring

    Microck/kagi-cli

    Automate repeated Kagi queries with batch search, watches, notifications, history, caching, and MCP.

    180 GitHub stars~690 tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • TimesFM Forecasting

    google-research/timesfm

    Forecasts any univariate time series zero-shot with Google's TimesFM model, returning point forecasts and calibrated prediction intervals without training.

    34k GitHub stars~4.7k tokensUpdated 10 days ago
    Data & AnalyticsAuto-check passed
  • Ketch

    1broseidon/ketch

    Research skill for ketch — a fast stateless CLI for web search, OSS code search, curated library docs, page scraping, and site crawling; an optional MCP server exists for operators who want it, but…

    702 GitHub starsUsed in 1 repo~3.9k tokens
    Data & AnalyticsAuto-check passed
  • Anomalib Adding A Model

    open-edge-platform/anomalib

    Adds a new anomaly-detection model to anomalib under src/anomalib/models/.

    6.2k GitHub stars~1.9k tokensUpdated today
    Data & AnalyticsAuto-check passed

More from ruvnet/ruflo

All 265 skills in this repo
  • Stores, searches, and retrieves successful patterns with HNSW-indexed semantic search so agents can reuse past solutions instead of relearning them.

    74k GitHub starsUsed in 2 repos~830 tokens
    Auto-check passed
  • Runs claude-flow CLI security scans for input validation, path traversal, SQL injection, XSS, hardcoded secrets and known CVEs, and writes an audit report.

    74k GitHub starsUsed in 2 repos~823 tokens
    Auto-check passed
  • Applies the SPARC method (specification, pseudocode, architecture, refinement, completion) with 17 specialized modes and multi-agent orchestration, from research to deployment.

    74k GitHub starsUsed in 2 repos~829 tokens
    Auto-check passed
  • Coordinates a hierarchical swarm of specialized agents through the claude-flow CLI for work that spans several files or modules at once.

    74k GitHub starsUsed in 2 repos~779 tokens
    Auto-check passed
  • Sets up and drives Ruflo, an npm-installed orchestration layer for multi-agent swarms, persistent memory, routing, hooks and its MCP tool catalog.

    74k GitHub starsUsed in 1 repo~975 tokens
    Auto-check passed
  • Agent Coordination

    ruvnet/ruflo

    Reference for spawning, listing, monitoring and stopping agents with claude-flow commands, with agent type families, routing codes and coordination tips.

    74k GitHub starsUsed in 2 repos~519 tokens
    Auto-check passed

Questions about Observe Metrics

What does Observe Metrics do?

Aggregate and display system metrics with anomaly detection for a time period. Observe Metrics is an agent skill from ruvnet/ruflo.

When should I use Observe Metrics?

Observe Metrics fits situations like: tasks that involve Anomaly detection.

How do I install Observe Metrics in Claude Code?

Run `npx skills add ruvnet/ruflo --skill observe-metrics -a claude-code`. Or copy the skill folder (plugins/ruflo-observability/skills/observe-metrics in ruvnet/ruflo) into .claude/skills/observe-metrics in your project. Claude Code loads it when a task matches its description.

How do I install Observe Metrics in Codex?

Run `npx skills add ruvnet/ruflo --skill observe-metrics -a codex`. Or copy the skill folder (plugins/ruflo-observability/skills/observe-metrics in ruvnet/ruflo) into .agents/skills/observe-metrics in your project. Codex loads it when a task matches its description.

Can I use Observe Metrics in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ruvnet/ruflo --skill observe-metrics -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/observe-metrics, .gemini/skills/observe-metrics, .github/skills/observe-metrics and .opencode/skills/observe-metrics in your project.

What does Observe Metrics need to run?

Going by SKILL.md and its folder, Observe Metrics needs the command-line tools its instructions call (npx). Our summary lists: Node.js. Its frontmatter pre-approves these tools: mcp__plugin_ruflo-core_ruflo__memory_search, mcp__plugin_ruflo-core_ruflo__memory_list, mcp__plugin_ruflo-core_ruflo__memory_store, mcp__plugin_ruflo-core_ruflo__agentdb_pattern-search, mcp__plugin_ruflo-core_ruflo__agentdb_pattern-store, mcp__plugin_ruflo-core_ruflo__agentdb_semantic-route, Bash.

Does Observe Metrics access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Observe Metrics safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Observe Metrics use?

Observe Metrics is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Observe Metrics use?

About 592 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Observe Metrics?

Skills that share tags, products or a category with Observe Metrics: Anomaly Detection (irinabuht12-oss/marketing-skills, 4.1k stars), Apex Azure Kusto (jonathan-vella/apex, 217 stars), Kagi Monitoring (Microck/kagi-cli, 180 stars) and TimesFM Forecasting (google-research/timesfm, 34k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Observe Metrics?

ruvnet (a GitHub user) maintains it in ruvnet/ruflo, which has 74,222 GitHub stars. The repository holds 265 skills in this directory. The repository was last updated on October 10, 2026.

Source: ruvnet/ruflo on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.