Skip to content
Projects

About

Official CrowdSec skill for Claude Code & Codex: install, configure, operate and debug the engine, bouncers and WAF/AppSec.

Developer Tools

How these counts are measured

34 stars4 Forks +2 in 24h

Measured star growth

in 24h
+2
in 7 days
+2
in 15 days
+3
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original
CrowdSec

CrowdSec Skill for Claude Code & Codex

The official CrowdSec plugin for AI coding agents. It bundles two Agent Skills that let Claude Code, Codex, and Claude.ai install, configure, operate, and debug CrowdSec — the engine, cscli, bouncers, and the WAF/AppSec component — across bare-metal/systemd, Docker, pfSense/OPNsense, and Kubernetes/Helm.

Version License: MIT Agent Skills CrowdSec


This plugin bundles three Agent Skills:

  • crowdsec — a hands-on CrowdSec operator. Stand up an engine, wire a bouncer, enable the WAF, or figure out why nothing's getting blocked. It knows the cscli commands, the config layout, the failure modes, and the safe way through each across bare-metal/systemd, Docker, pfSense/OPNsense and Kubernetes/Helm.
  • crowdsec-service-api — drives the premium Console Service API (cloud) on your behalf with your API key: create and populate blocklists/allowlists, wire firewall/appliance integrations, pull remediation ROI metrics, and manage org-level decisions — every state change gated behind an explicit confirmation.
  • crowdsec-hub-authoring — writes, tests and reviews items for crowdsecurity/hub: parsers, scenarios, whitelists/postoverflows, collections, contexts, AppSec rules and their cscli hubtest tests, following the conventions maintainers enforce in review.

What it covers

crowdsec (operational):

Area Covered
Install bare-metal/systemd · Docker · Kubernetes/Helm · pfSense/OPNsense · Console enrollment
Bouncers firewall (iptables/nftables/ipset) · nginx · traefik · caddy · apache · and more
WAF / AppSec deploy · configure · troubleshoot the AppSec component · bot detection
Hub install collections/parsers/scenarios · update · debug
Configure acquisition · profiles & ban durations · notifications · allowlists
Operate health checks & smoke tests · upgrades & rollback · multi-server / remote LAPI / mTLS
Debug logs not parsing · no alerts firing · bouncer not blocking · specific errors

crowdsec-service-api (premium cloud API):

Area Covered
Blocklists create · add/remove/bulk IPs (with expiry) · download · share across orgs · subscribe engines/bouncers
Allowlists create · items with expiry · subscribe by engine/tag/org
Integrations firewall/appliance feeds (Palo Alto, Fortinet, Cisco, F5, Sophos, pfSense/OPNsense…) · paginated Basic-auth content pull
Metrics remediation ROI (traffic dropped, bytes/egress saved, attacks prevented)
Decisions org-level decisions + aggregated (read/manage)

crowdsec-hub-authoring (hub contributions):

Area Covered
Parsers stages s00/s01/s02 · grok / UnmarshalJSON · source_ip · timestamps
Scenarios leaky/trigger buckets · capacity / leakspeed / blackhole · labels & taxonomy
False positives app whitelists · postoverflows
Packaging collections · contexts · same-name .md docs · acquisition examples
AppSec rules WAF rules · vpatch-CVE-… virtual patches · nuclei tests
Testing cscli hubtest · parser.assert / scenario.assert · CI gates
Review PR review checklist · naming · why hub PRs get rejected

Install

The skill loads automatically once installed. Just talk to your agent about CrowdSec.

Naming: the marketplace is crowdsecurity, the plugin inside it is crowdsec, and the plugin ships three skills — crowdsec, crowdsec-service-api and crowdsec-hub-authoring.

On Claude Code

/plugin marketplace add crowdsecurity/crowdsec-skill
/plugin install crowdsec@crowdsecurity

Update later with:

/plugin marketplace update crowdsecurity

On Codex: install the skill with:

skill-installer crowdsecurity/crowdsec-skill

On Claude.ai (web)

Download crowdsec-skill-vX.Y.Z.zip (and, for hub contributors, crowdsec-hub-authoring-skill-vX.Y.Z.zip) from the latest release and upload it in the web skill uploader.

Or directly with skills.sh

npx skills add  crowdsecurity/crowdsec-skill

Example prompts

Once installed, the agent picks the skill up whenever your prompt involves CrowdSec:

  • "Install CrowdSec on this server and set up the nginx bouncer."
  • "Deploy CrowdSec in my Kubernetes cluster and enroll it in the Console."
  • "Enable the WAF / AppSec on my server."
  • "CrowdSec doesn't detect attacks on my nginx server, why?"
  • "There's a decision for this IP but it's not being blocked."
  • "Migrate my fail2ban jails to CrowdSec."
  • "Create a Console blocklist and push these IPs from my SIEM to it." (Service API)
  • "Wire a Palo Alto external dynamic list to my CrowdSec blocklist." (Service API)
  • "Show me the remediation ROI metrics for last month." (Service API)

What this skill does not do

This is an operational skill. It deploys, configures, and debugs CrowdSec — it does not author detection content. Writing a parser, scenario, or WAF (AppSec) rule is out of scope.

For authoring, head to the CrowdSec Hub and the detection-engineering docs.

Reference docs

The three skills are backed by 45 reference documents, most of them verified against a real CrowdSec environment before it ships:

Area Covers
install/ bare-metal · Docker · Kubernetes · pfSense · Console enrollment
configure/ acquisition · hub · profiles · notifications · allowlists · bouncers
appsec/ WAF deploy · configure · troubleshoot · bot detection
operate/ health checks · upgrades · multi-server
debug/ common errors & triage · symptoms: parsing, no alerts, not blocked
migrate/ from fail2ban
Service API authentication · blocklists · allowlists · integrations · metrics · decisions

Contributing

Issues and PRs welcome — see CONTRIBUTING.md. Improvements to the reference docs and new environment coverage are especially appreciated. If you see anything missing or wrong, don't hesitate to open a PR.

Links

License

MIT — see LICENSE.

Explore related projects

Loading…