Skip to content

nanocoai/nanoclaw / .claude/skills/add-mattermost

add-mattermost

Flagged

Add a self-hosted or cloud Mattermost bot channel through the Chat SDK bridge, reusing a healthy server when available and linking to official server setup guidance when needed.

FileKindSize
REMOVE.mdmarkdown1.5 KB
SERVER_SETUP.mdmarkdown1.3 KB
SKILL.mdskill md16.8 KB
apply-fixtures.jsonconfig5.8 KB
scripts/configure.tsscript3.2 KB
scripts/discover-server.mjsscript3.8 KB
scripts/read-response.mjsscript1.0 KB
scripts/remove-base-url.mjsexecutablescript335 B
scripts/remove-config.mjsexecutablescript381 B
scripts/select-server.mjsscript1020 B
scripts/verify-runtime.tsscript9.8 KB
# Remove Mattermost

Every step is idempotent and safe to re-run.

## 1. Remove the registration

Delete `import './mattermost.js';` from `src/channels/index.ts`, skipping it if
it is already absent.

## 2. Remove the channel files

```bash
rm -f src/channels/mattermost.ts src/channels/mattermost.test.ts src/channels/mattermost-registration.test.ts
rm -rf src/channels/mattermost-adapter
```

## 3. Remove credentials

Remove `MATTERMOST_BASE_URL`, `MATTERMOST_BOT_TOKEN`,
`MATTERMOST_CALLBACK_URL`, and `MATTERMOST_CALLBACK_SECRET` from `.env`.

## 4. Remove direct dependencies

Check whether any remaining channel still imports `ws`:

```bash
grep -rl "require('ws')\|from 'ws'" src/channels
```

The adapter removed in step 2 was the only trunk consumer, so if the grep
matches nothing, remove the dependencies:

```bash
pnpm uninstall ws @types/ws
```

## 5. Legacy NanoClaw evaluation server

Current NanoClaw setup does not create or manage a Mattermost server. Older
versions could create one at `.nanoclaw/mattermost/compose.yml`. If that file
exists, it is deliberately not removed automatically because its volumes can
contain Mattermost data. Stopping it keeps that data:

```bash
docker compose -f .nanoclaw/mattermost/compose.yml down
```

Only when the operator explicitly confirms the Mattermost database and uploads
should be erased, add `-v` to that command to delete the volumes as well. Also
delete `.nanoclaw/mattermost/` afterwards if the stack is gone for good.

## 6. Rebuild and restart

```bash
pnpm run build
bash setup/lib/restart.sh
```
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall