feat: add /cantinasec:klaxon — brand monitoring setup + demo#1
Merged
Conversation
Adds a new slash command + skill that walks a Cantina engineer through installing, configuring, and demoing klaxon, our self-hosted social monitoring and brand protection tool (a code-first alternative to ZeroFox Social Media Protection and Akamai Brand Guardian). Detection only — deliberately no automated takedown / remediation pipeline. Source repo: https://github.com/aidan269/klaxon Files: plugins/cantinasec/commands/klaxon.md # the slash command plugins/cantinasec/skills/klaxon-setup/SKILL.md # the walkthrough The command is a thin wrapper that delegates to the skill, matching the axios.md / litellm.md pattern already in this plugin. The skill covers: - clone + venv install - interactive YAML config fill (org, brand, aliases, domains, legit handles, executives, keywords, brand-logo paths) — one question at a time - optional Slack wiring with `alerts test` to verify - the recommended two-pane "catch" demo that fires fixture findings into a local HTTP receiver (examples/catch.py) instead of touching real Slack - real `socmon scan` against Reddit + RSS feeds - continuous `socmon run` for production - state-persistence semantics (observations / findings / watermarks / kv_state) - cadence floor table and dedup-safety note Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Adds a new cantinasec slash command (/cantinasec:klaxon) and accompanying klaxon-setup skill that walks an engineer through installing, configuring, and demoing the klaxon self-hosted brand monitoring tool.
Changes:
- Introduces a new command wrapper
plugins/cantinasec/commands/klaxon.mdto invoke theklaxon-setupskill. - Adds a comprehensive interactive setup + demo walkthrough in
plugins/cantinasec/skills/klaxon-setup/SKILL.md.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| plugins/cantinasec/skills/klaxon-setup/SKILL.md | Adds the end-to-end klaxon install/config/demo walkthrough and reference material. |
| plugins/cantinasec/commands/klaxon.md | Adds the /cantinasec:klaxon command wrapper to run the new skill. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+179
to
+183
| ## CLI surface reference | ||
|
|
||
| | Subcommand | Purpose | | ||
| |------------|---------| | ||
| | `socmon init` | Write starter `socmon.yaml` from the example template | |
Comment on lines
+234
to
+239
| ## Cadence guidance | ||
|
|
||
| | Cadence | Status | Notes | | ||
| |----------|--------------------------|----------------------------------------------------------------| | ||
| | ≥ 5 min | Production sweet spot | Well under Reddit's anonymous ~60 req/min limit | | ||
| | 1–4 min | Demo / incident-response | Reddit holds; some RSS feeds will start 429ing on tight cycles | |
Comment on lines
+56
to
+67
| ### 2. Verify Python 3.11+ | ||
|
|
||
| ```bash | ||
| python3.11 --version || brew install python@3.11 # macOS | ||
| # Linux: use the system package manager | ||
| ``` | ||
|
|
||
| ### 3. Create venv and install | ||
|
|
||
| ```bash | ||
| python3.11 -m venv .venv | ||
| .venv/bin/pip install -e ".[dev,slack]" |
| ```bash | ||
| python3.11 -m venv .venv | ||
| .venv/bin/pip install -e ".[dev,slack]" | ||
| .venv/bin/pytest -q # confirm 139+ tests pass before continuing |
| @@ -0,0 +1,10 @@ | |||
| --- | |||
| description: Set up and demo klaxon - Cantina's self-hosted social monitoring and brand protection tool | |||
| allowed-tools: Bash, Grep, Glob, Read, Edit, Write, WebFetch | |||
Three legitimate Copilot review comments + the README line Samara is blocked on. All in one follow-up commit so the PR is fully website-ready the moment it merges. - SKILL.md: normalize on `python3` with a version check instead of hardcoding `python3.11` everywhere. Users on stock 3.12+ won't have a `python3.11` shim; we fall back to that name only when needed. - SKILL.md: drop the "139+ tests" magic number from the install verification step. It's a moving target as klaxon grows; "test suite passes" is the durable phrasing. - commands/klaxon.md: trim `allowed-tools` to least-privilege. Removed `WebFetch` (no part of the walkthrough fetches URLs). Kept `Edit` and `Write` because the interactive YAML-fill step actually modifies socmon.yaml. - README.md: added `/cantinasec:klaxon` to the Commands list so the website copy lives in the PR. Format mirrors the axios/litellm entries already there. Two other Copilot comments (claimed both Markdown tables in SKILL.md use `||` delimiters) were hallucinated — the tables use proper single-pipe syntax. Not changed. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
mario-eth
approved these changes
May 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a
/cantinasec:klaxonslash command + aklaxon-setupskill that walk a Cantina engineer through installing, configuring, and demoing klaxon — our self-hosted social monitoring + brand protection tool. Code-first alternative to ZeroFox Social Media Protection / Akamai Brand Guardian. Detection only; no automated takedown.Files added under
plugins/cantinasec/:commands/klaxon.md— slash-command wrapper (matches the axios.md / litellm.md shape already in this plugin)skills/klaxon-setup/SKILL.md— the actual walkthroughWhat the skill covers
socmon initto write the startersocmon.yamlsocmon alerts test --channel slack-brandto verifypython examples/catch.pyin one pane,socmon demo --watch --findings-only --catch --interval-seconds 5in another. Shows alerts firing into a local HTTP receiver without touching real Slacksocmon scan --window-hours 168 --findings-onlyagainst Reddit + configured RSS feedssocmon runfor production (APScheduler under the hood, graceful Ctrl-C / SIGTERM)Test plan
/plugin marketplace add cantinasec/pluginsafter this lands/cantinasec:klaxonshows up alongside/cantinasec:axiosand/cantinasec:litellm/cantinasec:klaxonloads theklaxon-setupskill and starts the walkthrough🤖 Generated with Claude Code