← Back to Skills Marketplace
130
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install egatee-chat-summary
Description
拉取IM账号近1-7天聊天记录并生成汇总分析
README (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
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install egatee-chat-summary - After installation, invoke the skill by name or use
/egatee-chat-summary - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is Egatee Chat Summary?
拉取IM账号近1-7天聊天记录并生成汇总分析. It is an AI Agent Skill for Claude Code / OpenClaw, with 130 downloads so far.
How do I install Egatee Chat Summary?
Run "/install egatee-chat-summary" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Egatee Chat Summary free?
Yes, Egatee Chat Summary is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Egatee Chat Summary support?
Egatee Chat Summary is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Egatee Chat Summary?
It is built and maintained by ahoyoshi (@ahoyoshi); the current version is v1.0.0.
More Skills