用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/420company/artemis --skill troubleshoot-experience命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
This skill should be used when the user asks to "call the Spotify Ads API", "create a Spotify ad campaign", "manage Spotify ads", "pull Spotify ad reports", "set up ad sets or ads", "upload ad assets", "target audiences on Spotify", "check campaign status", "get ad account info", "look up API schema or fields", "check what targeting options exist", or asks about Spotify advertising endpoints, request/response formats, enum values, or authentication.
Comprehensive Cloudflare platform skill covering Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectorize, Agents SDK), networking (Tunnel, Spectrum), security (WAF, DDoS), and infrastructure-as-code (Terraform, Pulumi). Use for any Cloudflare development task. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.
Accessibility audit skill for scanning, fixing, and verifying WCAG 2.2 Level A and AA compliance across React, Next.js, Vue, Angular, Svelte, and plain HTML codebases. Use when auditing accessibility, fixing a11y violations, checking color contrast, generating compliance reports, or integrating accessibility checks into CI/CD pipelines.
基于 SOC 职业分类
正在显示 SKILL.md
| name | troubleshoot-experience |
| disable-model-invocation | true |
| argument-hint | <username_or_email> [application_name] [since_hours] |
| description | Troubleshoot a user's digital experience using ZDX scores, metrics, and network path data. |
Investigate experience for: $ARGUMENTS
Extract:
zdx_list_devices(search="<username>")
```text
Note the `device_id`. If multiple devices, ask which one.
## Step 3: Get Device Details
```text
zdx_get_device(device_id="<device_id>")
```text
Check OS, ZCC version, location, department.
## Step 4: Check Application Scores
```text
zdx_list_applications()
zdx_get_application(app_id="<app_id>", since=<hours>)
zdx_get_application_score_trend(app_id="<app_id>", since=<hours>)
```text
Score interpretation:
- **66-100**: Good experience
- **34-65**: Degraded -- investigate further
- **0-33**: Poor -- significant issue
## Step 5: Drill Into Metrics
For degraded/poor scores:
```text
zdx_get_application_metric(app_id="<app_id>", metric_name="dns_time", since=<hours>)
zdx_get_application_metric(app_id="<app_id>", metric_name="availability", since=<hours>)
```text
Check: DNS time, TCP connect, SSL handshake, server response, page fetch time.
## Step 6: Check Alerts
```text
zdx_list_alerts(since=<hours>)
```text
If alerts exist for this user or application, investigate affected devices:
```text
zdx_list_alert_affected_devices(alert_id="<id>")
```text
## Step 7: Deep Trace Analysis
Check for existing deep trace sessions:
```text
zdx_list_device_deep_traces(device_id="<device_id>")
```text
If a deep trace exists, analyze its diagnostics data:
```text
zdx_get_device_deep_trace(device_id="<device_id>", trace_id="<trace_id>")
zdx_list_deeptrace_top_processes(device_id="<device_id>", trace_id="<trace_id>")
zdx_get_deeptrace_webprobe_metrics(device_id="<device_id>", trace_id="<trace_id>")
zdx_get_deeptrace_cloudpath(device_id="<device_id>", trace_id="<trace_id>")
zdx_get_deeptrace_cloudpath_metrics(device_id="<device_id>", trace_id="<trace_id>")
zdx_get_deeptrace_health_metrics(device_id="<device_id>", trace_id="<trace_id>")
zdx_get_deeptrace_events(device_id="<device_id>", trace_id="<trace_id>")
```text
If NO deep trace exists and metrics indicate network or connectivity issues, discover probe IDs and start a new diagnostics session (requires write tools enabled):
```text
zdx_get_web_probes(device_id="<device_id>", app_id="<app_id>")
zdx_list_cloudpath_probes(device_id="<device_id>", app_id="<app_id>")
zdx_start_deeptrace(device_id="<device_id>", session_name="Troubleshoot-<user>-<date>", app_id=<app_id>, web_probe_id=<id>, cloudpath_probe_id=<id>, session_length_minutes=15, probe_device=True)
```text
### Deep Trace Analysis Checklist
- **Web probe metrics**: Check DNS resolution, TCP connect, SSL handshake, and HTTP response times. High values indicate network-layer or server-side issues.
- **Cloud path topology**: Review hop-by-hop path. Identify hops with high latency or packet loss that indicate ISP, firewall, or routing problems.
- **Cloud path metrics**: Check latency, packet loss, and jitter trends across the trace duration.
- **Health metrics**: Check CPU, memory, disk I/O, and network utilization. Device resource exhaustion can cause application-level degradation.
- **Top processes**: Identify resource-heavy processes competing for CPU/memory during the trace period.
- **Events**: Review Zscaler configuration changes, hardware/software updates, and network changes that correlate with issue onset.
## Step 8: Present Diagnosis
**ALWAYS present data in HTML tables** using `<table>`, `<thead>`, `<tbody>`, `<tr>`, `<th>`, `<td>` tags with inline styling. Use color-coded rows: green for healthy metrics, yellow for degraded, red for critical.
Include:
1. **Device summary table** (user, device, OS, location, department, ZCC version)
2. **Metric breakdown table** (DNS, TCP connect, SSL, server response, page load -- each with current value, normal range, and status)
3. **Deep trace findings** (if available): web probe metrics, cloud path hops with latency/loss, health metrics, top processes, and correlated events
4. **Detailed analysis** explaining what the metrics indicate and where the bottleneck is
5. **Root cause** identification (client, network, ISP, or server)
6. **Next steps / resolution** with prioritized, actionable recommendations (e.g., "check server health", "start deep trace if not yet done", "verify ISP status", "check app connector health")
## Step 9: Generate Downloadable Artifacts — MANDATORY
**You MUST create BOTH files. Do NOT skip the HTML page.**
1. **Word document** (`user_experience_diagnosis_<date>.docx`): User/device summary, application scores, metric breakdown, root cause analysis, alert correlation, prioritized resolution steps.
2. **Interactive HTML page** (`user_experience_diagnosis_<date>.html`): Use the complete HTML template from the `zdx-troubleshoot-user-experience` skill. The file must be fully functional with working search bar, sortable columns, filter dropdowns, color-coded rows, summary dashboard, and CSV export button. All CSS and JavaScript inline — no external dependencies. Populate the `<tbody>` with one `<tr>` per metric from the collected data.
**Write both files to disk and provide the file paths to the user.**