Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

cloudflare-traffic-investigatorCloudflare 交通调查员

Agent Skill

cloudflare-traffic-investigator 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

744

周安装

31

GitHub Stars

1

下载量

248
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cloudflare-traffic-investigator(Cloudflare 交通调查员)
来源仓库:https://github.com/delexw/claude-code-misc
仓库路径:skills/cloudflare-traffic-investigator
安装命令:
npx skills add https://github.com/delexw/claude-code-misc --skill cloudflare-traffic-investigator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/delexw/claude-code-misc --skill cloudflare-traffic-investigator

简介

调查受 Cloudflare 保护的域名流量模式,分析请求来源与异常行为。

  • 支持按时间范围、地理位置、User-Agent 等维度筛选日志数据。
  • 返回详细的 HTTP 状态码分布、速率限制触发与攻击特征统计。
  • 需传入域名、Zone ID 与可选时间窗口参数发起 GraphQL 查询。
  • 结果仅供参考,实际配置可能影响数据整理完整性与准确性。

SKILL.md

Investigating Traffic on Cloudflare-Protected Domains

Inputs

Raw arguments: $ARGUMENTS

Infer from the arguments:

  • DOMAIN: Cloudflare-protected domain to investigate
  • ZONE_ID: Cloudflare zone ID for the domain
  • TIME_RANGE: (optional) time range to investigate, in current agent's local timezone (detect via system clock)
  • SINCE: (optional) UTC ISO8601 start of analysis window. When provided, takes precedence over TIME_RANGE for all GraphQL queries.
  • UNTIL: (optional) UTC ISO8601 end of analysis window. When provided, takes precedence over TIME_RANGE for all GraphQL queries.
  • TZ_DISPLAY: (optional) Timezone abbreviation for report display (e.g. the output of date +"%Z" on the calling machine). When provided, use this as the pinned timezone instead of detecting via system clock in Step 1.

If domain or zone ID cannot be inferred, ask the user via AskUserQuestion. Time range is collected in Step 1 if neither TIME_RANGE nor SINCE/UNTIL are provided.


Investigate unusual traffic patterns on Cloudflare-protected domains that cause downstream service failures (e.g., service overload, database saturation, API rate limiting). This skill walks through a structured investigation from confirming the spike through to a full incident report.

Investigation Workflow

Follow these steps in order. Each step file contains detailed instructions and example Cloudflare GraphQL queries.

  1. Get parameters — Collect time range and zone info
  2. Confirm spike — Query hourly traffic to verify the anomaly
  3. Minute-level detail — Narrow to exact spike timing
  4. Identify culprit JA4 — Find JA4 fingerprints with highest request counts
  5. Analyze traffic — For top JA4s, identify paths, user IDs, ASNs
  6. Verify legitimacy — Check bot scores, WAF scores, User-Agent 6b. Check WAF & page rules — Inventory active WAF rules, rate limits, and page rules; identify protection gaps
  7. Extract top users — Find which users made the most requests
  8. Synthesize & report — Combine findings into an incident report

Cloudflare API CLI

All Cloudflare interactions use the cloudflare-mcp-cli CLI tool (via cloudflare-mcp-cli):

  • cloudflare-mcp-cli search '<async fn>' — Discover API endpoints by searching the OpenAPI spec
  • cloudflare-mcp-cli execute '<async fn>' — Execute API calls via cloudflare.request() (GraphQL analytics via POST to /graphql, Radar via REST, zone operations via /zones)

See Cloudflare API CLI Reference for query patterns and examples.

JA4 TLS Fingerprints

  • Format: t13dNNNNNN_XXXXXXXXXXXX_YYYYYYYYYYYY
  • A single fingerprint across millions of requests indicates backend service configuration, not individual users
  • Useful for identifying automated/service-to-service traffic
  • Cross-reference with the CLOUDFLARE_JA4 environment variable before flagging as unknown

Cloudflare Sampled Data

Firewall events use adaptive sampling. Numbers are sampled counts, not actual totals. Use them for pattern identification and relative comparisons — top users in sample likely represent top users overall. Always note this in reports.

Common Failure Patterns

Quickly identify root causes using these patterns:

PatternSignalResolution
Circuit Breaker Cascade429 → timeout → breaker opensScale service or add rate limiting
Retry StormError count exceeds initial trafficAdd exponential backoff, client-side circuit breaker
Single User AmplificationOne user dominates request countContact user, fix frontend logic
Undersized ServiceNormal distribution, fails at <10 req/secScale service capacity urgently
Cascading FailureMultiple services failing sequentiallyIsolate fault, restart root service
Cache StampedeSpike after cache expirationCache lock, stale-while-revalidate

Detailed descriptions and resolution steps: Failure Patterns Reference

Escalation Criteria

PriorityCondition
P1 — ImmediateService 429 errors / circuit breaker open, >10% error rate, cascading failures
P2 — HighSingle user >500 req/hour on critical endpoint, sustained spike >50% above baseline, multiple dependencies affected
P3 — MonitorModerate increase <50% above baseline, isolated user anomalies

Incident Report

Document findings using the Incident Report Template covering metrics, timeline, security analysis, root cause, and recommendations.

Tips

  • Ask for time range first using AskUserQuestion if not provided
  • Identify JA4 dynamically — query Cloudflare, don't assume
  • Only ask the user about unknown/suspicious User-Agents — skip well-known bots and clearly internal services
  • Calculate actual req/sec to understand service load
  • Document findings immediately using the incident template

Reference Files

Steps

  1. Get parameters
  2. Confirm spike
  3. Minute-level detail
  4. Identify culprit JA4
  5. Analyze traffic
  6. Verify legitimacy 6b. Check WAF & page rules
  7. Extract top users
  8. Synthesize & report

References

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.17%
按下载量换算92

Claude

27.86%
按下载量换算69

Cursor

17.93%
按下载量换算44

Gemini CLI

8.51%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills