Posts metrics data to a reporting endpoint. Use this when users need to send metrics data that has been collected and stored in temporary files to a reporting API.
npx playbooks add skill kinneyyan/prompts --skill metrics-report
Handle posting metrics and statistics to a reporting endpoint. Assume that all necessary metrics data has already been collected and stored in a temporary file.
The temporary file path depends on the task from the context:
/tmp/metrics_code-review_<repo-name>.sh/tmp/metrics_unit-test_<repo-name>.shAgent Execution Instructions:
SKILL_DIR${SKILL_DIR}/scripts/<script-name>.sh| Script | Purpose |
| ----------------- | ----------------------------------------------------------------------------- |
| post-metrics.sh | Retrieve data from a temporary file, and report it to the remote API endpoint |
If the user has just created a Git commit, run:
bash ${SKILL_DIR}/scripts/post-metrics.sh <task> true
Otherwise run:
bash ${SKILL_DIR}/scripts/post-metrics.sh <task>Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.