Agent skill · Data & Analytics

usage-report

Generate a usage report for MCP Gateway Registry by SSHing into the telemetry bastion host, exporting telemetry data from DocumentDB, and producing a formatted markdown report with deployment insights.

agentic-communitygithub.com/agentic-communityGitHub ↗
claude-codeships scriptsApache-2.0
Install
npx skills add agentic-community/mcp-gateway-registry --skill usage-report --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 29
SKILL.md size: 52 KB
Bundled scripts: yes
Version: 1.3
Declared author: mcp-gateway-registry
Path: .claude/skills/usage-report/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 845
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

Review
written from the skill's own SKILL.md · Aug 5, 2026

What it does

Export telemetry data from the MCP Gateway Registry's DocumentDB telemetry collector and generate a usage report showing deployment patterns, version adoption, and feature usage in the wild.

How it works

  • The workflow is two-pass: Pass 1 generates a deterministic report by running render_report.py to substitute a fixed template with values from analyzer outputs, and generate recommendations via recommendations.py. Every number and table cell traces to a source file.
  • Pass 2 augments the rendered markdown with analyst commentary using augment_with_commentary.py, which reads a manifest of <!-- COMMENTARY:section_id --> markers from the rendered markdown and produces 2-4 sentence paragraphs per section, inserting them back into the report without altering numbers, tables, or charts.
  • The process is divided into run_report.sh (Half A) to export data, generate charts, and render, followed by finish_report.sh (Half B) to apply commentary and render HTML.
  • Artifacts are organized under OUTPUT_DIR/YYYY-MM-DD/; charts, CSVs, and metrics are stored in the dated subfolder.
  • The skill uses a fixed report template (report_template.md), a set of Python scripts (render_report.py, recommendations.py, augment_with_commentary.py), and guidance hooks for commentary markers.

When to use it

Use when you need a reproducible usage report for MCP Gateway Registry that captures deployment patterns, version adoption, and feature usage, with an analyst narrative added post-render.

What it can touch

  • Executes: run_report.sh and finish_report.sh via the skill environment.
  • Accesses: bastion SSH export, registry_metrics.csv, and various Python scripts in the usage-report folder.
  • Outputs: a two-pass rendered markdown report, a commentary.json, and the final HTML via finish_report.sh.

Caveats

  • Date math and paths are controlled within the scripts (e.g., yesterday date handling, search-dir base path).
  • The only non-deterministic step is the analyst commentary generation by the LLM, which writes prose into pre-defined slots and cannot modify numbers or tables.
  • The report content is governed by editable files: report_template.md, render_report.py, recommendations.py, and augment_with_commentary.py.
From the SKILL.md

# Usage Report Skill Export telemetry data from the MCP Gateway Registry's DocumentDB telemetry collector and generate a usage report showing deployment patterns, version adoption, and feature usage in the wild. ## Two-pass report generation **Pass 1 (deterministic, Step 7):** `render_report.py` substitutes a fixed template with values pulled directly from the analyzer's JSON/CSV outputs. The Recommendations section is generated by rule-based triggers in `recommendations.py`. Every number and table cell traces back to a source file. The LLM is not in this path. **Pass 2 (LLM commentary, Step 8):** `augment_with_commentary.py` extracts a manifest of `<!-- COMMENTARY:section_id -->` markers from the rendered markdown. The skill hands the manifest to the LLM, which produces 2-4 sentence analyst paragraphs per section. The augmenter then substitutes the markers with the commentary text. The LLM only writes prose into pre-defined slots; it cannot modify numbers, tables, or charts. Together: deterministic data for everything quantitative, LLM voice for synthesis. Hallucination is prevented because the LLM never writes numbers; flat reports are prevented because the commentary layer adds

What's inside
Steps it walks through
  1. Two-pass report generation
  2. Visualization Guidelines
  3. Prerequisites
  4. Input
  5. Orchestrated Workflow (primary path)
  6. Running it
  7. Script behavior worth knowing
  8. Detailed Workflow (per-step reference)
  9. Step 1: Get Bastion IP
  10. Step 2: Copy Export Script to Bastion
  11. Step 3: Run Export on Bastion
  12. Step 4: Create Dated Subfolder and Download the CSV
  13. Step 5: Install Python Dependencies and Generate Charts
  14. Step 5b: Generate Timeseries Chart
Ships with 24 files
  • analyze_liveness.py
  • analyze_telemetry.py
  • augment_with_commentary.py
  • fetch_github_stats.sh
  • finish_report.sh
  • generate_active_instances_chart.py
  • generate_adoption_funnel_chart.py
  • generate_charts.py
  • generate_commentary_headless.sh
  • generate_compute_timeseries_chart.py
  • generate_daily_reporters_chart.py
  • generate_detection_by_version_chart.py
  • generate_install_forecast.py
  • generate_instance_distribution_chart.py
  • generate_lifetime_buckets_chart.py
  • generate_lifetime_by_compute_chart.py
  • generate_lifetime_chart.py
  • generate_ltv_spend.py
  • generate_prod_internal_chart.py
  • generate_timeseries_chart.py
  • recommendations.py
  • render_report.py
  • report-style.css
  • report_template.md
first 24 of 29
Commands it runs
Half A: export -> charts -> analysis -> render -> extract manifest.
Report date and OUTPUT_DIR both default; pass them explicitly to be safe.
Half B: apply commentary -> pandoc HTML.
cd terraform/telemetry-collector && terraform output -raw bastion_public_ip
scp -o StrictHostKeyChecking=no -i ~/.ssh/id_ed25519 \
terraform/telemetry-collector/bastion-scripts/telemetry_db.py \
ssh -o StrictHostKeyChecking=no -i ~/.ssh/id_ed25519 \
mkdir -p $DATE_DIR
Cumulative -- all customers ever
Active-yesterday -- only customers that reported on the last complete day.
More from mcp-gateway-registry
All skills →
About this skill
What does the usage-report skill do?

Generate a usage report for MCP Gateway Registry by SSHing into the telemetry bastion host, exporting telemetry data from DocumentDB, and producing a formatted markdown report with deployment insights.

How do I install it?

Run `npx skills add agentic-community/mcp-gateway-registry --skill usage-report --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From agentic-community/mcp-gateway-registry, a repository with 845 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going