[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GYASSPNY0VHCDVR6QT6R0Q":3,"skill-same:01M6GYASSPNY0VHCDVR6QT6R0Q":85},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":53,"install":54,"resources":67},"01M6GYASSPNY0VHCDVR6QT6R0Q","implementing-ddos-mitigation-with-cloudflare",null,"Configure Cloudflare DDoS protection with managed rulesets, rate limiting, WAF rules, Bot Management, and origin protection to mitigate volumetric, protocol, and application-layer attacks.","micsapp\u002Fmicstec-skills","micsapp","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F82411001?v=4","01M6GWCFQ6D3PV8EHNY62NN5VW","01M6GWCFVE1PA5HG0DKC7AMFJ3",4,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-ddos-mitigation-with-cloudflare\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"implementing","cloudflare","with","ddos","implementing ddos mitigation with cloudflare","volumetric-attack","attacks","bot management","rate limiting","protection","Rules","configure","bot","layer-7","bot-management","ddos-mitigation","network-security","waf","protocol","cybersecurity","2026-11-10 10:12:30",false,"---\nname: implementing-ddos-mitigation-with-cloudflare\ndescription: Configure Cloudflare DDoS protection with managed rulesets, rate limiting, WAF rules, Bot Management, and origin protection to mitigate volumetric, protocol, and application-layer attacks.\ndomain: cybersecurity\nsubdomain: network-security\ntags: [ddos, cloudflare, ddos-mitigation, rate-limiting, waf, bot-management, layer-7, volumetric-attack, network-security]\nversion: \"1.0\"\nauthor: mahipal\nlicense: Apache-2.0\n---\n\n# Implementing DDoS Mitigation with Cloudflare\n\n## Overview\n\nCloudflare provides multi-layer DDoS protection across its global network of over 300 data centers with 477+ Tbps of capacity. The platform protects against L3\u002F4 volumetric attacks (SYN floods, UDP amplification, DNS reflection), protocol attacks (Ping of Death, Smurf), and L7 application-layer attacks (HTTP floods, Slowloris, cache-busting). Cloudflare's autonomous detection systems identify and mitigate attacks within approximately 3 seconds using traffic profiling, machine learning, and adaptive rulesets. This skill covers configuring Cloudflare's DDoS protection stack including managed rulesets, WAF rules, rate limiting, Bot Management, and origin server hardening.\n\n\n## When to Use\n\n- When deploying or configuring implementing ddos mitigation with cloudflare capabilities in your environment\n- When establishing security controls aligned to compliance requirements\n- When building or improving security architecture for this domain\n- When conducting security assessments that require this implementation\n\n## Prerequisites\n\n- Cloudflare account (Pro plan minimum for WAF, Enterprise for Advanced DDoS)\n- Domain with DNS delegated to Cloudflare nameservers\n- Origin server IP address(es)\n- Understanding of normal traffic patterns and peak volumes\n- Cloudflare API token for automation\n\n## Core Concepts\n\n### DDoS Attack Categories\n\n| Layer | Attack Type | Examples | Cloudflare Protection |\n|-------|------------|----------|----------------------|\n| L3\u002F4 | Volumetric | SYN flood, UDP flood, DNS amplification | Network-layer DDoS managed rules |\n| L3\u002F4 | Protocol | Ping of Death, Smurf, IP fragmentation | Advanced TCP Protection |\n| L7 | Application | HTTP flood, Slowloris, cache busting | HTTP DDoS managed rules, WAF, Rate Limiting |\n| DNS | DNS-specific | DNS query flood, NXDOMAIN attack | Advanced DNS Protection |\n\n### Cloudflare Protection Stack\n\n```\nInternet Traffic\n     │\n     ▼\n┌─────────────────────────┐\n│  Cloudflare Edge (PoP)  │\n│  ┌───────────────────┐  │\n│  │ L3\u002F4 DDoS Mgd Rules│  │  ← Volumetric\u002FProtocol mitigation\n│  └───────────────────┘  │\n│  ┌───────────────────┐  │\n│  │ IP Access Rules    │  │  ← Country\u002FASN\u002FIP blocks\n│  └───────────────────┘  │\n│  ┌───────────────────┐  │\n│  │ Bot Management     │  │  ← Bot score, JS challenge\n│  └───────────────────┘  │\n│  ┌───────────────────┐  │\n│  │ WAF Managed Rules  │  │  ← OWASP, Cloudflare, Custom\n│  └───────────────────┘  │\n│  ┌───────────────────┐  │\n│  │ Rate Limiting      │  │  ← Request rate enforcement\n│  └───────────────────┘  │\n│  ┌───────────────────┐  │\n│  │ HTTP DDoS Mgd Rules│  │  ← L7 flood detection\n│  └───────────────────┘  │\n└─────────────────────────┘\n     │\n     ▼\n  Origin Server\n```\n\n## Workflow\n\n### Step 1: Onboard Domain to Cloudflare\n\n```bash\n# Add domain via API\ncurl -X POST \"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Fzones\" \\\n  -H \"Authorization: Bearer $CF_API_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  --data '{\n    \"name\": \"example.com\",\n    \"type\": \"full\",\n    \"plan\": {\"id\": \"enterprise\"}\n  }'\n\n# Update DNS records (proxy enabled for DDoS protection)\ncurl -X POST \"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Fzones\u002F$ZONE_ID\u002Fdns_records\" \\\n  -H \"Authorization: Bearer $CF_API_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  --data '{\n    \"type\": \"A\",\n    \"name\": \"example.com\",\n    \"content\": \"203.0.113.50\",\n    \"proxied\": true,\n    \"ttl\": 1\n  }'\n```\n\n### Step 2: Configure DDoS Managed Rulesets\n\n**HTTP DDoS Attack Protection override:**\n\n```bash\n# List HTTP DDoS managed ruleset\ncurl -X GET \"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Fzones\u002F$ZONE_ID\u002Frulesets\u002Fphases\u002Fddos_l7\u002Fentrypoint\" \\\n  -H \"Authorization: Bearer $CF_API_TOKEN\"\n\n# Override HTTP DDoS sensitivity and action\ncurl -X PUT \"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Fzones\u002F$ZONE_ID\u002Frulesets\u002Fphases\u002Fddos_l7\u002Fentrypoint\" \\\n  -H \"Authorization: Bearer $CF_API_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  --data '{\n    \"rules\": [{\n      \"action\": \"execute\",\n      \"action_parameters\": {\n        \"id\": \"4d21379b4f9f4bb088e0729962c8b3cf\",\n        \"overrides\": {\n          \"rules\": [{\n            \"id\": \"fdfdac75430c4c47a422bdc024aab531\",\n            \"sensitivity_level\": \"medium\",\n            \"action\": \"block\"\n          }],\n          \"sensitivity_level\": \"high\"\n        }\n      },\n      \"expression\": \"true\"\n    }]\n  }'\n```\n\n**Network-layer DDoS Protection override:**\n\n```bash\ncurl -X PUT \"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Faccounts\u002F$ACCOUNT_ID\u002Frulesets\u002Fphases\u002Fddos_l4\u002Fentrypoint\" \\\n  -H \"Authorization: Bearer $CF_API_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  --data '{\n    \"rules\": [{\n      \"action\": \"execute\",\n      \"action_parameters\": {\n        \"id\": \"3b64149bfa6e4220bbbc2bd6db7c867e\",\n        \"overrides\": {\n          \"sensitivity_level\": \"high\"\n        }\n      },\n      \"expression\": \"true\"\n    }]\n  }'\n```\n\n### Step 3: Configure Rate Limiting Rules\n\n```bash\n# Create rate limiting rule for login endpoint\ncurl -X POST \"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Fzones\u002F$ZONE_ID\u002Frulesets\u002Fphases\u002Fhttp_ratelimit\u002Fentrypoint\" \\\n  -H \"Authorization: Bearer $CF_API_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  --data '{\n    \"rules\": [\n      {\n        \"description\": \"Rate limit login attempts\",\n        \"expression\": \"(http.request.uri.path eq \\\"\u002Fapi\u002Flogin\\\")\",\n        \"action\": \"block\",\n        \"ratelimit\": {\n          \"characteristics\": [\"cf.colo.id\", \"ip.src\"],\n          \"period\": 60,\n          \"requests_per_period\": 10,\n          \"mitigation_timeout\": 600\n        }\n      },\n      {\n        \"description\": \"Rate limit API endpoints\",\n        \"expression\": \"(http.request.uri.path matches \\\"^\u002Fapi\u002F\\\")\",\n        \"action\": \"managed_challenge\",\n        \"ratelimit\": {\n          \"characteristics\": [\"cf.colo.id\", \"ip.src\"],\n          \"period\": 60,\n          \"requests_per_period\": 100,\n          \"mitigation_timeout\": 300\n        }\n      },\n      {\n        \"description\": \"Global rate limit per IP\",\n        \"expression\": \"true\",\n        \"action\": \"managed_challenge\",\n        \"ratelimit\": {\n          \"characteristics\": [\"ip.src\"],\n          \"period\": 10,\n          \"requests_per_period\": 50,\n          \"mitigation_timeout\": 60\n        }\n      }\n    ]\n  }'\n```\n\n### Step 4: Configure WAF Custom Rules\n\n```bash\n# Block known attack patterns\ncurl -X POST \"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Fzones\u002F$ZONE_ID\u002Frulesets\u002Fphases\u002Fhttp_request_firewall_custom\u002Fentrypoint\" \\\n  -H \"Authorization: Bearer $CF_API_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  --data '{\n    \"rules\": [\n      {\n        \"description\": \"Block requests from known bad ASNs\",\n        \"expression\": \"(ip.geoip.asnum in {12345 67890})\",\n        \"action\": \"block\"\n      },\n      {\n        \"description\": \"Challenge requests without User-Agent\",\n        \"expression\": \"(not http.user_agent ne \\\"\\\")\",\n        \"action\": \"managed_challenge\"\n      },\n      {\n        \"description\": \"Block high-risk countries for admin paths\",\n        \"expression\": \"(http.request.uri.path contains \\\"\u002Fadmin\\\" and not ip.geoip.country in {\\\"US\\\" \\\"CA\\\" \\\"GB\\\"})\",\n        \"action\": \"block\"\n      },\n      {\n        \"description\": \"Block oversized request bodies\",\n        \"expression\": \"(http.request.body.size gt 10000000)\",\n        \"action\": \"block\"\n      }\n    ]\n  }'\n```\n\n### Step 5: Configure Origin Protection\n\nEnsure the origin server only accepts traffic from Cloudflare:\n\n```bash\n# Get Cloudflare IP ranges\ncurl https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Fips\n\n# Configure origin server firewall (iptables)\n# Allow only Cloudflare IPs\nfor ip in $(curl -s https:\u002F\u002Fwww.cloudflare.com\u002Fips-v4); do\n    iptables -A INPUT -p tcp --dport 443 -s $ip -j ACCEPT\n    iptables -A INPUT -p tcp --dport 80 -s $ip -j ACCEPT\ndone\n\n# Drop all other HTTP\u002FHTTPS traffic\niptables -A INPUT -p tcp --dport 443 -j DROP\niptables -A INPUT -p tcp --dport 80 -j DROP\n\n# Enable Authenticated Origin Pulls (mutual TLS)\n# Download Cloudflare origin CA certificate\ncurl -o \u002Fetc\u002Fssl\u002Fcloudflare-origin-pull.pem \\\n  https:\u002F\u002Fdevelopers.cloudflare.com\u002Fssl\u002Fstatic\u002Fauthenticated_origin_pull_ca.pem\n\n# Nginx configuration for authenticated origin pulls\n# ssl_client_certificate \u002Fetc\u002Fssl\u002Fcloudflare-origin-pull.pem;\n# ssl_verify_client on;\n```\n\n### Step 6: Enable Under Attack Mode Automation\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"Auto-enable Cloudflare Under Attack Mode based on traffic anomalies.\"\"\"\n\nimport requests\nimport time\nimport sys\n\nCF_API_TOKEN = \"your-api-token\"\nZONE_ID = \"your-zone-id\"\nHEADERS = {\n    \"Authorization\": f\"Bearer {CF_API_TOKEN}\",\n    \"Content-Type\": \"application\u002Fjson\",\n}\nBASE_URL = f\"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Fzones\u002F{ZONE_ID}\"\n\nNORMAL_RPS_THRESHOLD = 5000  # Requests per second threshold\nCHECK_INTERVAL = 30  # Seconds between checks\n\n\ndef get_current_security_level():\n    \"\"\"Get current security level setting.\"\"\"\n    resp = requests.get(\n        f\"{BASE_URL}\u002Fsettings\u002Fsecurity_level\",\n        headers=HEADERS\n    )\n    return resp.json()[\"result\"][\"value\"]\n\n\ndef set_security_level(level: str):\n    \"\"\"Set security level (off, essentially_off, low, medium, high, under_attack).\"\"\"\n    resp = requests.patch(\n        f\"{BASE_URL}\u002Fsettings\u002Fsecurity_level\",\n        headers=HEADERS,\n        json={\"value\": level}\n    )\n    result = resp.json()\n    if result[\"success\"]:\n        print(f\"[+] Security level set to: {level}\")\n    else:\n        print(f\"[-] Failed to set security level: {result['errors']}\")\n    return result[\"success\"]\n\n\ndef get_traffic_analytics():\n    \"\"\"Get recent traffic data from Cloudflare analytics.\"\"\"\n    query = \"\"\"\n    query {\n      viewer {\n        zones(filter: {zoneTag: \"%s\"}) {\n          httpRequests1mGroups(limit: 1, orderBy: [datetime_DESC]) {\n            sum {\n              requests\n              threats\n            }\n            dimensions {\n              datetime\n            }\n          }\n        }\n      }\n    }\n    \"\"\" % ZONE_ID\n\n    resp = requests.post(\n        \"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Fgraphql\",\n        headers=HEADERS,\n        json={\"query\": query}\n    )\n    return resp.json()\n\n\ndef monitor_and_respond():\n    \"\"\"Monitor traffic and auto-enable under attack mode.\"\"\"\n    current_level = get_current_security_level()\n    print(f\"[*] Current security level: {current_level}\")\n    print(f\"[*] Monitoring traffic (threshold: {NORMAL_RPS_THRESHOLD} RPS)...\")\n\n    attack_mode_active = False\n    consecutive_normal = 0\n\n    while True:\n        try:\n            analytics = get_traffic_analytics()\n            zones = analytics.get(\"data\", {}).get(\"viewer\", {}).get(\"zones\", [])\n\n            if zones and zones[0].get(\"httpRequests1mGroups\"):\n                data = zones[0][\"httpRequests1mGroups\"][0][\"sum\"]\n                rps = data[\"requests\"] \u002F 60\n                threats = data[\"threats\"]\n\n                print(f\"[*] Current RPS: {rps:.0f}, Threats: {threats}\")\n\n                if rps > NORMAL_RPS_THRESHOLD and not attack_mode_active:\n                    print(f\"[!] Traffic spike detected: {rps:.0f} RPS\")\n                    set_security_level(\"under_attack\")\n                    attack_mode_active = True\n                    consecutive_normal = 0\n\n                elif rps \u003C= NORMAL_RPS_THRESHOLD and attack_mode_active:\n                    consecutive_normal += 1\n                    if consecutive_normal >= 5:\n                        print(\"[+] Traffic normalized, disabling under attack mode\")\n                        set_security_level(\"high\")\n                        attack_mode_active = False\n                        consecutive_normal = 0\n\n        except Exception as e:\n            print(f\"[-] Error: {e}\")\n\n        time.sleep(CHECK_INTERVAL)\n\n\nif __name__ == \"__main__\":\n    monitor_and_respond()\n```\n\n## Monitoring and Alerting\n\n### Cloudflare Dashboard Metrics\n\n- **Firewall Events** - View blocked requests, challenged requests, rate-limited requests\n- **DDoS Analytics** - Attack size, duration, type, and mitigation status\n- **Traffic Analytics** - Request volume, bandwidth, error rates by time\n- **Bot Analytics** - Bot score distribution, verified bots vs automated threats\n\n### Alert Configuration\n\n```bash\n# Create notification policy for DDoS attacks\ncurl -X POST \"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Faccounts\u002F$ACCOUNT_ID\u002Falerting\u002Fv3\u002Fpolicies\" \\\n  -H \"Authorization: Bearer $CF_API_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  --data '{\n    \"name\": \"DDoS Attack Alert\",\n    \"alert_type\": \"dos_attack_l7\",\n    \"enabled\": true,\n    \"mechanisms\": {\n      \"email\": [{\"id\": \"soc@example.com\"}],\n      \"webhooks\": [{\"id\": \"webhook-id\"}]\n    },\n    \"filters\": {\n      \"zones\": [\"'$ZONE_ID'\"]\n    }\n  }'\n```\n\n## Best Practices\n\n- **Proxy All DNS Records** - Ensure all A\u002FAAAA\u002FCNAME records pointing to origin are proxied (orange cloud)\n- **Hide Origin IP** - Never expose origin server IP; use Cloudflare Tunnel or restrict to Cloudflare IPs only\n- **Start in Log Mode** - Test DDoS rule overrides with \"Log\" action before switching to \"Block\"\n- **Layer Defense** - Combine managed rulesets, rate limiting, WAF rules, and Bot Management\n- **Tune Sensitivity** - Adjust DDoS rule sensitivity based on false positive rates in your traffic\n- **Cache Strategy** - Maximize cache hit ratio to reduce origin load during attacks\n- **Waiting Room** - Configure Cloudflare Waiting Room for critical pages during traffic surges\n- **Authenticated Origin** - Enable Authenticated Origin Pulls to prevent direct-to-origin attacks\n\n## References\n\n- [Cloudflare DDoS Protection Documentation](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fddos-protection\u002F)\n- [Cloudflare WAF Documentation](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fwaf\u002F)\n- [Cloudflare Rate Limiting](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fwaf\u002Frate-limiting-rules\u002F)\n- [Cloudflare IP Ranges](https:\u002F\u002Fwww.cloudflare.com\u002Fips\u002F)\n","# Implementing DDoS Mitigation with Cloudflare\n\n## Overview\n\nCloudflare provides multi-layer DDoS protection across its global network of over 300 data centers with 477+ Tbps of capacity. The platform protects against L3\u002F4 volumetric attacks (SYN floods, UDP amplification, DNS reflection), protocol attacks (Ping of Death, Smurf), and L7 application-layer attacks (HTTP floods, Slowloris, cache-busting). Cloudflare's autonomous detection systems identify and mitigate attacks within approximately 3 seconds using traffic profiling, machine learning, and adaptive rulesets. This skill covers configuring Cloudflare's DDoS protection stack including managed rulesets, WAF rules, rate limiting, Bot Management, and origin server hardening.\n\n\n## When to Use\n\n- When deploying or configuring implementing ddos mitigation with cloudflare capabilities in your environment\n- When establishing security controls aligned to compliance requirements\n- When building or improving security architecture for this domain\n- When conducting security assessments that require this implementation\n\n## Prerequisites\n\n- Cloudflare account (Pro plan minimum for WAF, Enterprise for Advanced DDoS)\n- Domain with DNS delegated to Cloudflare nameservers\n- Origin server IP address(es)\n- Understanding of normal traffic patterns and peak volumes\n- Cloudflare API token for automation\n\n## Core Concepts\n\n### DDoS Attack Categories\n\n| Layer | Attack Type | Examples | Cloudflare Protection |\n|-------|------------|----------|----------------------|\n| L3\u002F4 | Volumetric | SYN flood, UDP flood, DNS amplification | Network-layer DDoS managed rules |\n| L3\u002F4 | Protocol | Ping of Death, Smurf, IP fragmentation | Advanced TCP Protection |\n| L7 | Application | HTTP flood, Slowloris, cache busting | HTTP DDoS managed rules, WAF, Rate Limiting |\n| DNS | DNS-specific | DNS query flood, NXDOMAIN attack | Advanced DNS Protection |\n\n### Cloudflare Protection Stack\n\n```\nInternet Traffic\n     │\n     ▼\n┌─────────────────────────┐\n│  Cloudflare Edge (PoP)  │\n│  ┌───────────────────┐  │\n│  │ L3\u002F4 DDoS Mgd Rules│  │  ← Volumetric\u002FProtocol mitigation\n│  └───────────────────┘  │\n│  ┌───────────────────┐  │\n│  │ IP Access Rules    │  │  ← Country\u002FASN\u002FIP blocks\n│  └───────────────────┘  │\n│  ┌───────────────────┐  │\n│  │ Bot Management     │  │  ← Bot score, JS challenge\n│  └───────────────────┘  │\n│  ┌───────────────────┐  │\n│  │ WAF Managed Rules  │  │  ← OWASP, Cloudflare, Custom\n│  └───────────────────┘  │\n│  ┌───────────────────┐  │\n│  │ Rate Limiting      │  │  ← Request rate enforcement\n│  └───────────────────┘  │\n│  ┌───────────────────┐  │\n│  │ HTTP DDoS Mgd Rules│  │  ← L7 flood detection\n│  └───────────────────┘  │\n└─────────────────────────┘\n     │\n     ▼\n  Origin Server\n```\n\n## Workflow\n\n### Step 1: Onboard Domain to Cloudflare\n\n```bash\n# Add domain via API\ncurl -X POST \"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Fzones\" \\\n  -H \"Authorization: Bearer $CF_API_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  --data '{\n    \"name\": \"example.com\",\n    \"type\": \"full\",\n    \"plan\": {\"id\": \"enterprise\"}\n  }'\n\n# Update DNS records (proxy enabled for DDoS protection)\ncurl -X POST \"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Fzones\u002F$ZONE_ID\u002Fdns_records\" \\\n  -H \"Authorization: Bearer $CF_API_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  --data '{\n    \"type\": \"A\",\n    \"name\": \"example.com\",\n    \"content\": \"203.0.113.50\",\n    \"proxied\": true,\n    \"ttl\": 1\n  }'\n```\n\n### Step 2: Configure DDoS Managed Rulesets\n\n**HTTP DDoS Attack Protection override:**\n\n```bash\n# List HTTP DDoS managed ruleset\ncurl -X GET \"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Fzones\u002F$ZONE_ID\u002Frulesets\u002Fphases\u002Fddos_l7\u002Fentrypoint\" \\\n  -H \"Authorization: Bearer $CF_API_TOKEN\"\n\n# Override HTTP DDoS sensitivity and action\ncurl -X PUT \"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Fzones\u002F$ZONE_ID\u002Frulesets\u002Fphases\u002Fddos_l7\u002Fentrypoint\" \\\n  -H \"Authorization: Bearer $CF_API_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  --data '{\n    \"rules\": [{\n      \"action\": \"execute\",\n      \"action_parameters\": {\n        \"id\": \"4d21379b4f9f4bb088e0729962c8b3cf\",\n        \"overrides\": {\n          \"rules\": [{\n            \"id\": \"fdfdac75430c4c47a422bdc024aab531\",\n            \"sensitivity_level\": \"medium\",\n            \"action\": \"block\"\n          }],\n          \"sensitivity_level\": \"high\"\n        }\n      },\n      \"expression\": \"true\"\n    }]\n  }'\n```\n\n**Network-layer DDoS Protection override:**\n\n```bash\ncurl -X PUT \"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Faccounts\u002F$ACCOUNT_ID\u002Frulesets\u002Fphases\u002Fddos_l4\u002Fentrypoint\" \\\n  -H \"Authorization: Bearer $CF_API_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  --data '{\n    \"rules\": [{\n      \"action\": \"execute\",\n      \"action_parameters\": {\n        \"id\": \"3b64149bfa6e4220bbbc2bd6db7c867e\",\n        \"overrides\": {\n          \"sensitivity_level\": \"high\"\n        }\n      },\n      \"expression\": \"true\"\n    }]\n  }'\n```\n\n### Step 3: Configure Rate Limiting Rules\n\n```bash\n# Create rate limiting rule for login endpoint\ncurl -X POST \"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Fzones\u002F$ZONE_ID\u002Frulesets\u002Fphases\u002Fhttp_ratelimit\u002Fentrypoint\" \\\n  -H \"Authorization: Bearer $CF_API_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  --data '{\n    \"rules\": [\n      {\n        \"description\": \"Rate limit login attempts\",\n        \"expression\": \"(http.request.uri.path eq \\\"\u002Fapi\u002Flogin\\\")\",\n        \"action\": \"block\",\n        \"ratelimit\": {\n          \"characteristics\": [\"cf.colo.id\", \"ip.src\"],\n          \"period\": 60,\n          \"requests_per_period\": 10,\n          \"mitigation_timeout\": 600\n        }\n      },\n      {\n        \"description\": \"Rate limit API endpoints\",\n        \"expression\": \"(http.request.uri.path matches \\\"^\u002Fapi\u002F\\\")\",\n        \"action\": \"managed_challenge\",\n        \"ratelimit\": {\n          \"characteristics\": [\"cf.colo.id\", \"ip.src\"],\n          \"period\": 60,\n          \"requests_per_period\": 100,\n          \"mitigation_timeout\": 300\n        }\n      },\n      {\n        \"description\": \"Global rate limit per IP\",\n        \"expression\": \"true\",\n        \"action\": \"managed_challenge\",\n        \"ratelimit\": {\n          \"characteristics\": [\"ip.src\"],\n          \"period\": 10,\n          \"requests_per_period\": 50,\n          \"mitigation_timeout\": 60\n        }\n      }\n    ]\n  }'\n```\n\n### Step 4: Configure WAF Custom Rules\n\n```bash\n# Block known attack patterns\ncurl -X POST \"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Fzones\u002F$ZONE_ID\u002Frulesets\u002Fphases\u002Fhttp_request_firewall_custom\u002Fentrypoint\" \\\n  -H \"Authorization: Bearer $CF_API_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  --data '{\n    \"rules\": [\n      {\n        \"description\": \"Block requests from known bad ASNs\",\n        \"expression\": \"(ip.geoip.asnum in {12345 67890})\",\n        \"action\": \"block\"\n      },\n      {\n        \"description\": \"Challenge requests without User-Agent\",\n        \"expression\": \"(not http.user_agent ne \\\"\\\")\",\n        \"action\": \"managed_challenge\"\n      },\n      {\n        \"description\": \"Block high-risk countries for admin paths\",\n        \"expression\": \"(http.request.uri.path contains \\\"\u002Fadmin\\\" and not ip.geoip.country in {\\\"US\\\" \\\"CA\\\" \\\"GB\\\"})\",\n        \"action\": \"block\"\n      },\n      {\n        \"description\": \"Block oversized request bodies\",\n        \"expression\": \"(http.request.body.size gt 10000000)\",\n        \"action\": \"block\"\n      }\n    ]\n  }'\n```\n\n### Step 5: Configure Origin Protection\n\nEnsure the origin server only accepts traffic from Cloudflare:\n\n```bash\n# Get Cloudflare IP ranges\ncurl https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Fips\n\n# Configure origin server firewall (iptables)\n# Allow only Cloudflare IPs\nfor ip in $(curl -s https:\u002F\u002Fwww.cloudflare.com\u002Fips-v4); do\n    iptables -A INPUT -p tcp --dport 443 -s $ip -j ACCEPT\n    iptables -A INPUT -p tcp --dport 80 -s $ip -j ACCEPT\ndone\n\n# Drop all other HTTP\u002FHTTPS traffic\niptables -A INPUT -p tcp --dport 443 -j DROP\niptables -A INPUT -p tcp --dport 80 -j DROP\n\n# Enable Authenticated Origin Pulls (mutual TLS)\n# Download Cloudflare origin CA certificate\ncurl -o \u002Fetc\u002Fssl\u002Fcloudflare-origin-pull.pem \\\n  https:\u002F\u002Fdevelopers.cloudflare.com\u002Fssl\u002Fstatic\u002Fauthenticated_origin_pull_ca.pem\n\n# Nginx configuration for authenticated origin pulls\n# ssl_client_certificate \u002Fetc\u002Fssl\u002Fcloudflare-origin-pull.pem;\n# ssl_verify_client on;\n```\n\n### Step 6: Enable Under Attack Mode Automation\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"Auto-enable Cloudflare Under Attack Mode based on traffic anomalies.\"\"\"\n\nimport requests\nimport time\nimport sys\n\nCF_API_TOKEN = \"your-api-token\"\nZONE_ID = \"your-zone-id\"\nHEADERS = {\n    \"Authorization\": f\"Bearer {CF_API_TOKEN}\",\n    \"Content-Type\": \"application\u002Fjson\",\n}\nBASE_URL = f\"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Fzones\u002F{ZONE_ID}\"\n\nNORMAL_RPS_THRESHOLD = 5000  # Requests per second threshold\nCHECK_INTERVAL = 30  # Seconds between checks\n\n\ndef get_current_security_level():\n    \"\"\"Get current security level setting.\"\"\"\n    resp = requests.get(\n        f\"{BASE_URL}\u002Fsettings\u002Fsecurity_level\",\n        headers=HEADERS\n    )\n    return resp.json()[\"result\"][\"value\"]\n\n\ndef set_security_level(level: str):\n    \"\"\"Set security level (off, essentially_off, low, medium, high, under_attack).\"\"\"\n    resp = requests.patch(\n        f\"{BASE_URL}\u002Fsettings\u002Fsecurity_level\",\n        headers=HEADERS,\n        json={\"value\": level}\n    )\n    result = resp.json()\n    if result[\"success\"]:\n        print(f\"[+] Security level set to: {level}\")\n    else:\n        print(f\"[-] Failed to set security level: {result['errors']}\")\n    return result[\"success\"]\n\n\ndef get_traffic_analytics():\n    \"\"\"Get recent traffic data from Cloudflare analytics.\"\"\"\n    query = \"\"\"\n    query {\n      viewer {\n        zones(filter: {zoneTag: \"%s\"}) {\n          httpRequests1mGroups(limit: 1, orderBy: [datetime_DESC]) {\n            sum {\n              requests\n              threats\n            }\n            dimensions {\n              datetime\n            }\n          }\n        }\n      }\n    }\n    \"\"\" % ZONE_ID\n\n    resp = requests.post(\n        \"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Fgraphql\",\n        headers=HEADERS,\n        json={\"query\": query}\n    )\n    return resp.json()\n\n\ndef monitor_and_respond():\n    \"\"\"Monitor traffic and auto-enable under attack mode.\"\"\"\n    current_level = get_current_security_level()\n    print(f\"[*] Current security level: {current_level}\")\n    print(f\"[*] Monitoring traffic (threshold: {NORMAL_RPS_THRESHOLD} RPS)...\")\n\n    attack_mode_active = False\n    consecutive_normal = 0\n\n    while True:\n        try:\n            analytics = get_traffic_analytics()\n            zones = analytics.get(\"data\", {}).get(\"viewer\", {}).get(\"zones\", [])\n\n            if zones and zones[0].get(\"httpRequests1mGroups\"):\n                data = zones[0][\"httpRequests1mGroups\"][0][\"sum\"]\n                rps = data[\"requests\"] \u002F 60\n                threats = data[\"threats\"]\n\n                print(f\"[*] Current RPS: {rps:.0f}, Threats: {threats}\")\n\n                if rps > NORMAL_RPS_THRESHOLD and not attack_mode_active:\n                    print(f\"[!] Traffic spike detected: {rps:.0f} RPS\")\n                    set_security_level(\"under_attack\")\n                    attack_mode_active = True\n                    consecutive_normal = 0\n\n                elif rps \u003C= NORMAL_RPS_THRESHOLD and attack_mode_active:\n                    consecutive_normal += 1\n                    if consecutive_normal >= 5:\n                        print(\"[+] Traffic normalized, disabling under attack mode\")\n                        set_security_level(\"high\")\n                        attack_mode_active = False\n                        consecutive_normal = 0\n\n        except Exception as e:\n            print(f\"[-] Error: {e}\")\n\n        time.sleep(CHECK_INTERVAL)\n\n\nif __name__ == \"__main__\":\n    monitor_and_respond()\n```\n\n## Monitoring and Alerting\n\n### Cloudflare Dashboard Metrics\n\n- **Firewall Events** - View blocked requests, challenged requests, rate-limited requests\n- **DDoS Analytics** - Attack size, duration, type, and mitigation status\n- **Traffic Analytics** - Request volume, bandwidth, error rates by time\n- **Bot Analytics** - Bot score distribution, verified bots vs automated threats\n\n### Alert Configuration\n\n```bash\n# Create notification policy for DDoS attacks\ncurl -X POST \"https:\u002F\u002Fapi.cloudflare.com\u002Fclient\u002Fv4\u002Faccounts\u002F$ACCOUNT_ID\u002Falerting\u002Fv3\u002Fpolicies\" \\\n  -H \"Authorization: Bearer $CF_API_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  --data '{\n    \"name\": \"DDoS Attack Alert\",\n    \"alert_type\": \"dos_attack_l7\",\n    \"enabled\": true,\n    \"mechanisms\": {\n      \"email\": [{\"id\": \"soc@example.com\"}],\n      \"webhooks\": [{\"id\": \"webhook-id\"}]\n    },\n    \"filters\": {\n      \"zones\": [\"'$ZONE_ID'\"]\n    }\n  }'\n```\n\n## Best Practices\n\n- **Proxy All DNS Records** - Ensure all A\u002FAAAA\u002FCNAME records pointing to origin are proxied (orange cloud)\n- **Hide Origin IP** - Never expose origin server IP; use Cloudflare Tunnel or restrict to Cloudflare IPs only\n- **Start in Log Mode** - Test DDoS rule overrides with \"Log\" action before switching to \"Block\"\n- **Layer Defense** - Combine managed rulesets, rate limiting, WAF rules, and Bot Management\n- **Tune Sensitivity** - Adjust DDoS rule sensitivity based on false positive rates in your traffic\n- **Cache Strategy** - Maximize cache hit ratio to reduce origin load during attacks\n- **Waiting Room** - Configure Cloudflare Waiting Room for critical pages during traffic surges\n- **Authenticated Origin** - Enable Authenticated Origin Pulls to prevent direct-to-origin attacks\n\n## References\n\n- [Cloudflare DDoS Protection Documentation](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fddos-protection\u002F)\n- [Cloudflare WAF Documentation](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fwaf\u002F)\n- [Cloudflare Rate Limiting](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fwaf\u002Frate-limiting-rules\u002F)\n- [Cloudflare IP Ranges](https:\u002F\u002Fwww.cloudflare.com\u002Fips\u002F)\n",{"name":5,"tags":43,"author":45,"domain":37,"license":14,"version":46,"subdomain":34,"description":7},[21,19,33,44,35,32,31,23,34],"rate-limiting","mahipal","1.0","master","3f5d983eb4ef375b749adcd6b07ec03bd82ae8a8","_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-ddos-mitigation-with-cloudflare",0,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills","https:\u002F\u002Fgithub.com\u002Fmicsapp","2026-03-20 11:24:18",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add micsapp\u002Fmicstec-skills --skill implementing-ddos-mitigation-with-cloudflare",{"tool":60,"command":61},"bunx","bunx skills add micsapp\u002Fmicstec-skills --skill implementing-ddos-mitigation-with-cloudflare",{"tool":63,"command":64},"pnpm","pnpm dlx skills add micsapp\u002Fmicstec-skills --skill implementing-ddos-mitigation-with-cloudflare","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-ddos-mitigation-with-cloudflare\u002FSKILL.md",true,[68,73,79],{"path":69,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-ddos-mitigation-with-cloudflare\u002FLICENSE",{"path":74,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fapi-reference.md","REFERENCE","参考文档",1588,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-ddos-mitigation-with-cloudflare\u002Freferences\u002Fapi-reference.md",{"path":80,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":84},"scripts\u002Fagent.py","SCRIPT","脚本",4714,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fimplementing-ddos-mitigation-with-cloudflare\u002Fscripts\u002Fagent.py",[86,124,153,174,194,219],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":90,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":103,"publishedAt":38},"01M6HBTJ02FXBFG9NYEHHYAP52","azure-apim-architecture","Analyzes and explains Azure API Management architecture decisions for enterprise API marketplace implementations using VNet Internal mode, Front Door, hybrid authentication, and multi-environment strategies. Use when discussing APIM component selection, network topology, cost optimization, or comparing alternatives like workspaces vs instances, VNet Internal vs External mode, or Front Door vs Application Gateway.","MIT","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fazure-apim-architecture\u002FSKILL.md",[93,98],{"categoryNo":94,"categoryName":95,"taxonomyType":96,"taxonomyTypeDesc":97},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",{"categoryNo":99,"categoryName":100,"taxonomyType":101,"taxonomyTypeDesc":102},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123],"architecture","azure","azure apim architecture","component","authentication","gateway","topology","Optimization","network","api","team","environment","multi-environment","workspaces","instances","selection","strategies","azure api management","mode","for",{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":90,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":138,"publishedAt":38},"01M6HBT7J4H082JEEA670B3EQ9","apiops-deployment","Guides deployment of Azure API Management infrastructure using Infrastructure as Code (Bicep\u002FTerraform), CI\u002FCD pipelines (GitHub Actions\u002FAzure DevOps), and APIOps workflows. Use when deploying APIM, creating pipelines, or implementing dev→test→prod promotion strategies.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapiops-deployment\u002FSKILL.md",[130,131,134,137],{"categoryNo":94,"categoryName":95,"taxonomyType":96,"taxonomyTypeDesc":97},{"categoryNo":132,"categoryName":133,"taxonomyType":96,"taxonomyTypeDesc":97},"01JBSEEDCAT000000000000011","运维与部署",{"categoryNo":135,"categoryName":136,"taxonomyType":96,"taxonomyTypeDesc":97},"01JBSEEDCAT000000000000023","Skill与智能体开发",{"categoryNo":99,"categoryName":100,"taxonomyType":101,"taxonomyTypeDesc":102},[139,140,141,142,105,143,144,145,146,147,148,149,113,114,120,150,151,121,152,18],"deployment","apiops deployment","workflows","azure devops","infrastructure","code","infrastructure as code","actions","ci","github actions","github-actions","as","guides","CI\u002FCD",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":90,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":160,"publishedAt":38},"01M6HBT2HEA23THNE9E00GYQBE","apim-policy-authoring","Creates production-ready Azure API Management policy XML for authentication (OAuth 2.0, JWT validation, subscription keys), rate limiting, CORS configuration, error handling, and API transformations. Use when implementing API security, access control, or request\u002Fresponse processing logic.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapim-policy-authoring\u002FSKILL.md",[159],{"categoryNo":94,"categoryName":95,"taxonomyType":96,"taxonomyTypeDesc":97},[161,162,163,164,105,108,113,114,165,166,167,168,169,170,171,121,172,173,18,123],"policy","authoring","apim policy authoring","security","access","use","ready","api security","Access Control","error","processing","cors configuration","production-ready",{"skillNo":175,"name":176,"nameZh":6,"description":177,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":90,"licenseFileUrl":6,"sourceHtmlUrl":178,"categories":179,"keywords":182,"publishedAt":38},"01M6HBSY65SB29J9WE9KYD0K6T","api-security-review","Reviews Azure API Management configurations for security vulnerabilities, OWASP API Security Top 10 compliance, VNet Internal mode validation, Private Link verification, and Azure Security Benchmark alignment. Use when performing security audits, pre-deployment validation, or compliance reviews.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapi-security-review\u002FSKILL.md",[180,181],{"categoryNo":94,"categoryName":95,"taxonomyType":96,"taxonomyTypeDesc":97},{"categoryNo":99,"categoryName":100,"taxonomyType":101,"taxonomyTypeDesc":102},[183,164,184,113,168,185,105,139,186,187,188,189,114,190,121,191,192,193,122,123],"review","security review","api security review","benchmark","verification","owasp","owasp-api","alignment","azure security","reviews","top",{"skillNo":195,"name":196,"nameZh":6,"description":197,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":90,"licenseFileUrl":6,"sourceHtmlUrl":198,"categories":199,"keywords":200,"publishedAt":38},"01M6HBSRW4PDFE6K4F8JYPZQ05","jira-cli","Interact with Jira from the command line to create, list, view, edit, and transition issues, manage sprints and epics, and perform common Jira workflows. Use when the user asks about Jira tasks, tickets, issues, sprints, or needs to manage project work items.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fawesome-copilot-agents\u002Fskills\u002Fjira-cli\u002FSKILL.md",[],[201,202,203,141,204,205,206,207,113,208,209,210,211,212,213,214,215,216,217,218],"cli","jira","jira cli","init","tasks","create","issues","common","work","command","edit","list","view","project","project work","token","line","sprints",{"skillNo":220,"name":221,"nameZh":6,"description":222,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":90,"licenseFileUrl":6,"sourceHtmlUrl":223,"categories":224,"keywords":225,"publishedAt":38},"01M6HBSNS3JHMW603G47TWE31H","calculator","Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents. Use when the user asks to calculate, compute, or evaluate math expressions, or when precise decimal arithmetic is needed to avoid floating-point errors.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fawesome-copilot-agents\u002Fskills\u002Fcalculator\u002FSKILL.md",[],[221,226,227,228,229,230,231,166,232,233],"npm","js","calculate","node","math","user","compute","errors"]