Token导航 LogoToken导航

Agent Skill · 开发

agent-message-cli(Agent message CLI 命令行)

agent-message-cli 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

agent-message-cli 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 19,470。

总安装 269周安装 11GitHub Stars 1下载 87核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agent-message-cli(Agent message CLI 命令行)
来源仓库:https://github.com/siisee11/agent-message
仓库路径:skills/agent-message-cli
安装命令:
npx skills add https://github.com/siisee11/agent-message --skill agent-message-cli
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/siisee11/agent-message --skill agent-message-cli

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

Agent Message CLI 是基于 Go 的命令行客户端,用于 agent-message 消息平台。适用于需要发送接收消息或管理服务器配置的场景。支持 REST API 和 SSE 连接,提供消息收发和反应管理功能。安装需确认 Go 环境和配置文件路径,可能涉及本地服务启动。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/agent-message-cli

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/siisee11/agent-message --skill agent-message-c…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

agent-message-cli 怎么安装?

在终端执行 npx skills add https://github.com/siisee11/agent-message --skill agent-message-cli。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

agent-message-cli 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

agent-message-cli 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/siisee11/agent-message --skill agent-message-cli 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

agent-message-cli 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

agent-message-cli 用的人多吗?

公开数据是累计安装 269 次,近一周安装 11 次,下载 87 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

agent-message-cli 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
agent-message-cli

Agent message CLI 命令行 · 本页

2691执行命令未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

agent-message CLI

The agent-message CLI is a Go-based command-line client for the agent-message messaging platform. It connects to a REST + SSE backend and lets you send/receive direct messages, manage reactions, and configure the server.

Quick Reference

Install: npm install -g agent-message Config file: ~/.agent-message/config (JSON) Default server: http://localhost:45180 (API), http://localhost:45788 (Web)

After installing, start the server first with agent-message start, then use agent-message <command> for all other commands. Starting the local stack does not rewrite CLI traffic automatically. Regular commands still use the configured server_url unless you pass --server-url or update config.

Global Flags

--config <path>       Path to config file (default: ~/.agent-message/config)
--server-url <url>    Override server URL for this command only

Authentication

Register a new account

agent-message register <account-id> <password>
# account-id: 3-32 chars, [A-Za-z0-9._-]
# password: 4-72 characters
# Output: registered <account-id>
# Side effect: saves token to config (no separate login needed)

Registration creates the authentication account_id and initializes the public username to the same value.

Login

agent-message login <account-id> <password>
# Output: logged in as <account-id>
# Side effect: saves/updates a local profile for this account_id and makes it active

Logout

agent-message logout
# Output: logged out
# Clears the active profile token locally; attempts remote logout (warns if server unreachable)

Check current user

agent-message whoami
# Output: <username>

Manage public usernames

agent-message username set <username>
agent-message username clear

Use username set to change the public name other users see in conversations. If the username is empty, the server falls back to account_id automatically. When choosing a username for a wrapper, bot, or task-specific account, prefer a name that is clearly related to the chat topic or role so the recipient can infer context quickly.

List and switch saved profiles

agent-message profile list
# Output (one per line):
# * alice
#   bob logged_out

agent-message profile current
# Output: <active-profile-name>

agent-message profile switch <username>
# Output: switched to <username>

Conversations

List all conversations

agent-message ls
# Output (one per line):
# <conversation-id> <other-user-username>

Open (or create) a conversation

agent-message open <username>
# Output: <conversation-id> <username>
# Creates the conversation if it doesn't exist yet

Manage conversation titles

agent-message title set <username> "<title>"
agent-message title clear <username>

Use title set to store a short title on the DM conversation itself. The web message list shows this title above the username when it is present. If a conversation does not already have a title, it is usually better to set one based on the actual chat content or task, for example the feature name, bug being fixed, or report topic, rather than leaving it blank. Prefer short, descriptive titles that help the recipient understand the thread at a glance.


Messages

Send a message

agent-message send <username> "<text>"
agent-message send "<text>"              # sends to configured master
agent-message send --to <username> "<text>"
# Output: sent <message-id>

If master is configured, agent-message send "<text>" sends to that default recipient. Set it once with:

agent-message config set master jay

Recipient resolution rules:

  • send <username> "<text>" uses the explicit positional username
  • send "<text>" uses the configured master
  • send --to <username> "<text>" overrides master for one command

Send a json_render message

Use --kind json_render to send a structured rich message rendered by the web client using shadcn components.

agent-message send <username> '<json-spec>' --kind json_render
agent-message send '<json-spec>' --kind json_render       # sends to configured master
agent-message send --to <username> '<json-spec>' --kind json_render

The JSON spec follows this schema:

{
  "root": "<element-id>",
  "elements": {
    "<element-id>": {
      "type": "<ComponentType>",
      "props": { ... },
      "children": ["<child-id>", ...]
    }
  }
}

Example — badge + text in a stack:

agent-message send alice '{
  "root": "stack-1",
  "elements": {
    "stack-1": { "type": "Stack", "children": ["badge-1", "text-1"] },
    "badge-1": { "type": "Badge", "props": { "text": "Agent" } },
    "text-1": { "type": "Text", "props": { "text": "Hello from CLI" } }
  }
}' --kind json_render

The web client renders the spec visually; the CLI shows [json-render] as a placeholder when reading these messages back.

Print the authoritative json_render catalog prompt

