dx-app-analytics-query

Manage ISV App Analytics queries and metadata configurations via REST/sObject and Metadata APIs.

Updated Jul 2, 2026
One-click install
npx skills add https://github.com/padjei/SF_Agents --skill dx-app-analytics-query-padjei
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dx-app-analytics-query
Source: https://github.com/padjei/SF_Agents/tree/main/.claude/skills/dx-app-analytics-query
Command: npx skills add https://github.com/padjei/SF_Agents --skill dx-app-analytics-query-padjei

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires salesforce rest API, Metadata API, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

The dx-app-analytics-query skill resolves the issue of navigating the complex process of querying, configuring, and managing ISV App Analytics metadata. It aids users in retrieving and analyzing package usage data, simulating environments, and understanding query lifecycle stages.

Core Features & Use Cases

  • Query Data Retrieval: Automates the process of fetching App Analytics usage data, including PackageUsageSummary, PackageUsageLog, and SubscriberSnapshot.
  • Settings Configuration: Manages AppAnalyticsSettings configuration via the Metadata API, enabling features like simulation mode and opt-out.
  • Lifecycle Management: Helps track query lifecycle from New to Expired states and troubleshoot failures.

Quick Start

Utilize dx-app-analytics-query to create an AppAnalyticsQueryRequest for PackageUsageSummary data spanning the last 30 days from a specific package.

Frequently Asked Questions about dx-app-analytics-query

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

FAQPage Schema
How do I retrieve ISV package usage data from App Analytics?

Configure AppAnalyticsSettings using the Metadata API. This allows you to enable simulation mode for testing and manage opt-out preferences for your ISV application analytics configuration.

How does the AppAnalyticsQueryRequest lifecycle work?

Fetch package usage data spanning the last 30 days by creating an AppAnalyticsQueryRequest for PackageUsageSummary. This automates the process of retrieving recent ISV application analytics data via the sObject API.

How do I configure AppAnalyticsSettings for simulation mode?

Configure AppAnalyticsSettings using the Metadata API. This allows you to enable simulation mode for testing and manage opt-out preferences for your ISV application analytics configuration.

How does the AppAnalyticsQueryRequest lifecycle work?

The AppAnalyticsQueryRequest lifecycle tracks query progression from New to Expired states. Monitoring these stages helps you identify when data retrieval succeeds or troubleshoot when query processing failures occur.

Does this App Analytics query approach work with the Salesforce REST API?

Yes, this skill works with the Salesforce REST API and Metadata API. These dependencies provide the necessary endpoints to query package usage data and manage AppAnalyticsSettings configurations.