crowdsec-hub-authoring

crowdsec-hub-authoring is a skill for Claude Code from crowdsecurity/crowdsec-skill. It costs 138 tokens per session (769 once invoked), scanned A, original, MIT.

A guide for creating and reviewing CrowdSec Hub items, which are shared security detection and protection rules. It covers log parsers, attack-detection scenarios, allowlists, collections, web-application-firewall rules, documentation, and Hub tests.

In plain words
What is it for?
Use it to add or review log parsers, detection scenarios, allowlists, collections, WAF rules, virtual patches, documentation, and automated tests for the CrowdSec Hub.
Why use it?
It explains the repository rules and review expectations so contributions are less likely to fail its checks or be rejected. It also helps distinguish writing Hub content from troubleshooting a running CrowdSec installation.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the crowdsec plugin — 3 skills shipped together

Good fit Use it to add or review log parsers, detection scenarios, allowlists, collections, WAF rules, virtual patches, documentation, and automated tests for the CrowdSec Hub.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/crowdsecurity/crowdsec-skill/crowdsec-hub-authoring
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add crowdsecurity/crowdsec-skill --skill crowdsec-hub-authoring
Clone the repo
git clone --depth 1 https://github.com/crowdsecurity/crowdsec-skill

Made for: Claude Code.

Or install crowdsec, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for crowdsec-hub-authoring

README.md
[![agentmods](https://agentmods.dev/badge/skills/crowdsecurity/crowdsec-skill/crowdsec-hub-authoring/github.svg)](https://agentmods.dev/skills/crowdsecurity/crowdsec-skill/crowdsec-hub-authoring)
Your own site
<a href="https://agentmods.dev/skills/crowdsecurity/crowdsec-skill/crowdsec-hub-authoring"><img src="https://agentmods.dev/badge/skills/crowdsecurity/crowdsec-skill/crowdsec-hub-authoring/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for crowdsec-hub-authoring

Your own site · 80×15
<a href="https://agentmods.dev/skills/crowdsecurity/crowdsec-skill/crowdsec-hub-authoring"><img src="https://agentmods.dev/badge/skills/crowdsecurity/crowdsec-skill/crowdsec-hub-authoring.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 138 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 769 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00138 $0.00769
Opus 5.5 $0.00055 $0.00308
Sonnet 5.5 $0.00028 $0.00154
Haiku 4.5 $0.00014 $0.00077

Measured today against content hash d706fcc59ded, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

crowdsec-hub-authoring scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugin/skills/crowdsec-hub-authoring/SKILL.md · 38 lines

How it starts

The opening of the file, as written. The whole thing — 38 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CrowdSec hub authoring

Writing and reviewing items for crowdsecurity/hub. Distilled from the CrowdSec docs, the hub's CI and lint code, and maintainer review comments on merged and closed hub PRs.

Every #N in this skill and its references is a crowdsecurity/hub pull request (gh pr view N --repo crowdsecurity/hub), cited as the evidence for a rule.

For installing, configuring or debugging a running CrowdSec, use the crowdsec skill.

Route by task

Task / cue Read
"contribute to the hub", "open a hub PR", repo layout, naming, what gets rejected, CI references/overview.md
"write a parser", "new log format", grok, UnmarshalJSON, source_ip, timestamps references/parsers.md
"write a scenario", capacity / leakspeed / blackhole, labels, behavior, MITRE references/scenarios.md
"false positive in app X — fix it in the hub", app whitelist, postoverflow references/whitelists-postoverflows.md
collection, context, item .md, acquisition example references/collections-and-docs.md
cscli hubtest, asserts, test fails in CI, running tests without root references/testing.md
WAF rule, vpatch-CVE-…, nuclei test references/appsec-rules.md
"review PR #N", self-review before opening a PR references/review-checklist.md

Non-negotiables

  • Search the hub and open PRs first — extend an existing parser/scenario rather than adding a second one.
  • Author dir = name prefix = author:; never the crowdsecurity/ namespace for external items; items can't be renamed.
  • Parsers: filter on evt.Parsed.program, apply_on: message, real peer as source_ip (or the last X-Forwarded-For entry with lowered scenario confidence + proxy requirement in the .md, never private-IP trust logic), anchored patterns around client-controlled text.
  • Every item has tests (generated asserts, private IPs, scenario tests that actually overflow) and a same-name .md.
  • No debug: true, no YAML anchors, no .index.json / version bumps (CI does it).
  • Prove review findings with cscli hubtest or cscli explain on a crafted line before reporting them.

Read the full file on GitHub · 38 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed d706fcc59ded
  2. 4d ago First seen · 38 lines · 138 tokens per session scan A 55144d6e0838

Subscribe to this mod's changes

crowdsec-hub-authoring is a skill published in the GitHub repository crowdsecurity/crowdsec-skill (34 stars, last pushed today), licensed MIT. It adds 138 tokens to every session and 769 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-01.

Related

crowdsec-hub-authoring compared with skills from other repositories

crowdsec-hub-authoring next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
crowdsec-hub-authoringcrowdsecurity/crowdsec-skillSkill34todayMITA138Claude Code
security-expertpersonamanagmentlayer/pclSkill471mo agoApache-2.0A66Claude Code
ellmos-securityellmos-ai/skillsSkill102d agoMITA127Claude Code, Codex
dependency-checkNovaCode37/claude-security-skillsSkill121mo agoMITA81Claude Code
prompt-injection-testerNovaCode37/claude-security-skillsSkill121mo agoMITA84Claude Code
cors-auditorNovaCode37/claude-security-skillsSkill121mo agoMITA89Claude Code
http-sec-auditNovaCode37/claude-security-skillsSkill121mo agoMITA101Claude Code