360 Secure SkillHub
360 安全技能中心

GroupMe CLI

该 Skill 说明如何使用 groupme CLI:从源码安装并配置访问令牌后,可列出群组、按数量或时间分页读取群消息、向群或指定用户发送消息与私信、查看私信会话和当前用户,支持模糊群名与 JSON 输出。

cuuush
cuuush
热度 27.58
最近更新 2026-05-11 17:26:21
分类:协作依赖:代码执行 / 第三方 API应用场景:工作流 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add groupme-cli
Metadata
name
groupme-cli
description
Send and read GroupMe messages via the groupme CLI. Use when asked to list groups, read messages, send messages to groups, or manage GroupMe direct messages from the command line.
metadata
{"openclaw":{"requires":{"bins":["groupme"],"env":["GROUPME_TOKEN"]},"primaryEnv":"GROUPME_TOKEN","install":[{"id":"source","kind":"source","repo":"https://github.com/cuuush/groupme-cli","bins":["groupme"],"label":"Install groupme-cli (from source)","notes":"Bundles to a single JS file via esbuild (git clone + npm install + npm run bundle + npm link). No separate build step needed — esbuild produces a self-contained dist/groupme-cli.js. Review package.json scripts before running on sensitive systems."}]}}

GroupMe CLI

Send and read GroupMe messages from the command line using the groupme CLI.

Setup

Installation

git clone https://github.com/cuuush/groupme-cli
cd groupme-cli
npm install
npm run bundle
npm link

Note: npm run bundle uses esbuild to produce a single self-contained file at dist/groupme-cli.js. No separate TypeScript compilation step needed — just install, bundle, and link.

Authentication

Get your GroupMe API token from dev.groupme.com → Access Token, then configure:

groupme config --token YOUR_ACCESS_TOKEN

Or use the GROUPME_TOKEN environment variable, or pass --token to any command.

Core Commands

List Groups

groupme groups
groupme groups --json

Read Messages

# Latest messages from a group
groupme read --group GROUP_ID

# More messages
groupme read --group GROUP_ID --limit 50

# Paginate older messages
groupme read --group GROUP_ID --before MESSAGE_ID

# JSON output
groupme read --group GROUP_ID --json

Send a Message

groupme send --group GROUP_ID --message "Hello!"

Direct Messages

# Read DMs
groupme dm-read --user USER_ID

# Send a DM
groupme dm --user USER_ID --message "Hey!"

List DM Conversations

groupme chats
groupme chats --page 2 --per-page 10

Current User Info

groupme me

Fuzzy Group Search

Groups support fuzzy name matching — you can use partial names when referencing groups in commands.

Global Options

  • --token <token> — Override configured token
  • --json — Machine-readable JSON output
  • --help — Show help

Tips

  • Run groupme groups --json to get GROUP_IDs for use in other commands
  • Use --json output to pipe into other tools or for scripting
  • Config is stored at ~/.config/groupme/config.json