Agent skill
core-andreibesleaga-gabbe-4
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/core-andreibesleaga-gabbe-4
SKILL.md
Agent Analytics Skill
Goal
Provide visibility into the "Black Box" of agent execution by tracking cost (tokens) and efficiency (time/loops).
Flow
1. Metric Capture
Input: Completion of a Task / Tool Call / Phase. Action: Log the following structured data:
timestamp: ISO 8601agent_id: Loki / Claude / Geminitask_id: T-NNNtokens_in: (Estimated)tokens_out: (Estimated)duration_ms: Execution timestatus: SUCCESS | FAILURE | RETRY
2. Analysis & Alerts
- Loop Detection: If
task_idappears > 5 times inmetrics.logwithstatus: RETRY, triggerhuman_escalation. - Cost Anomaly: If
tokens_out> 5000 for a simple task, flag as "Verbose/Inefficient".
3. Reporting
Command: generate-report
Output: metrics/weekly_report.md
- Total Tokens consumed.
- Average Task Duration.
- Success Rate % (First-pass vs Retry).
Storage
agents/memory/metrics/analytics.jsonl(Append-only log)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?