crowdsec-skill: Instructions file for Claude Code

CLAUDE.md

crowdsec-skill CLAUDE.md is an instructions file for Claude Code from crowdsecurity/crowdsec-skill. It costs 2,407 tokens per session, scanned B, original, MIT.

Authoring rules for a CrowdSec-related AI skill, covering response style, uncertainty, task planning, and the structure of skill content. CrowdSec is a security tool that helps detect and block abusive activity.

In plain words
What is it for?
Use them when writing or maintaining CrowdSec skill instructions, documentation, and responses that follow the project's content conventions.
Why use it?
They set consistent limits on how the agent should answer and document work. They also require the agent to acknowledge uncertainty and present possible approaches before significant tasks.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md.

This is crowdsecurity/crowdsec-skill's own configuration. It tells Claude Code how to work on crowdsec-skill itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything crowdsec-skill configures →

Reuse

Borrowing it

Nothing to install: this file belongs to crowdsecurity/crowdsec-skill. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/crowdsecurity/crowdsec-skill/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/crowdsecurity/crowdsec-skill

Made for: Claude Code.

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-skill CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/crowdsecurity/crowdsec-skill/claude-md/github.svg)](https://agentmods.dev/instructions/crowdsecurity/crowdsec-skill/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/crowdsecurity/crowdsec-skill/claude-md"><img src="https://agentmods.dev/badge/instructions/crowdsecurity/crowdsec-skill/claude-md/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-skill CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/crowdsecurity/crowdsec-skill/claude-md"><img src="https://agentmods.dev/badge/instructions/crowdsecurity/crowdsec-skill/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,407 This file is loaded in full into every session.
When invoked 2,407 The same file — it is already loaded in full.
Security scan B 2 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.02407 $0.02407
Opus 5.5 $0.00963 $0.00963
Sonnet 5.5 $0.00481 $0.00481
Haiku 4.5 $0.00241 $0.00241

Measured 1mo ago against content hash 15264e026589, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

crowdsec-skill CLAUDE.md scanned grade B with 2 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 1mo ago.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

invocation differs (`sudo cscli …` → `docker exec <name> …` → `kubectl exec -n <ns> <pod> -- …`).

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

HTTPS, not systemd/docker/k8s — so no per-platform prefixes), and recipes are `curl` the skill runs
CLAUDE.md · 147 lines

How it starts

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

CLAUDE.md

Conventions for authoring this skill. This governs how skill content is written and validated.

General rules

Never open responses with filler phrases like "Great question!", "Of course!", "Certainly!", or similar warmups. Start every response with the actual answer. No preamble, no acknowledgment of the question.

Match response length to task complexity. Simple questions get direct, short answers. Complex tasks get full, detailed responses. Never pad responses with restatements of the question or closing sentences that repeat what you just said.

Before any significant task, show me 2-3 ways you could approach this work. Wait for me to choose before proceeding.

If you are uncertain about any fact, statistic, date, or piece of technical information: say so explicitly before including it. Never fill gaps in your knowledge with plausible-sounding information. When in doubt, say so.

Writing style

  • Be concise. Technical documentation, not an essay. Favor tables, command recipes, and short imperative sentences. Cut throat-clearing, restated context, and filler.
  • Write only the final, correct information. Never record self-corrections, dead ends, or "actually, it turned out…" narration discovered while authoring. The reader gets the conclusion, not the journey. This applies equally to inline expected-output hints: state the correct outcome, never the wrong-then-fixed version. Do not annotate verification inline in prose (no "(verified)", "Verified on…", "verified gotcha"). Record verification in the per-file verified: frontmatter block instead — see Verification tracking below.
  • Keep SKILL.md a router. It is an index and decision layer that points to references/. Depth and recipes belong in the reference docs, not in SKILL.md.
  • Cover every environment. Each command or recipe carries its systemd / docker / k8s variant, matching the existing convention. If some command or recipe is irrelevant to some variant it should be noted.
  • Version-gate in one place. Minimum engine versions and feature prerequisites live in SKILL.md § Step 1.6 — Feature compatibility, one row per feature. Reference docs describe behavior and point there; they do not sprinkle "1.8+" through the prose. Adding a version-gated feature means adding a row in the same change.
  • Anchor to canonical docs. Each reference doc cites the upstream CrowdSec docs URL it derives from. Claims trace to canonical documentation, not to memory.

Read the full file on GitHub · 147 lines

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. 1mo ago Changed · +6 tokens per session 15264e026589
  2. 1mo ago Changed · +5 lines · +189 tokens per session e07813d46211
  3. 1mo ago First seen · 142 lines · 2,212 tokens per session scan B ca993336782b

Subscribe to this mod's changes

crowdsec-skill CLAUDE.md is an instructions file published in the GitHub repository crowdsecurity/crowdsec-skill (26 stars, last pushed today), licensed MIT. It adds 2,407 tokens to every session, about $0.0096 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories