Apply Perplexity advanced debugging techniques for hard-to-diagnose issues. Use when standard troubleshooting fails, investigating complex race conditions, or preparing evidence bundles for Perplexity support escalation. Trigger with phrases like "perplexity hard bug", "perplexity mystery error", "perplexity impossible to debug", "difficult perplexity issue", "perplexity deep debug".
View on GitHubjeremylongshore/claude-code-plugins-plus-skills
perplexity-pack
plugins/saas-packs/perplexity-pack/skills/perplexity-advanced-troubleshooting/SKILL.md
February 1, 2026
Select agents to install to:
npx add-skill https://github.com/jeremylongshore/claude-code-plugins-plus-skills/blob/main/plugins/saas-packs/perplexity-pack/skills/perplexity-advanced-troubleshooting/SKILL.md -a claude-code --skill perplexity-advanced-troubleshootingInstallation paths:
.claude/skills/perplexity-advanced-troubleshooting/# Perplexity Advanced Troubleshooting
## Overview
Deep debugging techniques for complex Perplexity issues that resist standard troubleshooting.
## Prerequisites
- Access to production logs and metrics
- kubectl access to clusters
- Network capture tools available
- Understanding of distributed tracing
## Evidence Collection Framework
### Comprehensive Debug Bundle
```bash
#!/bin/bash
# advanced-perplexity-debug.sh
BUNDLE="perplexity-advanced-debug-$(date +%Y%m%d-%H%M%S)"
mkdir -p "$BUNDLE"/{logs,metrics,network,config,traces}
# 1. Extended logs (1 hour window)
kubectl logs -l app=perplexity-integration --since=1h > "$BUNDLE/logs/pods.log"
journalctl -u perplexity-service --since "1 hour ago" > "$BUNDLE/logs/system.log"
# 2. Metrics dump
curl -s localhost:9090/api/v1/query?query=perplexity_requests_total > "$BUNDLE/metrics/requests.json"
curl -s localhost:9090/api/v1/query?query=perplexity_errors_total > "$BUNDLE/metrics/errors.json"
# 3. Network capture (30 seconds)
timeout 30 tcpdump -i any port 443 -w "$BUNDLE/network/capture.pcap" &
# 4. Distributed traces
curl -s localhost:16686/api/traces?service=perplexity > "$BUNDLE/traces/jaeger.json"
# 5. Configuration state
kubectl get cm perplexity-config -o yaml > "$BUNDLE/config/configmap.yaml"
kubectl get secret perplexity-secrets -o yaml > "$BUNDLE/config/secrets-redacted.yaml"
tar -czf "$BUNDLE.tar.gz" "$BUNDLE"
echo "Advanced debug bundle: $BUNDLE.tar.gz"
```
## Systematic Isolation
### Layer-by-Layer Testing
```typescript
// Test each layer independently
async function diagnosePerplexityIssue(): Promise<DiagnosisReport> {
const results: DiagnosisResult[] = [];
// Layer 1: Network connectivity
results.push(await testNetworkConnectivity());
// Layer 2: DNS resolution
results.push(await testDNSResolution('api.perplexity.com'));
// Layer 3: TLS handshake
results.push(await testTLSHandshake('api.perplexity.com'));
// Layer 4: Authentication
results.push(await testAuthentication());