← 返回 Skills 市场
130
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install egatee-chat-summary
功能描述
拉取IM账号近1-7天聊天记录并生成汇总分析
使用说明 (SKILL.md)
Egatee Chat Summary Skill
该 Skill 用于:
- 调用 notify 开放接口
POST /api/notify/im/openapi/getChatHistoryByApiKey(X-API-Key鉴权)拉取绑定 IM 账号近 1~7 天聊天记录 - 输出
meta与按对端聚合的peer_summaries(含peerNick/peerAvatar等)
未配置 EGATEE_CHAT_API_KEY 时:tool.py 会报错并提示在 OpenClaw 中为该 Skill 配置该环境变量。
输入参数
day: 查询最近天数,范围 1~7,默认 1size: 每页条数,默认 100max_pages: 最大分页页数,默认 20
依赖环境变量
EGATEE_CHAT_API_KEY(必填):OpenClaw 中需在 Skill 环境变量里配置;uat_前缀走 UAT 网关,prod_等走生产网关(详见tool.py推断逻辑)。EGATEE_NOTIFY_BASE_URL(可选):显式指定网关根地址;不填则按 apiKey 前缀自动选择http://api.uat.egatee.net或https://api.egatee.com。EGATEE_FROM_ACCOUNT(可选):仅作meta.imAccount兜底显示。EGATEE_AUTH_TOKEN(可选):当前 openapi 接口不使用,保留兼容。EGATEE_DEBUG/EGATEE_REQUEST_ID(可选):调试与链路追踪。
运行
python tool.py --day 7 --timeout 60
安全使用建议
This package appears to be what it says: a small script that calls Egatee's chat-history API and summarizes results. Before installing/running: (1) confirm you are willing to give the skill access to the EGATEE_CHAT_API_KEY (it will be used to retrieve chat history); (2) if you run run.sh, be aware it will source a local .env file — don't keep unrelated secrets there; (3) EGATEE_NOTIFY_BASE_URL can point the script to a custom host, so only set that to trusted endpoints (otherwise requests go to the official Egatee domains inferred from the API key); (4) debug logs redact most of the API key but may show partial key fragments — avoid enabling debug in untrusted environments. If you want extra assurance, review the full tool.py contents (already included) and run it in an isolated environment or with a scoped/test API key first.
功能分析
Type: OpenClaw Skill
Name: egatee-chat-summary
Version: 1.0.0
The skill bundle is designed to fetch and summarize IM chat history from the Egatee platform via its official API. The implementation in `tool.py` is well-structured, follows its stated purpose, and includes security-conscious practices such as redacting API keys in debug logs. No evidence of data exfiltration to unauthorized domains, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
Name & description say: pull IM chat history (1–7 days) and summarize. The skill only requires EGATEE_CHAT_API_KEY and optionally accepts EGATEE_NOTIFY_BASE_URL / EGATEE_FROM_ACCOUNT / EGATEE_AUTH_TOKEN / debug flags, which are consistent with calling the described Egatee notify openapi.
Instruction Scope
SKILL.md and tool.py limit actions to calling the Egatee endpoint (/api/notify/im/openapi/getChatHistoryByApiKey), aggregating messages and producing summaries/Markdown. A caveat: run.sh will source a local .env if present (so running the helper will load environment variables from that file). Also the code allows EGATEE_NOTIFY_BASE_URL to be overridden — if set to an arbitrary host it will direct requests there, so treat that override as sensitive.
Install Mechanism
No install script in the registry; this is instruction + code files. requirements.txt only lists 'requests', which is appropriate and proportional. No remote downloads or extract operations are present in the package.
Credentials
Only EGATEE_CHAT_API_KEY is required (declared as primary). Optional env vars used by the script are documented and appropriate. The script does read environment variables (including optional override EGATEE_NOTIFY_BASE_URL) and will source .env if run via run.sh — users should avoid putting unrelated secrets in that .env.
Persistence & Privilege
The skill does not request persistent/always-on inclusion (always:false) and does not modify other skills or system-wide settings. It runs as a normal user-invokable tool.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install egatee-chat-summary - 安装完成后,直接呼叫该 Skill 的名称或使用
/egatee-chat-summary触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of egatee-chat-summary.
- Pulls recent 1–7 day IM chat history using the notify open API.
- Authenticates with EGATEE_CHAT_API_KEY; returns error if unset.
- Outputs meta info and grouped peer_summaries (with peerNick, peerAvatar, etc.).
- Supports configurable query days (1–7), page size, and max pages.
- Allows environment variable customization for API key, base URL, and display preferences.
元数据
常见问题
Egatee Chat Summary 是什么?
拉取IM账号近1-7天聊天记录并生成汇总分析. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 130 次。
如何安装 Egatee Chat Summary?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install egatee-chat-summary」即可一键安装,无需额外配置。
Egatee Chat Summary 是免费的吗?
是的,Egatee Chat Summary 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Egatee Chat Summary 支持哪些平台?
Egatee Chat Summary 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Egatee Chat Summary?
由 ahoyoshi(@ahoyoshi)开发并维护,当前版本 v1.0.0。
推荐 Skills