lucid-fdn/lucid-plugins/correlation
Claude Code and agent skill by lucid-fdn/lucid-plugins
- community
Checking that the SKILL.md file is still in the repository.
Cross-service error correlation using trace IDs and run IDs across the Lucid platform
Install
npx vskill@latest install lucid-fdn/lucid-plugins/correlationSKILL.md
Cross-Service Correlation
Correlate errors across services using trace IDs and run IDs to detect cascading failures.
Prerequisites
- Sentry MCP:
search_issues,get_issue_details
Correlation Procedure
Step 1: Extract Correlation IDs
From the issue being investigated, look for these tags:
trace_id— W3C Trace Context ID (32-char hex)run_id— Lucid run UUID (links all operations in a single user request)
If neither exists, correlation is not possible. Check that enrichSentryEvent() is called in beforeSend to attach these tags.
Step 2: Search Across All Projects
Use Sentry MCP search_issues with query trace_id:{id} (or run_id:{id}) for each of these projects:
lucid-weblucid-workerlucid-l2lucid-trustgatelucid-mcpgatejavascript-nextjs
Rate limit strategy: Search 6 projects in a batch (all at once is fine for 6 projects).
Step 3: Deduplicate and Sort
- Deduplicate results by issue ID (same issue may appear in multiple searches)
- Sort by
lastSeendescending (newest first) - Note which services are affected
Step 4: Detect Cascade
If errors appear in more than one service for the same trace:
- Cascade detected — this is a cross-service failure
- Investigate the oldest error first (likely the root cause)
- The error propagation path usually follows the service dependency graph
If errors appear in only one service:
- Isolated failure — no cascade
- Focus diagnosis on that single service
If no errors found:
- Verify
enrichSentryEvent()is called inbeforeSendto attachtrace_idandrun_idtags - The trace may exist in OTel but not have triggered Sentry errors
Step 5: Build Timeline
Present the correlated issues as a timeline:
- Service name + Sentry project
- Issue title and severity
- Event count and user count
- First seen and last seen timestamps
- Analysis: which service was the origin, which were downstream effects
Service Dependencies
See references/services.md for the full service topology and dependency graph.
Trace Flow
See references/trace-flow.md for how traces propagate between services.
Security
- Security scanPassed, 95 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 repositoryCheckinglucid-observability/skill/references/correlation/SKILL.md
Popularity
- 7-day trend score
- 5
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/lucid-fdn/lucid-plugins/correlation)