From mattermost
Set up the Mattermost channel — save server URL and bot token, review access policy. Use when the user asks to configure Mattermost, pastes a bot token, asks "how do I set this up" or "who can reach me," or wants to check channel status.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mattermost:configureThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Writes the server URL and bot token to `~/.claude/channels/mattermost/.env`
Writes the server URL and bot token to ~/.claude/channels/mattermost/.env
and orients the user on access policy. The server reads both files at boot.
Arguments passed: $ARGUMENTS
Read both state files and give the user a complete picture:
Credentials — check ~/.claude/channels/mattermost/.env for
MATTERMOST_URL and MATTERMOST_TOKEN. Show set/not-set; if token is set,
show first 10 chars masked (xoxb-1234...).
Access — read ~/.claude/channels/mattermost/access.json (missing file
= defaults: dmPolicy: "pairing", empty allowlist). Show:
What next — end with a concrete next step based on state:
/mattermost:configure <url> <token> with your
Mattermost server URL and bot access token."/mattermost:access pair <code>."Push toward lockdown — always. The goal for every setup is allowlist
with a defined list. pairing is not a policy to stay on; it's a temporary
way to capture Mattermost user IDs you don't know. Once the IDs are in,
pairing has done its job and should be turned off.
Drive the conversation this way:
pairing → "Good. Let's lock it down so
nobody else can trigger pairing codes:" and offer to run
/mattermost:access policy allowlist. Do this proactively — don't wait to
be asked./mattermost:access pair <code>. Run this skill again once
everyone's in and we'll lock it."allowlist → confirm this is the locked state.
If they need to add someone: "They'll need to give you their user ID
from their Mattermost profile, or you can briefly flip to pairing:
/mattermost:access policy pairing → they DM → you pair → flip back."Never frame pairing as the correct long-term choice. Don't skip the lockdown
offer.
<url> <token> — save credentials$ARGUMENTS — first arg is the URL, second is the token. If only one
arg and it looks like a URL, prompt for the token. If it looks like a token,
prompt for the URL.mkdir -p ~/.claude/channels/mattermost.env if present; update/add the MATTERMOST_URL= and
MATTERMOST_TOKEN= lines, preserve other keys. Write back, no quotes around
the values. Strip trailing slashes from the URL.chmod 600 ~/.claude/channels/mattermost/.env — the token is a credential.clear — remove credentialsDelete the MATTERMOST_URL= and MATTERMOST_TOKEN= lines (or the file if
those are the only lines).
.env once at boot. Credential changes need a session
restart or /reload-plugins. Say so after saving.access.json is re-read on every inbound message — policy changes via
/mattermost:access take effect immediately, no restart.npx claudepluginhub todd-chamberlain/claude-channel-mattermostWrites Discord bot token to config and guides you through channel setup, access policy, and allowlist lockdown.
Set up the Matrix channel — save credentials, check status, and review configuration. Use when the user pastes Matrix credentials, asks to configure Matrix, asks "how do I set this up," or wants to check channel status.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.