waf-setup
Skill by sickn33
Configures Web Application Firewalls to protect web applications from common attacks. It covers AWS WAF and Cloudflare WAF, with guidance for OWASP Top 10 rule configuration. It is for teams deploying or tuning WAF protection.
Install waf-setup
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/waf-setup ~/.claude/skills/waf-setupRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/waf-setup ~/.gemini/antigravity-cli/skills/waf-setupAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The waf-setup skill gives an AI assistant guidance for deploying and tuning Web Application Firewalls. For AWS WAF, it shows how to create a Web ACL with AWS managed rule groups for common rules, SQL injection and known bad inputs, plus a rate-based rule, a geo block and a user-agent block. It also covers associating the Web ACL with an ALB or API Gateway, and an AWS WAF Terraform example. For Cloudflare WAF, it covers custom rulesets and rate limiting through the API and Terraform.
The source stresses a careful rollout. It says to verify the owned account or zone, save the current configuration, test in staging, and start with Count overrides before blocking. It also states that WAFs do not replace application authorization, CSRF defenses, parameterized queries or dependency fixes. It is aimed at teams protecting public-facing web applications and APIs.
Written from the project's SKILL.md and checked against it.
What it can do
- AWS WAF Web ACLCreates a regional Web ACL with AWS managed rule groups and visibility settings.
- AWS WAF rule examplesShows rules for rate limiting, geo blocking and blocking a user-agent string.
- ALB and API Gateway associationAssociates an AWS WAF Web ACL with an Application Load Balancer or API Gateway stage.
- AWS WAF TerraformProvides a Terraform example for a WAFv2 Web ACL and its ALB association.
- Cloudflare custom rulesetsCreates zone rulesets for custom WAF rules via the Cloudflare API and Terraform.
- Cloudflare rate limitingConfigures a rate limiting ruleset for API paths through the Cloudflare API.
What you need
- AWS account for AWS WAF, or Cloudflare account for Cloudflare WAF
- Web application behind a load balancer or reverse proxy
- Nginx with ModSecurity module for self-hosted WAF
- Access to application logs to tune rules and find false positives
Try asking
- Write an AWS WAFv2 Web ACL with managed rules for my ALB
- Create Cloudflare custom WAF rules that rate limit my /api/ paths
- Explain how to tune AWS managed rules with Count overrides before blocking
Good to know
- Docs-only import; helper scripts and templates are not bundled.
- Apply guidance only within authorized scope and test destructive steps in non-production first.
- Cloudflare cf.threat_score now always returns zero, so old score thresholds should not be used.
- Rate-limit options depend on the Cloudflare plan, and geo blocks need business authorization.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/waf-setup/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md12 KB -
references/details.md8 KB
Alternatives to waf-setup
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
waf-setup: common questions
Does a WAF replace application security fixes?
No. The source says WAFs do not replace application authorization, CSRF defenses, parameterized queries or dependency fixes.
Should I enable all blocking rules at once?
No. The source says blocking examples are desired end states, and rules should start with Count overrides and be promoted after staging tests.
Which WAF platforms does this skill cover?
The source covers AWS WAF, including Terraform, and Cloudflare WAF through its API and Terraform. It mentions Nginx with ModSecurity for self-hosted WAFs.
How do I install waf-setup?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is waf-setup free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is waf-setup safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to waf-setup?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
