metrickit

Collect and analyze on-device performance metrics and crash diagnostics with MetricKit.

Updated Jul 12, 2026
One-click install
npx skills add https://github.com/yashpalsince2004/National_academy_app --skill metrickit-yashpalsince2004
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: metrickit
Source: https://github.com/yashpalsince2004/National_academy_app/tree/main/Mobile/.agents/skills/metrickit
Command: npx skills add https://github.com/yashpalsince2004/National_academy_app --skill metrickit-yashpalsince2004

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires MetricKit, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of analyzing on-device performance metrics and crash diagnostics, enabling developers to optimize app performance and user experience.

Core Features & Use Cases

  • Performance Metrics Collection: Gather detailed performance data like CPU, memory, and network usage.
  • Crash and Diagnostic Analysis: Process crash, hang, and disk-write diagnostics with call-stack trees.
  • Custom Signpost Metrics: Add custom performance intervals for specific code paths.
  • Use Case: Utilize this Skill to monitor the performance of an app in production, identify bottlenecks, and improve user satisfaction.

Quick Start

Set up the metrickit skill to start collecting performance metrics and crash diagnostics for your app.

Frequently Asked Questions about metrickit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I collect on-device performance metrics for iOS and macOS applications?

You can collect on-device performance metrics by utilizing the MetricKit framework to gather detailed CPU, memory, and network usage data for iOS and macOS applications. This Skill processes the resulting MXMetricPayload to help identify production bottlenecks.

How do I analyze crash diagnostics and hang call-stack trees from MetricKit?

To analyze crash diagnostics, this Skill processes MXDiagnosticPayload data from MetricKit to evaluate crash, hang, and disk-write diagnostics. It parses the included call-stack trees to pinpoint exact code paths causing application instability.

Does MetricKit support custom signpost metrics for monitoring specific code paths?

Yes, MetricKit supports custom signpost metrics. You can add custom performance intervals to track and monitor specific code paths, allowing you to measure precise execution times and optimize targeted application workflows.

What is the best way to monitor app performance in production using MetricKit?

The best way to monitor app performance in production is by deploying MetricKit to continuously collect on-device metrics and crash diagnostics. This Skill automates the analysis of MXMetricPayload data to improve user satisfaction.

Can I use this Skill to debug disk-write diagnostics on iOS?

Yes, you can use this Skill to debug disk-write diagnostics on iOS. It processes MXDiagnosticPayload data from MetricKit to analyze disk writes and other performance issues, providing insights into potential storage bottlenecks.

What are the limitations of MetricKit for diagnostic analysis?

MetricKit requires appropriate handling of MXMetricPayload and MXDiagnosticPayload data, and is limited to iOS and macOS applications. Proper framework integration is necessary to process the call-stack trees for effective crash diagnostics.