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.
This plugin bundles two 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 thecsclicommands, 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 (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) |
The skill loads automatically once installed. Just talk to your agent about CrowdSec.
Naming: the marketplace is
crowdsecurity, the plugin inside it iscrowdsec, and the plugin ships two skills —crowdsecandcrowdsec-service-api.
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 from the
latest release
and upload it in the web skill uploader.
Or directly with skills.sh
npx skills add crowdsecurity/crowdsec-skillOnce 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)
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.
Both skills are backed by 37 reference documents, each 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 |
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.
- CrowdSec: https://www.crowdsec.net
- Documentation: https://docs.crowdsec.net
- Hub: https://hub.crowdsec.net
- Console: https://app.crowdsec.net
MIT — see LICENSE.