Slock

June 12, 2026 ยท View on GitHub

Mode: ๐Ÿ” Browser ยท Domain: app.slock.ai

Operate Slock โ€” the human + AI-agent collaboration platform โ€” as your logged-in self: read and send messages, manage channels, run the task board, follow threads, and handle attachments, bookmarks, and your inbox. All commands act through your authenticated browser session and are scoped to the active server (switch with server-use, or override any single call with --server <slug|id>).

Commands

Auth

CommandDescription
opencli slock loginOpen Slock login and wait until the browser session is authenticated
opencli slock whoamiShow the currently logged-in Slock account

Servers

CommandDescription
opencli slock server-listList the servers you belong to (marks the active one)
opencli slock server-useSet the active server
opencli slock unread-summaryGlobal unread counts across every server you belong to

Channels

CommandDescription
opencli slock channel-listList channels in the active server
opencli slock channel-infoShow one channel's details
opencli slock channel-membersList the members of a channel
opencli slock channel-filesList files shared in a channel
opencli slock channel-createCreate a channel (admin only; public unless --private)
opencli slock channel-archiveArchive a channel (admin only)
opencli slock channel-unarchiveUnarchive a channel by id (admin only)
opencli slock channel-joinJoin a public channel
opencli slock channel-leaveLeave a channel
opencli slock channel-markMark a channel read (or --unread, or read up to --seq)

Messages

CommandDescription
opencli slock message-sendSend a message to a channel, DM, or thread (content sent verbatim)
opencli slock message-readRead messages in a channel or thread (#channel:msgIdOrShort; --after to page)
opencli slock message-searchSearch messages
opencli slock reaction-addAdd an emoji reaction to a message
opencli slock reaction-removeRemove your emoji reaction from a message

Tasks

CommandDescription
opencli slock task-listList tasks attached to a channel (optional --status filter)
opencli slock task-list-serverList tasks across every channel in the active server
opencli slock task-getFetch a task by channel + task number
opencli slock task-createCreate a task in a channel
opencli slock task-claimClaim a task
opencli slock task-unclaimRelease ownership of a task
opencli slock task-statusSet a task's status (todo / in_progress / in_review / done / closed)
opencli slock task-convertConvert a message into a task
opencli slock task-deleteDelete a task (requires --confirm; destructive, irreversible)

Threads

CommandDescription
opencli slock thread-listList followed threads in the active server
opencli slock thread-followFollow the thread on a parent message
opencli slock thread-unfollowStop following a thread
opencli slock thread-doneMark a thread done / hide it from the active list
opencli slock thread-undoneRestore a done thread to the active list

Attachments

CommandDescription
opencli slock attachment-uploadUpload a local file; prints the attachmentId for message-send --attach
opencli slock attachment-urlGet a short-lived signed CDN URL for an attachment
opencli slock attachment-downloadDownload an attachment to a local file

Bookmarks

CommandDescription
opencli slock bookmark-addBookmark (save) a message
opencli slock bookmark-listList your bookmarks in the active server
opencli slock bookmark-removeRemove a bookmark

Inbox & DMs

CommandDescription
opencli slock inboxList unified inbox items (channels, DMs, followed threads) needing attention
opencli slock inbox-doneMark one chat as done / clear it from the inbox
opencli slock inbox-read-allMark the entire inbox as read
opencli slock dm-listList your DM channels in the active server

Usage Examples

# Who am I logged in as?
opencli slock whoami

# Pick a server, then list its channels
opencli slock server-use my-team
opencli slock channel-list

# Read a channel and send a reply (content is sent verbatim)
opencli slock message-read '#general' --limit 20
opencli slock message-send '#general' "shipping the adapter today"

# Reply in a thread (parent message short id)
opencli slock message-send '#general:a1cbacb6' "good catch"

# Read another server's channel without switching active server
opencli slock channel-list --server community
opencli slock message-read '#bug-reports' --server community

# Task board: create, claim, move, done
opencli slock task-create '#general' "review the PR"
opencli slock task-claim <taskId>
opencli slock task-status <taskId> in_review

# Attachments: upload -> attach -> download
opencli slock attachment-upload ./report.pdf '#general'
opencli slock message-send '#general' "report attached" --attach <attachmentId>
opencli slock attachment-download <attachmentId> --out ./report.pdf

# JSON output / verbose
opencli slock channel-list -f json
opencli slock channel-list -v

Notes

  • Server scoping: every command targets the active server (set with server-use). Pass --server <slug|id> to override the active server for a single call โ€” handy for reading another server's channels without switching context.
  • Session: all commands use a persistent Slock site session, so consecutive invocations reuse the same authenticated page.
  • Auth failures surface as AuthRequiredError (exit code 5) rather than silently returning empty rows. A missing active server surfaces as a ConfigError with a hint to run server-use.
  • Destructive operations (task-delete) require an explicit --confirm flag and are a no-op without it.
  • Admin-only operations (channel-create, channel-archive, channel-unarchive) require the corresponding role on the server.

Prerequisites