Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

mention-gate

Skill by sonichi

Mention Gate turns on or off whether a message that tags the owner counts as a mention of the bot. When on, those messages are ingested as tasks and written to an audit log. It is for owners who run the bot in channels that require a mention.

  • Score 71
  • 413 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install mention-gate

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sonichi/sutando /tmp/sutando && mkdir -p ~/.claude/skills && cp -r /tmp/sutando/skills/mention-gate ~/.claude/skills/mention-gate

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install mention-gate in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Mention Gate is a skill that turns on or off whether a message tagging the owner counts as a mention of the bot. When off, which is the default, owner-tagged messages in requireMention channels never reach the fleet. When on, those messages from anyone other than the owner are ingested as tasks and recorded in a durable audit log.

The gate is stored per host under the workspace state folder, so the command must be run on each host. Free-listen channels are unaffected, and the gate can expire automatically after 30 minutes, 2 hours or 1 day. The Discord bridge is wired to the gate, while ag2space and Matrix rooms are not yet. It suits owners who want to review exactly which tagged messages a toggle admitted.

Written from the project's SKILL.md and checked against it.

What it can do

  • On and off toggleTurns the owner-tag mention gate on or off with the on and off commands.
  • Timed on modeSets the gate on with --for, expiring back to off after 30m, 2h or 1d.
  • Status reportShows the current gate state and how many messages it pulled in.
  • Audit logAppends a line per admitted message with channel, author, message ID and first 120 characters.
  • Fail-closed stateMissing, malformed or unreadable state is treated as off, so ingestion never surprises.

What you need

  • Python 3
  • A Discord bridge with access.json owner settings
  • A workspace with a state folder

Try asking

  • Turn on the mention gate for 2 hours on this host
  • Show the mention gate status and how many messages it pulled in
  • Turn the mention gate off to restore default behavior

Good to know

  • The setting applies only to the host where the command is run, with no fleet-wide sync.
  • Only the Discord bridge is wired; ag2space and Matrix rooms are not affected yet.
  • Auto-expiry is limited to 30m, 2h or 1d.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/mention-gate/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to mention-gate

All alternatives →

Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number

mention-gate: common questions

Does the gate change how messages from the owner are handled?

No. Messages from the owner follow the existing rules, and messages that mention the bot are ingested in both states.

What happens if the gate state file is broken?

Every failure reads as off, so the ordinary requireMention rejection stays in place and nothing is ingested by surprise.

Are unauthorized senders written to the audit log?

No. An audit row is written only after the task file is saved and later access checks pass, so rejected senders leave no row.

How do I install mention-gate?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is mention-gate free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is mention-gate safe to use?

It scores 71 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to mention-gate?

Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.

mention-gate Install

Add to stack

Loading.