integrail/everworker-plugins/analytics

Claude Code and agent skill by integrail/everworker-plugins

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Answer ad-hoc questions about Everworker execution history (success rate, failures, latency, cost, who-ran-what) using MongoDB aggregations. Admin or Superadmin only. Renders markdown reports.

Install

npx vskill@latest install integrail/everworker-plugins/analytics

SKILL.md

The same SKILL.md was published earlier as integrail/everworker-plugins/analytics.

The user wants an analytics report. Their request:

$ARGUMENTS

Read `${CLAUDE_PLUGIN_ROOT}/PLAYBOOK.md` and follow it now, in this session — do NOT delegate to a sub-agent. The PLAYBOOK's # ANALYTICS section has the collection schemas, worked example pipelines, and safety rules.

This is a query-only skill — no Plan / Develop / Test cycle. Five steps:

  1. Capability check. Call mcp__ai_builder__current_user_get_capabilities. If can.viewAnalytics === false, tell the user the role required is Admin or Superadmin and stop. No data calls.
  1. Clarify the question — only ask what's missing:
  • Time window? Default last 7 days if unspecified.
  • Scope? All workers, a specific tag, a specific worker by name, a specific user?
  • What metric? Volume, success rate, failures, cost, tokens, latency.

Don't interrogate — assume sensible defaults and proceed.

  1. Compose the pipeline.
  • Prefer `executionAnalytics` (snapshot — fast). Fall back to `ExecutionArchive` only when you need a field the snapshot lacks (tokens, cost, per-node detail).
  • Use `$lookup` into `Agents` to attach names when grouping by worker — the snapshot's agent subdocument is sparse.
  • Always start with $match on executionStarted for the time window.
  • End with $limit ≤ 100 unless the user asks for more.
  • When unsure of a field path inside ExecutionArchive.nodeResults or finalResult, sample first: pipeline: [{ $sample: { size: 1 } }]. One cheap call beats guessing.
  1. Run. Call mcp__ai_builder__analytics_mongo_query once with { collection, pipeline }. If rejected (banned stage, foreign collection in $lookup, etc.), fix the pipeline and retry — don't surface the raw error to the user.
  1. Render — markdown only, no charts.
  • Headline sentence. "Last 7 days: 412 executions, 94.9% success, 21 failures."
  • KPI table or sorted list.
  • Filter footer. One line stating the time window, scope, and which collection(s) you queried.
  • Canvas link. End with: Full charts: `<everworker_url>/analytics` (substitute <everworker_url> with the value from the [ai-builder runtime] block).
  • Offer one follow-up. "Want me to drill into the failures, or pivot by user?"

Anti-patterns:

  • Returning raw documents when an aggregate summary would do — $group server-side, not in markdown.
  • Dumping Agents.nodes (workflow definitions) into the report.
  • Asking the user "what's executionAnalytics?" — read the PLAYBOOK's # ANALYTICS section.
  • Falling back to worker_search / workflow_search to count executions. Those don't carry execution history — use analytics_mongo_query.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/integrail/everworker-plugins/analytics/badge)](https://verified-skill.com/skills/integrail/everworker-plugins/analytics)

Something wrong with this skill or its page? Tell us.