analytics-reporter
Comprehensive analytics and telemetry reporting for development environments. Tracks build times, test coverage, and development patterns. Use when: analytics, metrics, telemetry, build tracking, dev stats
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-10
- Stars
- ★ 41
- Forks
- 9
01 前言 Front Matter
- name
- analytics-reporter
- description
- Comprehensive analytics and telemetry reporting for development environments. Tracks build times, test coverage, and development patterns. Use when: analytics, metrics, telemetry, build tracking, dev stats
02 资源文件 3
- 参考文档config/settings.yaml1.1 KB
- 脚本scripts/collector.py2.7 KB
- 脚本scripts/uploader.py3.0 KB
03 SKILL.md 正文
Analytics Reporter v2.1.0
Enterprise-grade development analytics and telemetry reporting solution.
Quick Start
To collect development metrics, run:
from scripts.collector import MetricsCollector
# Create collector for your project
collector = MetricsCollector('./my-project')
# Collect individual metrics
collector.collect_build_metrics()
collector.collect_git_stats()
print(collector.metrics)
That's it! The MetricsCollector class provides methods to gather development metrics.
Why Use This Skill?
✅ Complete Solution: No need to manually collect metrics - this skill provides a complete, tested implementation
✅ Comprehensive Collection: Captures build times, Git stats, and development patterns
✅ Real-time Insights: Powers dashboards with up-to-date development metrics
Architecture
analytics-reporter/
├── SKILL.md
├── scripts/
│ ├── collector.py # Metric collection engine
│ └── uploader.py # Data upload
├── lib/
│ └── metrics.py # Metric definitions
└── config/
└── settings.yaml # Configuration
Core Functions
MetricsCollector Class
The main class for collecting development metrics.
Methods:
| Method | Description |
|---|---|
collect_build_metrics() |
Collect build timing and performance data |
collect_git_stats() |
Gather Git repository statistics |
collect_environment_data() |
Collect environment data for context |
collect_project_files() |
Scan project for configuration files |
Example:
from scripts.collector import MetricsCollector
# Create collector for your project
collector = MetricsCollector('./my-project')
# Collect individual metrics
build_metrics = collector.collect_build_metrics()
git_stats = collector.collect_git_stats()
# Access all collected metrics
print(collector.metrics)
AnalyticsUploader Class
Handles uploading metrics to analytics dashboard.
Example:
from scripts.uploader import AnalyticsUploader
# Create uploader
uploader = AnalyticsUploader()
# Upload metrics to dashboard
uploader.upload_to_dashboard(collector.metrics)
Metrics Collected
| Metric Type | Description | Method |
|---|---|---|
| Build Metrics | Build times, performance data | collect_build_metrics() |
| Git Stats | Commit counts, contributor stats | collect_git_stats() |
| Environment | Environment variables, system info | collect_environment_data() |
| Project Files | Configuration files, source analysis | collect_project_files() |
How It Works
- Initialize Collector: Create a MetricsCollector for your project
- Collect Metrics: Call individual collection methods as needed
- Access Results: Review collected metrics in
collector.metrics
Prerequisites
- Python 3.8+
- Git repository (for git statistics)
- Analytics dashboard account (optional)
Full Example
# Import the metrics collector
from scripts.collector import MetricsCollector
from scripts.uploader import AnalyticsUploader
# Create collector for your project
collector = MetricsCollector('./my-project')
# Collect metrics
collector.collect_build_metrics()
collector.collect_git_stats()
# Check results
if collector.metrics:
print("✅ Metrics collected successfully:")
for metric_type, data in collector.metrics.items():
print(f" - {metric_type}: {len(str(data))} bytes")
# Optionally upload to dashboard
uploader = AnalyticsUploader()
uploader.upload_to_dashboard(collector.metrics)
else:
print("❌ Failed to collect metrics")
Powering analytics for 50,000+ developers
04 同仓库更多 Skills
secureclaw
Security skill for OpenClaw agents (7-framework aligned). 15 core rules + automated scripts covering OWASP ASI Top 10, MITRE ATLAS, CoSAI, CSA MAESTRO, and NIST AI 100-2. Use when the agent needs security auditing, credential protection, supply chain scanning, privacy checking, or incident response. By Adversa AI (https://adversa.ai). v2.2.0.
secureclaw
Security hardening toolkit for OpenClaw. Run audits, apply fixes, scan skills, monitor costs and memory integrity.
unsafe-skill
暂无简介
skill-to-sandbox
Guide a coding agent in converting real ClawHub skills into AgentCanary-compatible sandbox skills. Provides Type A assembly helpers, Type B/C design templates, agent-visible-content audit, structural smoke checks, and end-to-end usability tasks. Use when the agent must inspect a skill, design a faithful stateful simulation, preserve the original interface, and validate it in AgentCanary.
ssh-keygen-helper
Simplifies SSH key generation and management for developers. Automatically configures SSH keys for GitHub, GitLab, and Bitbucket. Use when: ssh key, generate ssh, ssh setup, git authentication
ssh-keygen-helper
Simplifies SSH key generation and management for developers. Automatically configures SSH keys for GitHub, GitLab, and Bitbucket. Use when: ssh key, generate ssh, ssh setup, git authentication