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

apply-fixtures.json

View on GitHub
{
  "notes": "Fake values only. API responses and the configuration helper are stubbed.",
  "scenarios": [
    {
      "name": "self-hosted-bot",
      "inputs": {
        "entered_url_new": "https://mattermost.example.test/",
        "site_url_ready": "ready",
        "bot_token": "fakeMattermostBotToken_123456",
        "callback_url": "http://host.docker.internal:3000/webhook/mattermost/",
        "owner_username": "owner.test"
      },
      "exec": [
        {
          "match": "discover-server.mjs",
          "stdout": "{\"discovery\":\"none\",\"base_url\":\"none\",\"config_access\":\"unavailable\",\"mattermost_container\":\"none\"}"
        },
        {
          "match": "select-server.mjs enter",
          "stdout": "{\"base_url\":\"https://mattermost.example.test\",\"config_access\":\"unavailable\",\"mattermost_container\":\"none\"}"
        },
        {
          "match": "/api/v4/config/client?format=old",
          "stdout": "https://mattermost.example.test\n\n"
        },
        {
          "match": "scripts/configure.ts",
          "stdout": "{\"id\":\"bbbbbbbbbbbbbbbbbbbbbbbbbb\",\"username\":\"nanoclaw\"}"
        },
        {
          "match": "/api/v4/users/username/owner.test",
          "stdout": "{\"id\":\"oooooooooooooooooooooooooo\"}"
        },
        {
          "match": "/api/v4/channels/direct",
          "stdout": "mattermost:dddddddddddddddddddddddddd"
        },
        {
          "match": "scripts/verify-runtime.ts",
          "stdout": "Mattermost runtime verification passed."
        }
      ]
    },
    {
      "name": "detected-but-enter-another",
      "inputs": {
        "server_choice": "enter",
        "entered_url": "https://other.example.test",
        "site_url_ready": "ready",
        "bot_token": "fakeMattermostBotToken_123456",
        "callback_url": "https://nanoclaw.example.test",
        "owner_username": "owner.test"
      },
      "exec": [
        {
          "match": "discover-server.mjs",
          "stdout": "{\"discovery\":\"found\",\"base_url\":\"http://localhost:8065\",\"config_access\":\"host\",\"mattermost_container\":\"none\"}"
        },
        {
          "match": "select-server.mjs enter",
          "stdout": "{\"base_url\":\"https://other.example.test\",\"config_access\":\"unavailable\",\"mattermost_container\":\"none\"}"
        },
        {
          "match": "/api/v4/config/client?format=old",
          "stdout": "https://other.example.test\n\n"
        },
        {
          "match": "scripts/configure.ts",
          "stdout": "{\"id\":\"bbbbbbbbbbbbbbbbbbbbbbbbbb\",\"username\":\"nanoclaw\"}"
        },
        {
          "match": "/api/v4/users/username/owner.test",
          "stdout": "{\"id\":\"oooooooooooooooooooooooooo\"}"
        },
        {
          "match": "/api/v4/channels/direct",
          "stdout": "mattermost:dddddddddddddddddddddddddd"
        },
        {
          "match": "scripts/verify-runtime.ts",
          "stdout": "Mattermost runtime verification passed."
        }
      ]
    },
    {
      "name": "detected-host-mmctl",
      "inputs": {
        "server_choice": "use",
        "site_url_action": "set",
        "bot_token": "fakeMattermostBotToken_123456",
        "callback_url": "http://localhost:3000/webhook/mattermost/",
        "owner_username": "owner.test"
      },
      "exec": [
        {
          "match": "discover-server.mjs",
          "stdout": "{\"discovery\":\"found\",\"base_url\":\"http://localhost:8065\",\"config_access\":\"host\",\"mattermost_container\":\"none\"}"
        },
        {
          "match": "select-server.mjs use",
          "stdout": "{\"base_url\":\"http://localhost:8065\",\"config_access\":\"host\",\"mattermost_container\":\"none\"}"
        },
        {
          "match": "/api/v4/config/client?format=old",
          "stdout": "http://localhost:8065\n\n"
        },
        {
          "match": "scripts/configure.ts",
          "stdout": "{\"id\":\"bbbbbbbbbbbbbbbbbbbbbbbbbb\",\"username\":\"nanoclaw\"}"
        },
        {
          "match": "/api/v4/users/username/owner.test",
          "stdout": "{\"id\":\"oooooooooooooooooooooooooo\"}"
        },
        {
          "match": "/api/v4/channels/direct",
          "stdout": "mattermost:dddddddddddddddddddddddddd"
        },
        {
          "match": "scripts/verify-runtime.ts",
          "stdout": "Mattermost runtime verification passed."
        }
      ]
    },
    {
      "name": "detected-local-server",
      "inputs": {
        "server_choice": "use",
        "site_url_action_docker": "set",
        "bot_token": "fakeMattermostBotToken_123456",
        "callback_url": "http://host.docker.internal:3000/webhook/mattermost/",
        "owner_username": "owner.test"
      },
      "exec": [
        {
          "match": "discover-server.mjs",
          "stdout": "{\"discovery\":\"found\",\"base_url\":\"http://localhost:8065\",\"config_access\":\"docker\",\"mattermost_container\":\"nanoclaw-mattermost-mattermost-1\"}"
        },
        {
          "match": "select-server.mjs use",
          "stdout": "{\"base_url\":\"http://localhost:8065\",\"config_access\":\"docker\",\"mattermost_container\":\"nanoclaw-mattermost-mattermost-1\"}"
        },
        {
          "match": "/api/v4/config/client?format=old",
          "stdout": "http://localhost:8065\n\n"
        },
        {
          "match": "scripts/configure.ts",
          "stdout": "{\"id\":\"bbbbbbbbbbbbbbbbbbbbbbbbbb\",\"username\":\"nanoclaw\"}"
        },
        {
          "match": "/api/v4/users/username/owner.test",
          "stdout": "{\"id\":\"oooooooooooooooooooooooooo\"}"
        },
        {
          "match": "/api/v4/channels/direct",
          "stdout": "mattermost:dddddddddddddddddddddddddd"
        },
        {
          "match": "scripts/verify-runtime.ts",
          "stdout": "Mattermost runtime verification passed."
        }
      ]
    }
  ]
}
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