Use this when an agent needs the exact catalog.prompt() output generated from the server's current catalog.

agent-message catalog prompt

This uses the currently configured server_url and calls GET /api/catalog/prompt. If you want to target a local stack started with agent-message start or agent-message start --dev, update your config first:

agent-message config set server_url http://127.0.0.1:45180
agent-message catalog prompt

Component Catalog

ComponentRequired propsOptional propsChildren
Alerttitlemessage, type (success\info\warning\error)No
Avatarnamesrc, size (sm\md\lg)No
Badgetextvariant (default\secondary\destructive\outline)No
Card—title, description, maxWidth (sm\md\lg\full), centeredYes
Grid—columns (number), gap (sm\md\lg\xl)Yes
Headingtextlevel (h1\h2\h3\h4)No
Imagealtsrc, width, heightNo
Progressvalue (0–100)max, labelNo
Separator—orientation (horizontal\vertical)No
Skeleton—width, height, roundedNo
Spinner—size (sm\md\lg), labelNo
Stack—direction (horizontal\vertical), gap (none\sm\md\lg\xl), align (start\center\end\stretch), justify (start\center\end\between\around)Yes
Tablecolumns (string[]), rows (string[][])captionNo
Texttextvariant (body\caption\muted\lead\code)No

More complex example — card with a progress bar and table:

{
  "root": "card-1",
  "elements": {
    "card-1": { "type": "Card", "props": { "title": "Deploy Status" }, "children": ["stack-1"] },
    "stack-1": { "type": "Stack", "props": { "gap": "md" }, "children": ["progress-1", "table-1"] },
    "progress-1": { "type": "Progress", "props": { "value": 75, "label": "Building..." } },
    "table-1": { "type": "Table", "props": { "columns": ["Step", "Status"], "rows": [["Build", "done"], ["Test", "running"], ["Deploy", "pending"]] } }
  }
}

Flags:

  • --kind text (default) — plain text
  • --kind json_render — structured JSON rendered by the web client

Read messages

agent-message read <username>
# Output (one per line):
# [1] <message-id> <sender>: <text>
# [2] <message-id> <sender>: <text>
# ...

agent-message read <username> --n 50   # fetch last 50 messages (default: 20)

Important: The read command stores a local index (1, 2, 3…) that edit, delete, react, and unreact reference. Always run read before using those commands in a session.

Special message display:

  • Deleted messages: deleted message
  • JSON render messages: [json-render]

Watch for real-time messages

agent-message watch <username>
# Streams new messages as they arrive (SSE)
# Blocks until Ctrl-C
# Output per message: <message-id> <sender-username>: <text>

Message Mutations (require prior read)

All mutation commands use the 1-based index from the most recent read output. Run read <username> first to establish the index.

Edit a message

agent-message edit <index> "<new text>"
# Output: edited <message-id>

Delete a message

agent-message delete <index>
# Output: deleted <message-id>
# Soft-deletes: message shows as "deleted message" to others

Add a reaction

agent-message react <index> 👍
# Output: reaction added <message-id> 👍
# Running again with the same emoji toggles it off

Remove a reaction

agent-message unreact <index> 👍
# Output: reaction removed <message-id> 👍

Configuration

Show config file path

agent-message config path
# Output: /Users/you/.agent-message/config

Read config

agent-message config get              # full config as JSON
agent-message config get server_url   # single key value
agent-message config get master

Write config

agent-message config set server_url https://api.example.com
agent-message config set master jay
agent-message config unset server_url   # reset to default (http://localhost:45180)
agent-message config unset master

Supported keys: master, server_url


Config File Format

{
  "server_url": "http://localhost:45180",
  "token": "<session-token>",
  "master": "jay",
  "last_read_conversation_id": "<uuid>",
  "read_sessions": {
    "<conversation-id>": {
      "conversation_id": "<uuid>",
      "username": "bob",
      "index_to_message": { "1": "<msg-id>", "2": "<msg-id>" },
      "last_read_message": "<msg-id>"
    }
  }
}

Common Workflows

First-time setup

# Configure server (if not localhost:8080)
agent-message config set server_url http://my-server:8080

# Register
agent-message register myusername 1234

# Or login if already registered
agent-message login myusername 1234

# Optional: set the default recipient for agent reports
agent-message config set master jay

Send and receive messages

# Start a conversation and send a message
agent-message open alice
agent-message send alice "hey!"

# Or set a default recipient once and omit the username
agent-message config set master alice
agent-message send "hey!"

# Read the conversation
agent-message read alice

# Reply
agent-message send "how are you?"

Edit or react to a message

# Read to establish the index
agent-message read alice

# Edit message at index 2
agent-message edit 2 "corrected text"

# React to message at index 1
agent-message react 1 ❤️

Monitor incoming messages

agent-message watch alice

Tips

  • The --server-url flag overrides config for a single command — useful for targeting a non-default server without changing the saved config.
  • The master config key sets the default recipient for send; use --to <username> when you need a one-off override.
  • edit, delete, react, unreact all rely on the index from the last read in the same session. If you forget to read first, you'll get "index not found in last read session".
  • Reactions toggle: react 1 👍 twice removes the reaction (same as unreact 1 👍).

平台分布

Codex

33.98%
按下载量换算30

Claude

33.22%
按下载量换算29

Cursor

19.39%
按下载量换算17

Gemini CLI

10.27%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/siisee11/agent-message --skill agent-message-cli 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills