# Pm Rocket Chat

> Rocket.Chat connector knowledge and safe action guide.

- Skill: `polymetrics-ai/pm-rocket-chat` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx get-skill add polymetrics-ai/pm-rocket-chat`
- Raw SKILL.md: https://api.skillmd.com/api/skills/polymetrics-ai/pm-rocket-chat/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: polymetrics-ai (https://skillmd.com/u/polymetrics-ai)
- Updated: 2026-11-24
- Page: https://skillmd.com/skills/polymetrics-ai/pm-rocket-chat

---


# pm-rocket-chat

## Purpose

Reads Rocket.Chat users, public channels, private groups, direct messages, and rooms through the REST API.

## Icon

- id: rocket-chat
- asset: icons/rocket-chat.svg
- source: official
- review_status: official_verified
- review_url: https://developer.rocket.chat/apidocs

## Capabilities

- check=true catalog=true read=true write=false query=false
- Integration type: api

## Authentication

- Use pm credentials add with --from-env or --value-stdin for secret fields.

## Configuration

- base_url (required)
- fields
- mode
- query
- room_id
- updated_since
- auth_token (secret) (required)
- user_id (secret) (required)

## ETL Streams

- users:
  - primary key: id
  - cursor: updated_at
  - fields: emails(array), id(string), name(string), status(string), stream(string), updated_at(string), username(string)
- channels:
  - primary key: id
  - cursor: updated_at
  - fields: fname(string), id(string), msgs(integer), name(string), stream(string), updated_at(string)
- groups:
  - primary key: id
  - cursor: updated_at
  - fields: fname(string), id(string), msgs(integer), name(string), stream(string), updated_at(string)
- direct_messages:
  - primary key: id
  - cursor: updated_at
  - fields: id(string), msgs(integer), stream(string), updated_at(string), usernames(array)
- rooms:
  - primary key: id
  - cursor: updated_at
  - fields: id(string), name(string), stream(string), type(string), updated_at(string)

## Sync Modes

- ETL sync modes: full_refresh_append, full_refresh_overwrite, full_refresh_overwrite_deduped

## Security

- read risk: external Rocket.Chat API read of workspace users, rooms, and messages metadata
- Never pass secret values in chat, shell arguments, logs, docs, or JSON output.

## Commands

### Inspect as a manual

```bash
pm connectors inspect rocket-chat
```

### Inspect as structured JSON

```bash
pm connectors inspect rocket-chat --json
```

## Agent Rules

- Run pm connectors inspect rocket-chat before creating credentials or plans.
- Use --json only when the caller needs structured output; use the manual for human-readable guidance.
- Never ask the user to paste secret values into chat.

