integrail/everworker-plugins/analytics
Claude Code and agent skill by integrail/everworker-plugins
- community
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/analyticsSKILL.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:
- Capability check. Call
mcp__ai_builder__current_user_get_capabilities. Ifcan.viewAnalytics === false, tell the user the role required is Admin or Superadmin and stop. No data calls.
- 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.
- 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
agentsubdocument is sparse. - Always start with
$matchonexecutionStartedfor the time window. - End with
$limit≤ 100 unless the user asks for more. - When unsure of a field path inside
ExecutionArchive.nodeResultsorfinalResult, sample first:pipeline: [{ $sample: { size: 1 } }]. One cheap call beats guessing.
- Run. Call
mcp__ai_builder__analytics_mongo_queryonce 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.
- 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 —
$groupserver-side, not in markdown. - Dumping
Agents.nodes(workflow definitions) into the report. - Asking the user "what's
executionAnalytics?" — read the PLAYBOOK's# ANALYTICSsection. - Falling back to
worker_search/workflow_searchto count executions. Those don't carry execution history — useanalytics_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
- SKILL.md in the repositoryCheckingplugins/ai-builder/skills/analytics/SKILL.md
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
[](https://verified-skill.com/skills/integrail/everworker-plugins/analytics)