Klingai Usage Analytics
Developmentklingai-usage-analyticsKlingai Usage Analytics is an Agent Skill for development published in the Dicklesworthstone/pi_agent_rust repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Build usage analytics and reporting for Kling AI. Use when tracking generation patterns, analyzing costs, or creating dashboards. Trigger with phrases like 'klingai analytics', 'kling ai usage report', 'klingai metrics', 'video generation stats'.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/Dicklesworthstone/pi_agent_rust/blob/HEAD/tests/ext_conformance/artifacts/plugins-community/plugins/saas-packs/klingai-pack/skills/klingai-usage-analytics/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/klingai-usage-analytics, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Klingai Usage Analytics
Overview
This skill shows how to build comprehensive usage analytics including generation metrics, cost analysis, trend reporting, and visualization dashboards for Kling AI.
Prerequisites
- Kling AI API key configured
- Usage data collection in place
- Python 3.8+ with pandas/matplotlib (optional)
Instructions
Follow these steps for analytics:
- Collect Data: Capture usage events
- Aggregate Metrics: Calculate key metrics
- Generate Reports: Create usage reports
- Visualize Data: Build dashboards
- Set Up Alerts: Anomaly detection
Output
Successful execution produces:
- Usage summary statistics
- Daily breakdown reports
- Top user analysis
- Anomaly detection alerts
- Exportable CSV data
Error Handling
See {baseDir}/references/errors.md for comprehensive error handling.
Examples
See {baseDir}/references/examples.md for detailed examples.