jiuwu-message
调用久吾消息网关HTTP接口给企业内部联系人发送消息。使用场景:(1) 需要向企业内部同事发送通知或提醒时,(2) 调用时传入接收人工号(code)、消息内容(text)和标题(title)
About this skill
The `jiuwu-message` skill provides a modular capability for AI agents to interact with the Jiuwu Message Gateway, facilitating automated internal communication within an enterprise. It leverages an HTTP POST interface to dispatch messages, requiring the recipient's employee ID(s), the message content, and an optional message title. This skill is particularly valuable for integrating automated notifications seamlessly into various internal workflows and systems. Users can integrate this skill either by directly invoking a provided Python script with command-line arguments or by importing and calling a Python function within their existing codebases. The skill abstractly handles the underlying HTTP request and JSON payload construction, ensuring messages are accurately delivered to the specified internal contacts through the configured gateway. The primary purpose is to empower AI agents to facilitate efficient and automated communication for operational alerts, task assignments, important announcements, or any scenario demanding a swift notification to specific personnel within the company's organizational structure.
Best use case
The primary use case for this skill is automating internal corporate communications, such as sending targeted notifications, reminders, or alerts to employees. Companies utilizing the Jiuwu Message Gateway for internal messaging can integrate this skill into their AI-driven workflows to streamline operational alerts, project updates, or urgent announcements based on events or data. It particularly benefits internal IT departments, project managers, and anyone needing to programmatically trigger messages to specific personnel.
调用久吾消息网关HTTP接口给企业内部联系人发送消息。使用场景:(1) 需要向企业内部同事发送通知或提醒时,(2) 调用时传入接收人工号(code)、消息内容(text)和标题(title)
A message will be successfully sent to the specified internal contact(s) via the Jiuwu Message Gateway, with an explicit confirmation of success or failure returned to the calling agent.
Practical example
Example input
Send an urgent notification to employees 1112 and 1113. The message content should be 'Server maintenance scheduled for tonight at 10 PM. Please save all work.' and the title 'Urgent: Server Maintenance'.
Example output
```json
{
"success": true,
"data": true,
"message": "请求成功"
}
```When to use this skill
- To send automated notifications or reminders to specific internal employees.
- When integrating message sending into an AI agent's workflow for operational alerts or task management.
- When the target recipient's identifier is an employee ID (工号) within an enterprise system.
- To programmatically send messages via an existing Jiuwu Message Gateway infrastructure.
When not to use this skill
- For external communication or public messaging platforms.
- If your organization does not utilize the Jiuwu Message Gateway.
- When real-time, interactive chat functionality is required instead of one-way notifications.
- For sending highly sensitive or confidential information that requires end-to-end encryption beyond the gateway's capabilities.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/jiuwu-message/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How jiuwu-message Compares
| Feature / Agent | jiuwu-message | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | easy | N/A |
Frequently Asked Questions
What does this skill do?
调用久吾消息网关HTTP接口给企业内部联系人发送消息。使用场景:(1) 需要向企业内部同事发送通知或提醒时,(2) 调用时传入接收人工号(code)、消息内容(text)和标题(title)
How difficult is it to install?
The installation complexity is rated as easy. You can find the installation instructions above.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
ChatGPT vs Claude for Agent Skills
Compare ChatGPT and Claude for AI agent skills across coding, writing, research, and reusable workflow execution.
SKILL.md Source
# 久吾消息网关
调用久吾消息网关HTTP接口发送消息。
## 环境配置
消息网关服务器地址从环境变量 `JIUWU_MESSAGE_GATEWAY_URL` 读取,默认为 `http://192.168.1.213:5000`。
如需自定义,请配置环境变量,优先使用workspace/.env,其次使用OpenClaw根目录的.env
## 使用方式
### 直接调用
使用 `scripts/send_message.py` 脚本发送消息:
```bash
python scripts/send_message.py --code "1112" --text "测试消息" --title "测试标题"
```
参数说明:
- `--code` 或 `-c`: 接收人工号,多个工号用英文逗号分隔(必填)
- `--text` 或 `-t`: 消息内容(必填)
- `--title` 或 `-tt`: 消息标题(可选)
### 在代码中调用
```python
from scripts.send_message import send_message
result = send_message(
code="1112,1113", # 多个工号用英文逗号分隔
text="消息内容",
title="消息标题" # 可选
)
if result["success"]:
print("发送成功")
else:
print(f"发送失败: {result['message']}")
```
## 接口规范
- **URL**: `{JIUWU_MESSAGE_GATEWAY_URL}/api/MessageGateway/SendMessagePost`
- **方法**: POST
- **Headers**:
- `accept: text/plain`
- `Content-Type: application/json-patch+json`
- **请求体**:
```json
{
"code": "工号,多个用英文逗号分隔",
"text": "消息内容",
"title": "消息标题(可选)"
}
```
- **成功响应**:
```json
{
"success": true,
"data": true,
"message": "请求成功"
}
```
- **失败响应**:
```json
{
"success": false,
"data": null,
"message": "错误信息"
}
```Related Skills
jiuwu-agent
调用久吾智能体API进行文本或文件分析处理。支持两种调用方式:(1) 文本内容分析 - 传入name(智能体名称)、docno(文档编号)、content(文本内容);(2) 文件分析 - 传入name、docno和files(文件列表)进行智能评审。适用于合同评审、需求评审、文档审查等场景。当用户要求评审合同、分析条款、审查文档、需求评审、合同条款分析、或需要对文本和文件进行AI智能分析时触发。
agent-autonomy-kit
Stop waiting for prompts. Keep working.
Meeting Prep
Never walk into a meeting unprepared again. Your agent researches all attendees before calendar events—pulling LinkedIn profiles, recent company news, mutual connections, and conversation starters. Generates a briefing doc with talking points, icebreakers, and context so you show up informed and confident. Triggered automatically before meetings or on-demand. Configure research depth, advance timing, and output format. Walking into meetings blind is amateur hour—missed connections, generic small talk, zero leverage. Use when setting up meeting intelligence, researching specific attendees, generating pre-meeting briefs, or automating your prep workflow.
obsidian
Work with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli. And also 50+ models for image generation, video generation, text-to-speech, speech-to-text, music, chat, web search, document parsing, email, and SMS.
Obsidian CLI 探索记录
Skill for the official Obsidian CLI (v1.12+). Complete vault automation including files, daily notes, search, tasks, tags, properties, links, bookmarks, bases, templates, themes, plugins, sync, publish, workspaces, and developer tools.
📝 智能摘要助手 (Smart Summarizer)
Instantly summarize any content — articles, PDFs, YouTube videos, web pages, long documents, or pasted text. Extracts key points, action items, and insights. Use when you need to quickly digest long content, create meeting notes, or extract takeaways from any source.
Customer Onboarding
Systematically onboard new clients with checklists, welcome sequences, milestone tracking, and success metrics. Reduce churn by nailing the first 90 days.
CRM Manager
Manages a local CSV-based CRM with pipeline tracking
Invoice Generator
Creates professional invoices in markdown and HTML
Productivity Operating System
You are a personal productivity architect. Your job: help the user design, execute, and optimize their daily system so they consistently ship high-impact work while protecting energy and avoiding burnout.
Product Launch Playbook
You are a Product Launch Strategist. You guide users through planning, executing, and optimizing product launches — from pre-launch validation through post-launch growth. This system works for SaaS, physical products, services, marketplaces, and content products.
Procurement Manager
You are a procurement specialist agent. Help teams evaluate vendors, manage purchase orders, negotiate contracts, and optimize spend.