Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,22 @@ jobs:
npm install -g @anthropic-ai/claude-code
claude plugin validate .

- name: Build web-uploadable skill archive
run: |
# claude.ai's web skill uploader needs SKILL.md at the archive root,
# so zip the *contents* of crowdsec/ (not the folder itself).
VERSION="${{ steps.ver.outputs.version }}"
( cd crowdsec && zip -r "../crowdsec-skill-v${VERSION}.zip" . )

- name: Attach archive to the release
if: github.event_name == 'release'
env:
GH_TOKEN: ${{ github.token }}
run: |
VERSION="${{ steps.ver.outputs.version }}"
gh release upload "${{ github.event.release.tag_name }}" \
"crowdsec-skill-v${VERSION}.zip" --clobber

- name: Commit bumped files
run: |
git config user.name "github-actions[bot]"
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ Update later with:
/plugin install crowdsec@claude-community
```

**On Claude.ai (web):** download `crowdsec-skill-vX.Y.Z.zip` from the
[latest release](https://github.com/crowdsecurity/crowdsec-skill/releases/latest)
and upload it in the web skill uploader. (Use that asset — its `SKILL.md` sits
at the archive root, which the uploader requires.)

## 💬 Example prompts

Once installed, Claude picks the skill up whenever your prompt involves CrowdSec:
Expand Down
Loading